FFmpeg
4.0
|
Indeo Video Interactive version 5 decoder. More...
#include "avcodec.h"
#include "get_bits.h"
#include "ivi.h"
#include "ivi_dsp.h"
#include "indeo5data.h"
Go to the source code of this file.
Macros | |
#define | BITSTREAM_READER_LE |
#define | IVI5_PIC_SIZE_ESC 15 |
Enumerations | |
enum | { FRAMETYPE_INTRA = 0, FRAMETYPE_INTER = 1, FRAMETYPE_INTER_SCAL = 2, FRAMETYPE_INTER_NOREF = 3, FRAMETYPE_NULL = 4 } |
Indeo5 frame types. More... | |
Functions | |
static int | decode_gop_header (IVI45DecContext *ctx, AVCodecContext *avctx) |
Decode Indeo5 GOP (Group of pictures) header. More... | |
static int | skip_hdr_extension (GetBitContext *gb) |
Skip a header extension. More... | |
static int | decode_pic_hdr (IVI45DecContext *ctx, AVCodecContext *avctx) |
Decode Indeo5 picture header. More... | |
static int | decode_band_hdr (IVI45DecContext *ctx, IVIBandDesc *band, AVCodecContext *avctx) |
Decode Indeo5 band header. More... | |
static int | decode_mb_info (IVI45DecContext *ctx, IVIBandDesc *band, IVITile *tile, AVCodecContext *avctx) |
Decode info (block type, cbp, quant delta, motion vector) for all macroblocks in the current tile. More... | |
static void | switch_buffers (IVI45DecContext *ctx) |
Switch buffers. More... | |
static int | is_nonnull_frame (IVI45DecContext *ctx) |
static av_cold int | decode_init (AVCodecContext *avctx) |
Initialize Indeo5 decoder. More... | |
Variables | |
AVCodec | ff_indeo5_decoder |
Indeo Video Interactive version 5 decoder.
Indeo5 data is usually transported within .avi or .mov files. Known FOURCCs: 'IV50'
Definition in file indeo5.c.
#define IVI5_PIC_SIZE_ESC 15 |
Definition at line 48 of file indeo5.c.
Referenced by decode_gop_header().
anonymous enum |
|
static |
Decode Indeo5 GOP (Group of pictures) header.
This header is present in key frames only. It defines parameters for all frames in a GOP.
[in,out] | ctx | ptr to the decoder context |
[in] | avctx | ptr to the AVCodecContext |
Definition at line 59 of file indeo5.c.
Referenced by decode_pic_hdr().
|
inlinestatic |
Skip a header extension.
[in,out] | gb | the GetBit context |
Definition at line 292 of file indeo5.c.
Referenced by decode_band_hdr(), and decode_pic_hdr().
|
static |
Decode Indeo5 picture header.
[in,out] | ctx | ptr to the decoder context |
[in] | avctx | ptr to the AVCodecContext |
Definition at line 314 of file indeo5.c.
Referenced by decode_init().
|
static |
Decode Indeo5 band header.
[in,out] | ctx | ptr to the decoder context |
[in,out] | band | ptr to the band descriptor |
[in] | avctx | ptr to the AVCodecContext |
Definition at line 382 of file indeo5.c.
Referenced by decode_init().
|
static |
Decode info (block type, cbp, quant delta, motion vector) for all macroblocks in the current tile.
[in,out] | ctx | ptr to the decoder context |
[in,out] | band | ptr to the band descriptor |
[in,out] | tile | ptr to the tile descriptor |
[in] | avctx | ptr to the AVCodecContext |
Definition at line 454 of file indeo5.c.
Referenced by decode_init().
|
static |
Switch buffers.
[in,out] | ctx | ptr to the decoder context |
Definition at line 593 of file indeo5.c.
Referenced by decode_init().
|
static |
Definition at line 631 of file indeo5.c.
Referenced by decode_init().
|
static |
AVCodec ff_indeo5_decoder |