#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | QpegContext |
Functions | |
static void | 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, const uint8_t *buf, int buf_size) |
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 | qpeg_decoder |
Definition in file qpeg.c.
static av_cold int decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) | [static] |
static av_cold int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
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] |
static void qpeg_decode_intra | ( | const uint8_t * | src, | |
uint8_t * | dst, | |||
int | size, | |||
int | stride, | |||
int | width, | |||
int | height | |||
) | [static] |
Initial value:
{ "qpeg", CODEC_TYPE_VIDEO, CODEC_ID_QPEG, sizeof(QpegContext), decode_init, NULL, decode_end, decode_frame, CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"), }
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 111 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 113 of file qpeg.c.
Referenced by qpeg_decode_inter().