FFmpeg
|
Indeo Video Interactive version 4 decoder. More...
#include "avcodec.h"
#include "get_bits.h"
#include "libavutil/imgutils.h"
#include "indeo4data.h"
#include "internal.h"
#include "ivi.h"
#include "ivi_dsp.h"
Go to the source code of this file.
Macros | |
#define | BITSTREAM_READER_LE |
#define | IVI4_PIC_SIZE_ESC 7 |
Functions | |
static int | decode_plane_subdivision (GetBitContext *gb) |
Decode subdivision of a plane. More... | |
static int | scale_tile_size (int def_size, int size_factor) |
static int | decode_pic_hdr (IVI45DecContext *ctx, AVCodecContext *avctx) |
Decode Indeo 4 picture header. More... | |
static int | decode_band_hdr (IVI45DecContext *ctx, IVIBandDesc *arg_band, AVCodecContext *avctx) |
Decode Indeo 4 band header. More... | |
static int | decode_mb_info (IVI45DecContext *ctx, IVIBandDesc *band, IVITile *tile, AVCodecContext *avctx) |
Decode information (block type, cbp, quant delta, motion vector) for all macroblocks in the current tile. More... | |
static void | switch_buffers (IVI45DecContext *ctx) |
Rearrange decoding and reference buffers. More... | |
static int | is_nonnull_frame (IVI45DecContext *ctx) |
static av_cold int | decode_init (AVCodecContext *avctx) |
Variables | |
struct { | |
InvTransformPtr * inv_trans | |
DCTransformPtr * dc_trans | |
int is_2d_trans | |
} | transforms [18] |
AVCodec | ff_indeo4_decoder |
Indeo Video Interactive version 4 decoder.
Indeo 4 data is usually transported within .avi or .mov files. Known FOURCCs: 'IV41'
Definition in file indeo4.c.
#define IVI4_PIC_SIZE_ESC 7 |
Definition at line 39 of file indeo4.c.
Referenced by decode_pic_hdr().
|
static |
Decode subdivision of a plane.
This is a simplified version that checks for two supported subdivisions:
[in,out] | gb | the GetBit context |
Definition at line 77 of file indeo4.c.
Referenced by decode_pic_hdr().
Definition at line 94 of file indeo4.c.
Referenced by decode_pic_hdr().
|
static |
Decode Indeo 4 picture header.
[in,out] | ctx | pointer to the decoder context |
[in] | avctx | pointer to the AVCodecContext |
Definition at line 106 of file indeo4.c.
Referenced by decode_init().
|
static |
Decode Indeo 4 band header.
[in,out] | ctx | pointer to the decoder context |
[in,out] | band | pointer to the band descriptor |
[in] | avctx | pointer to the AVCodecContext |
Definition at line 271 of file indeo4.c.
Referenced by decode_init().
|
static |
Decode information (block type, cbp, quant delta, motion vector) for all macroblocks in the current tile.
[in,out] | ctx | pointer to the decoder context |
[in,out] | band | pointer to the band descriptor |
[in,out] | tile | pointer to the tile descriptor |
[in] | avctx | pointer to the AVCodecContext |
Definition at line 469 of file indeo4.c.
Referenced by decode_init().
|
static |
Rearrange decoding and reference buffers.
[in,out] | ctx | pointer to the decoder context |
Definition at line 635 of file indeo4.c.
Referenced by decode_init().
|
static |
Definition at line 664 of file indeo4.c.
Referenced by decode_init().
|
static |
InvTransformPtr* inv_trans |
Definition at line 43 of file indeo4.c.
Referenced by decode_band_hdr().
DCTransformPtr* dc_trans |
const { ... } transforms[18] |
Referenced by decode_band_hdr().
AVCodec ff_indeo4_decoder |