FFmpeg
|
qpeg.c File Reference
QPEG codec. More...
Include dependency graph for qpeg.c:
Go to the source code of this file.
Data Structures | |
struct | QpegContext |
Typedefs | |
typedef struct QpegContext | QpegContext |
Functions | |
static void | qpeg_decode_intra (QpegContext *qctx, uint8_t *dst, int stride, int width, int height) |
static void | qpeg_decode_inter (QpegContext *qctx, uint8_t *dst, int stride, int width, int height, int delta, const uint8_t *ctable, uint8_t *refdata) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static void | decode_flush (AVCodecContext *avctx) |
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.
Typedef Documentation
typedef struct QpegContext QpegContext |
Function Documentation
|
static |
|
static |
Definition at line 303 of file qpeg.c.
Referenced by decode_init().
|
static |
|
static |
|
static |
Definition at line 113 of file qpeg.c.
Referenced by decode_frame().
|
static |
Definition at line 38 of file qpeg.c.
Referenced by decode_frame().
Variable Documentation
AVCodec ff_qpeg_decoder |
Initial value:
= {
.name = "qpeg",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_QPEG,
.priv_data_size = sizeof(QpegContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.flush = decode_flush,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Q-team QPEG"),
}
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
struct QpegContext QpegContext
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: qpeg.c:252
Definition: libavcodec/avcodec.h:163
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
|
static |
Initial value:
=
{ 0x00, 0x20, 0x20, 0x20, 0x18, 0x10, 0x10, 0x20, 0x10, 0x08, 0x18, 0x08, 0x08, 0x18, 0x10, 0x04}
Definition at line 107 of file qpeg.c.
Referenced by qpeg_decode_inter().
|
static |
Initial value:
=
{ 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04}
Definition at line 109 of file qpeg.c.
Referenced by qpeg_decode_inter().
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11