FFmpeg
|
indeo2.c File Reference
Intel Indeo 2 decoder. More...
#include "libavutil/attributes.h"
#include "avcodec.h"
#include "get_bits.h"
#include "indeo2data.h"
#include "internal.h"
#include "mathops.h"
Include dependency graph for indeo2.c:
Go to the source code of this file.
Data Structures | |
struct | Ir2Context |
Macros | |
#define | BITSTREAM_READER_LE |
#define | CODE_VLC_BITS 14 |
Typedefs | |
typedef struct Ir2Context | Ir2Context |
Functions | |
static int | ir2_get_code (GetBitContext *gb) |
static int | ir2_decode_plane (Ir2Context *ctx, int width, int height, uint8_t *dst, int stride, const uint8_t *table) |
static int | ir2_decode_plane_inter (Ir2Context *ctx, int width, int height, uint8_t *dst, int stride, const uint8_t *table) |
static int | ir2_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | ir2_decode_init (AVCodecContext *avctx) |
static av_cold int | ir2_decode_end (AVCodecContext *avctx) |
Variables | |
static VLC | ir2_vlc |
AVCodec | ff_indeo2_decoder |
Detailed Description
Intel Indeo 2 decoder.
Definition in file indeo2.c.
Macro Definition Documentation
#define CODE_VLC_BITS 14 |
Definition at line 42 of file indeo2.c.
Referenced by ir2_decode_init(), and ir2_get_code().
Typedef Documentation
typedef struct Ir2Context Ir2Context |
Function Documentation
|
static |
|
static |
|
static |
|
static |
Definition at line 51 of file indeo2.c.
Referenced by ir2_decode_frame().
|
static |
Definition at line 107 of file indeo2.c.
Referenced by ir2_decode_frame().
|
inlinestatic |
Definition at line 46 of file indeo2.c.
Referenced by ir2_decode_plane(), and ir2_decode_plane_inter().
Variable Documentation
AVCodec ff_indeo2_decoder |
Initial value:
= {
.name = "indeo2",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_INDEO2,
.priv_data_size = sizeof(Ir2Context),
.init = ir2_decode_init,
.close = ir2_decode_end,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"),
}
#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 Ir2Context Ir2Context
Definition: libavcodec/avcodec.h:178
static int ir2_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: indeo2.c:141
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Generated on Fri Dec 20 2024 06:56:13 for FFmpeg by 1.8.11