FFmpeg
|
#include <stddef.h>
#include <string.h>
#include "libavutil/mem.h"
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bswapdsp.h"
#include "codec_internal.h"
#include "decode.h"
#include "copy_block.h"
#include "get_bits.h"
#include "idctdsp.h"
Go to the source code of this file.
Data Structures | |
struct | IMM4Context |
Macros | |
#define | CBPLO_VLC_BITS 6 |
#define | CBPHI_VLC_BITS 6 |
#define | BLKTYPE_VLC_BITS 9 |
#define | BLOCK_VLC_BITS 12 |
Functions | |
static int | get_cbphi (GetBitContext *gb, int x) |
static int | decode_block (AVCodecContext *avctx, GetBitContext *gb, int block, int factor, int flag, int offset, int flag2) |
static int | decode_blocks (AVCodecContext *avctx, GetBitContext *gb, unsigned cbp, int flag, int offset, unsigned flag2) |
static int | decode_intra (AVCodecContext *avctx, GetBitContext *gb, AVFrame *frame) |
static int | decode_inter (AVCodecContext *avctx, GetBitContext *gb, AVFrame *frame, AVFrame *prev) |
static int | decode_frame (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt) |
static av_cold void | imm4_init_static_data (void) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static void | decode_flush (AVCodecContext *avctx) |
static av_cold int | decode_close (AVCodecContext *avctx) |
Variables | |
static const uint8_t | intra_cb [] |
static const uint8_t | inter_cb [] |
static const uint8_t | cbplo [][2] |
static const uint8_t | cbphi_bits [] |
static const uint8_t | cbphi_codes [] |
static const uint8_t | blktype [][2] |
static const uint16_t | block_symbols [] |
static const uint8_t | block_bits [] |
static VLCElem | cbplo_tab [1<< CBPLO_VLC_BITS] |
static VLCElem | cbphi_tab [1<< CBPHI_VLC_BITS] |
static VLCElem | blktype_tab [1<< BLKTYPE_VLC_BITS] |
static VLCElem | block_tab [1<< BLOCK_VLC_BITS] |
const FFCodec | ff_imm4_decoder |
|
static |
Definition at line 117 of file imm4.c.
Referenced by decode_inter(), and decode_intra().
|
static |
Definition at line 128 of file imm4.c.
Referenced by decode_blocks().
|
static |
Definition at line 171 of file imm4.c.
Referenced by decode_inter(), and decode_intra().
|
static |
Definition at line 201 of file imm4.c.
Referenced by decode_frame().
|
static |
Definition at line 255 of file imm4.c.
Referenced by decode_frame().
|
static |
|
static |
Definition at line 486 of file imm4.c.
Referenced by decode_init().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 67 of file imm4.c.
Referenced by decode_inter(), decode_intra(), and imm4_init_static_data().
|
static |
Definition at line 72 of file imm4.c.
Referenced by imm4_init_static_data().
|
static |
Definition at line 76 of file imm4.c.
Referenced by imm4_init_static_data().
|
static |
Definition at line 80 of file imm4.c.
Referenced by imm4_init_static_data().
|
static |
Definition at line 88 of file imm4.c.
Referenced by imm4_init_static_data().
|
static |
Definition at line 103 of file imm4.c.
Referenced by decode_entropy_image(), imm4_init_static_data(), parse_transform_color(), and parse_transform_predictor().
|
static |
Definition at line 112 of file imm4.c.
Referenced by decode_intra(), and imm4_init_static_data().
|
static |
Definition at line 113 of file imm4.c.
Referenced by get_cbphi(), and imm4_init_static_data().
|
static |
Definition at line 114 of file imm4.c.
Referenced by decode_inter(), and imm4_init_static_data().
|
static |
Definition at line 115 of file imm4.c.
Referenced by decode_block(), and imm4_init_static_data().
const FFCodec ff_imm4_decoder |