zmbvenc.c File Reference


Detailed Description

Zip Motion Blocks Video encoder.

Definition in file zmbvenc.c.

Go to the source code of this file.

Classes

struct  ZmbvEncContext
 Encoder context. More...

Functions

static int block_cmp (uint8_t *src, int stride, uint8_t *src2, int stride2, int bw, int bh)
 Block comparing function XXX should be optimized and moved to DSPContext TODO handle out of edge ME.
static int zmbv_me (ZmbvEncContext *c, uint8_t *src, int sstride, uint8_t *prev, int pstride, int x, int y, int *mx, int *my)
 Motion estimation function TODO make better ME decisions.
static int encode_frame (AVCodecContext *avctx, uint8_t *buf, int buf_size, void *data)
static int encode_init (AVCodecContext *avctx)
 Init zmbv encoder.
static int encode_end (AVCodecContext *avctx)
 Uninit zmbv encoder.

Variables

AVCodec zmbv_encoder


Function Documentation

static int block_cmp ( uint8_t *  src,
int  stride,
uint8_t *  src2,
int  stride2,
int  bw,
int  bh 
) [inline, static]

Block comparing function XXX should be optimized and moved to DSPContext TODO handle out of edge ME.

Definition at line 61 of file zmbvenc.c.

Referenced by zmbv_me().

static int zmbv_me ( ZmbvEncContext c,
uint8_t *  src,
int  sstride,
uint8_t *  prev,
int  pstride,
int  x,
int  y,
int *  mx,
int *  my 
) [static]

Motion estimation function TODO make better ME decisions.

Definition at line 78 of file zmbvenc.c.

Referenced by encode_frame().

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

Definition at line 105 of file zmbvenc.c.

static int encode_init ( AVCodecContext avctx  )  [static]

Init zmbv encoder.

Definition at line 234 of file zmbvenc.c.

static int encode_end ( AVCodecContext avctx  )  [static]

Uninit zmbv encoder.

Definition at line 300 of file zmbvenc.c.


Variable Documentation

Initial value:

Definition at line 313 of file zmbvenc.c.


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5