FFmpeg
|
escape130.c File Reference
Include dependency graph for escape130.c:
Go to the source code of this file.
Data Structures | |
struct | Escape130Context |
Macros | |
#define | BITSTREAM_READER_LE |
Typedefs | |
typedef struct Escape130Context | Escape130Context |
Functions | |
static av_cold int | escape130_decode_init (AVCodecContext *avctx) |
Initialize the decoder. More... | |
static av_cold int | escape130_decode_close (AVCodecContext *avctx) |
static unsigned | decode_skip_count (GetBitContext *gb) |
static int | escape130_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Decode a single frame. More... | |
Variables | |
AVCodec | ff_escape130_decoder |
Macro Definition Documentation
#define BITSTREAM_READER_LE |
Definition at line 24 of file escape130.c.
Typedef Documentation
typedef struct Escape130Context Escape130Context |
Function Documentation
|
static |
Definition at line 66 of file escape130.c.
Referenced by escape130_decode_frame().
|
static |
Definition at line 55 of file escape130.c.
|
static |
Decode a single frame.
- Parameters
-
avctx decoder context data decoded frame got_frame have decoded frame buf input buffer buf_size input buffer size
- Returns
- 0 success, -1 on error
Definition at line 101 of file escape130.c.
|
static |
Initialize the decoder.
- Parameters
-
avctx decoder context
- Returns
- 0 success, negative on error
Definition at line 39 of file escape130.c.
Variable Documentation
AVCodec ff_escape130_decoder |
Initial value:
= {
.name = "escape130",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_ESCAPE130,
.priv_data_size = sizeof(Escape130Context),
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Escape 130"),
}
static av_cold int escape130_decode_close(AVCodecContext *avctx)
Definition: escape130.c:55
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
Definition: libavcodec/avcodec.h:274
static int escape130_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Decode a single frame.
Definition: escape130.c:101
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
struct Escape130Context Escape130Context
static av_cold int escape130_decode_init(AVCodecContext *avctx)
Initialize the decoder.
Definition: escape130.c:39
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition at line 309 of file escape130.c.
Generated on Fri Dec 20 2024 06:56:12 for FFmpeg by 1.8.11