libavcodec/qpeg.c File Reference

QPEG codec. More...

#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  QpegContext

Functions

static int qpeg_decode_intra (const uint8_t *src, uint8_t *dst, int size, int stride, int width, int height)
static void qpeg_decode_inter (const uint8_t *src, uint8_t *dst, int size, int stride, int width, int height, int delta, const uint8_t *ctable, uint8_t *refdata)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int decode_init (AVCodecContext *avctx)
static av_cold int decode_end (AVCodecContext *avctx)

Variables

static const int qpeg_table_h [16]
static const int qpeg_table_w [16]
AVCodec ff_qpeg_decoder


Detailed Description

QPEG codec.

Definition in file qpeg.c.


Function Documentation

static av_cold int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 316 of file qpeg.c.

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 259 of file qpeg.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 305 of file qpeg.c.

static void qpeg_decode_inter ( const uint8_t *  src,
uint8_t *  dst,
int  size,
int  stride,
int  width,
int  height,
int  delta,
const uint8_t *  ctable,
uint8_t *  refdata 
) [static]

Definition at line 120 of file qpeg.c.

Referenced by decode_frame().

static int qpeg_decode_intra ( const uint8_t *  src,
uint8_t *  dst,
int  size,
int  stride,
int  width,
int  height 
) [static]

Definition at line 35 of file qpeg.c.

Referenced by decode_frame().


Variable Documentation

Initial value:

 {
    .name           = "qpeg",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_QPEG,
    .priv_data_size = sizeof(QpegContext),
    .init           = decode_init,
    .close          = decode_end,
    .decode         = decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"),
}

Definition at line 329 of file qpeg.c.

const int qpeg_table_h[16] [static]

Initial value:

 { 0x00, 0x20, 0x20, 0x20, 0x18, 0x10, 0x10, 0x20, 0x10, 0x08, 0x18, 0x08, 0x08, 0x18, 0x10, 0x04}

Definition at line 114 of file qpeg.c.

Referenced by qpeg_decode_inter().

const int qpeg_table_w[16] [static]

Initial value:

 { 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04}

Definition at line 116 of file qpeg.c.

Referenced by qpeg_decode_inter().


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