FFmpeg
|
libavcodec/avs.c File Reference
Include dependency graph for libavcodec/avs.c:
Go to the source code of this file.
Data Structures | |
struct | AvsContext |
Enumerations | |
enum | AvsBlockType { AVS_VIDEO = 0x01, AVS_AUDIO = 0x02, AVS_PALETTE = 0x03, AVS_GAME_DATA = 0x04 } |
enum | AvsVideoSubType { AVS_I_FRAME = 0x00, AVS_P_FRAME_3X3 = 0x01, AVS_P_FRAME_2X2 = 0x02, AVS_P_FRAME_2X3 = 0x03 } |
Functions | |
static int | avs_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | avs_decode_init (AVCodecContext *avctx) |
static av_cold int | avs_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_avs_decoder |
Enumeration Type Documentation
enum AvsBlockType |
Enumerator | |
---|---|
AVS_VIDEO | |
AVS_AUDIO | |
AVS_PALETTE | |
AVS_GAME_DATA |
Definition at line 31 of file libavcodec/avs.c.
enum AvsVideoSubType |
Enumerator | |
---|---|
AVS_I_FRAME | |
AVS_P_FRAME_3X3 | |
AVS_P_FRAME_2X2 | |
AVS_P_FRAME_2X3 |
Definition at line 38 of file libavcodec/avs.c.
Function Documentation
|
static |
Definition at line 168 of file libavcodec/avs.c.
|
static |
Definition at line 47 of file libavcodec/avs.c.
|
static |
Definition at line 159 of file libavcodec/avs.c.
Variable Documentation
AVCodec ff_avs_decoder |
Initial value:
= {
.name = "avs",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_AVS,
.priv_data_size = sizeof(AvsContext),
.init = avs_decode_init,
.close = avs_decode_end,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("AVS (Audio Video Standard) video"),
}
static int avs_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: libavcodec/avs.c:47
#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
Definition: libavcodec/avs.c:27
Definition: libavcodec/avcodec.h:185
static av_cold int avs_decode_init(AVCodecContext *avctx)
Definition: libavcodec/avs.c:159
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
static av_cold int avs_decode_end(AVCodecContext *avctx)
Definition: libavcodec/avs.c:168
Definition at line 176 of file libavcodec/avs.c.
Generated on Mon Nov 18 2024 06:52:05 for FFmpeg by 1.8.11