FFmpeg
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bswapdsp.h"
#include "codec_internal.h"
#include "copy_block.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "internal.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 VLC | cbplo_tab |
static VLC | cbphi_tab |
static VLC | blktype_tab |
static VLC | block_tab |
const FFCodec | ff_imm4_decoder |
|
static |
Definition at line 118 of file imm4.c.
Referenced by decode_inter(), and decode_intra().
|
static |
Definition at line 129 of file imm4.c.
Referenced by decode_blocks().
|
static |
Definition at line 172 of file imm4.c.
Referenced by decode_inter(), and decode_intra().
|
static |
Definition at line 202 of file imm4.c.
Referenced by decode_frame().
|
static |
Definition at line 253 of file imm4.c.
Referenced by decode_frame().
|
static |
|
static |
Definition at line 477 of file imm4.c.
Referenced by decode_init().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 68 of file imm4.c.
Referenced by decode_inter(), decode_intra(), and imm4_init_static_data().
|
static |
Definition at line 73 of file imm4.c.
Referenced by imm4_init_static_data().
|
static |
Definition at line 77 of file imm4.c.
Referenced by imm4_init_static_data().
|
static |
Definition at line 81 of file imm4.c.
Referenced by imm4_init_static_data().
|
static |
Definition at line 89 of file imm4.c.
Referenced by imm4_init_static_data().
|
static |
Definition at line 104 of file imm4.c.
Referenced by decode_entropy_image(), imm4_init_static_data(), parse_transform_color(), and parse_transform_predictor().
|
static |
Definition at line 113 of file imm4.c.
Referenced by decode_intra(), and imm4_init_static_data().
|
static |
Definition at line 114 of file imm4.c.
Referenced by get_cbphi(), and imm4_init_static_data().
|
static |
Definition at line 115 of file imm4.c.
Referenced by decode_inter(), and imm4_init_static_data().
|
static |
Definition at line 116 of file imm4.c.
Referenced by decode_block(), and imm4_init_static_data().
const FFCodec ff_imm4_decoder |