libavcodec/flashsvenc.c File Reference

Flash Screen Video encoder. More...

#include <stdio.h>
#include <stdlib.h>
#include <zlib.h>
#include "avcodec.h"
#include "bitstream.h"
#include "bytestream.h"

Go to the source code of this file.

Data Structures

struct  FlashSVContext


static int copy_region_enc (uint8_t *sptr, uint8_t *dptr, int dx, int dy, int h, int w, int stride, uint8_t *pfptr)
static av_cold int flashsv_encode_init (AVCodecContext *avctx)
static int encode_bitstream (FlashSVContext *s, AVFrame *p, uint8_t *buf, int buf_size, int block_width, int block_height, uint8_t *previous_frame, int *I_frame)
static int flashsv_encode_frame (AVCodecContext *avctx, uint8_t *buf, int buf_size, void *data)
static av_cold int flashsv_encode_end (AVCodecContext *avctx)


AVCodec flashsv_encoder

Detailed Description

Flash Screen Video encoder.

Alex Beregszaszi

Benjamin Larsson

Definition in file flashsvenc.c.

Function Documentation

static int copy_region_enc ( uint8_t *  sptr,
uint8_t *  dptr,
int  dx,
int  dy,
int  h,
int  w,
int  stride,
uint8_t *  pfptr 
) [static]

Definition at line 79 of file flashsvenc.c.

Referenced by encode_bitstream().

static int encode_bitstream ( FlashSVContext s,
AVFrame p,
uint8_t *  buf,
int  buf_size,
int  block_width,
int  block_height,
uint8_t *  previous_frame,
int *  I_frame 
) [static]

Definition at line 135 of file flashsvenc.c.

Referenced by flashsv_encode_frame().

static av_cold int flashsv_encode_end ( AVCodecContext avctx  )  [static]

Definition at line 274 of file flashsvenc.c.

static int flashsv_encode_frame ( AVCodecContext avctx,
uint8_t *  buf,
int  buf_size,
void *  data 
) [static]

Definition at line 207 of file flashsvenc.c.

static av_cold int flashsv_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 100 of file flashsvenc.c.

Variable Documentation

Initial value:

Definition at line 287 of file flashsvenc.c.

Generated on Fri Oct 26 02:35:43 2012 for FFmpeg by  doxygen 1.5.8