flashsv.c File Reference


Detailed Description

Flash Screen Video decoder.

Author:
Alex Beregszaszi

Benjamin Larsson

Definition in file flashsv.c.

Go to the source code of this file.

Classes

struct  FlashSVContext

Functions

static void copy_region (uint8_t *sptr, uint8_t *dptr, int dx, int dy, int h, int w, int stride)
static int flashsv_decode_init (AVCodecContext *avctx)
static int flashsv_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
static int flashsv_decode_end (AVCodecContext *avctx)

Variables

AVCodec flashsv_decoder


Function Documentation

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

Definition at line 69 of file flashsv.c.

Referenced by flashsv_decode_frame().

static int flashsv_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 82 of file flashsv.c.

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

Definition at line 103 of file flashsv.c.

static int flashsv_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 231 of file flashsv.c.


Variable Documentation

Initial value:

 {
    "flashsv",
    CODEC_TYPE_VIDEO,
    CODEC_ID_FLASHSV,
    sizeof(FlashSVContext),
    flashsv_decode_init,
    NULL,
    flashsv_decode_end,
    flashsv_decode_frame,
    CODEC_CAP_DR1,
    .pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, -1},
}

Definition at line 247 of file flashsv.c.


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