#include "avcodec.h"#include "bitstream.h"#include "indeo2data.h"

Go to the source code of this file.
Data Structures | |
| struct | Ir2Context |
Defines | |
| #define | ALT_BITSTREAM_READER_LE |
| #define | CODE_VLC_BITS 14 |
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 *data_size, uint8_t *buf, int buf_size) |
| static int | ir2_decode_init (AVCodecContext *avctx) |
Variables | |
| static VLC | ir2_vlc |
| AVCodec | indeo2_decoder |
Definition in file indeo2.c.
| #define ALT_BITSTREAM_READER_LE |
| #define CODE_VLC_BITS 14 |
Definition at line 37 of file indeo2.c.
Referenced by decode_init(), ir2_decode_init(), ir2_get_code(), and wnv1_get_code().
| static int ir2_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
Definition at line 136 of file indeo2.c.
References av_log(), AV_LOG_ERROR, Ir2Context::avctx, Ir2Context::decode_delta, FF_BUFFER_HINTS_PRESERVE, FF_BUFFER_HINTS_REUSABLE, FF_BUFFER_HINTS_VALID, ff_reverse, Ir2Context::gb, AVCodecContext::height, init_get_bits(), ir2_decode_plane(), ir2_decode_plane_inter(), ir2_luma_table, Ir2Context::picture, picture, AVCodecContext::priv_data, AVCodecContext::reget_buffer, AVCodecContext::release_buffer, s, and AVCodecContext::width.

| static int ir2_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 191 of file indeo2.c.
References ALT_BITSTREAM_READER_LE, Ir2Context::avctx, CODE_VLC_BITS, init_vlc(), INIT_VLC_LE, INIT_VLC_USE_STATIC, ir2_codes, IR2_CODES, AVCodecContext::pix_fmt, PIX_FMT_YUV410P, AVCodecContext::priv_data, and VLC::table.

| static int ir2_decode_plane | ( | Ir2Context * | ctx, | |
| int | width, | |||
| int | height, | |||
| uint8_t * | dst, | |||
| int | stride, | |||
| const uint8_t * | table | |||
| ) | [static] |
Definition at line 46 of file indeo2.c.
References c, Ir2Context::gb, ir2_get_code(), and t.
Referenced by ir2_decode_frame().

| static int ir2_decode_plane_inter | ( | Ir2Context * | ctx, | |
| int | width, | |||
| int | height, | |||
| uint8_t * | dst, | |||
| int | stride, | |||
| const uint8_t * | table | |||
| ) | [static] |
Definition at line 102 of file indeo2.c.
References c, Ir2Context::gb, ir2_get_code(), and t.
Referenced by ir2_decode_frame().

| static int ir2_get_code | ( | GetBitContext * | gb | ) | [inline, static] |
Definition at line 41 of file indeo2.c.
References CODE_VLC_BITS, get_vlc2(), and VLC::table.
Referenced by ir2_decode_plane(), and ir2_decode_plane_inter().

Initial value:
{
"indeo2",
CODEC_TYPE_VIDEO,
CODEC_ID_INDEO2,
sizeof(Ir2Context),
ir2_decode_init,
NULL,
NULL,
ir2_decode_frame,
CODEC_CAP_DR1,
}
Definition at line 210 of file indeo2.c.
Referenced by avcodec_register_all().
1.5.5