FFmpeg
|
4XM codec. More...
#include "libavutil/frame.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
#include "dsputil.h"
#include "get_bits.h"
#include "internal.h"
#include "libavutil/avassert.h"
Go to the source code of this file.
Data Structures | |
struct | CFrameBuffer |
struct | FourXContext |
Macros | |
#define | BLOCK_TYPE_VLC_BITS 5 |
#define | ACDC_VLC_BITS 9 |
#define | CFRAME_BUFFER_COUNT 100 |
#define | FIX_1_082392200 70936 |
#define | FIX_1_414213562 92682 |
#define | FIX_1_847759065 121095 |
#define | FIX_2_613125930 171254 |
#define | MULTIPLY(var, const) (((var) * (const)) >> 16) |
#define | LE_CENTRIC_MUL(dst, src, scale, dc) |
Typedefs | |
typedef struct CFrameBuffer | CFrameBuffer |
typedef struct FourXContext | FourXContext |
Functions | |
static void | idct (int16_t block[64]) |
static av_cold void | init_vlcs (FourXContext *f) |
static void | init_mv (FourXContext *f, int linesize) |
static void | mcdc (uint16_t *dst, const uint16_t *src, int log2w, int h, int stride, int scale, unsigned dc) |
static void | decode_p_block (FourXContext *f, uint16_t *dst, uint16_t *src, int log2w, int log2h, int stride) |
static int | decode_p_frame (FourXContext *f, AVFrame *frame, const uint8_t *buf, int length) |
static int | decode_i_block (FourXContext *f, int16_t *block) |
decode block and dequantize. More... | |
static void | idct_put (FourXContext *f, AVFrame *frame, int x, int y) |
static int | decode_i_mb (FourXContext *f) |
static const uint8_t * | read_huffman_tables (FourXContext *f, const uint8_t *const buf, int buf_size) |
static int | mix (int c0, int c1) |
static int | decode_i2_frame (FourXContext *f, AVFrame *frame, const uint8_t *buf, int length) |
static int | decode_i_frame (FourXContext *f, AVFrame *frame, const uint8_t *buf, int length) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | decode_init (AVCodecContext *avctx) |
static av_cold int | decode_end (AVCodecContext *avctx) |
Variables | |
static const uint8_t | block_type_tab [2][4][8][2] |
static const uint8_t | size2index [4][4] |
static const int8_t | mv [256][2] |
static const uint8_t | dequant_table [64] |
static VLC | block_type_vlc [2][4] |
AVCodec | ff_fourxm_decoder |
Detailed Description
4XM codec.
Definition in file libavcodec/4xm.c.
Macro Definition Documentation
#define ACDC_VLC_BITS 9 |
Definition at line 38 of file libavcodec/4xm.c.
Referenced by decode_i_block(), decode_i_frame(), and read_huffman_tables().
#define BLOCK_TYPE_VLC_BITS 5 |
Definition at line 37 of file libavcodec/4xm.c.
Referenced by decode_p_block(), and init_vlcs().
#define CFRAME_BUFFER_COUNT 100 |
Definition at line 40 of file libavcodec/4xm.c.
Referenced by decode_end(), and decode_frame().
#define FIX_1_082392200 70936 |
Definition at line 150 of file libavcodec/4xm.c.
Referenced by idct().
#define FIX_1_414213562 92682 |
Definition at line 151 of file libavcodec/4xm.c.
Referenced by idct().
#define FIX_1_847759065 121095 |
Definition at line 152 of file libavcodec/4xm.c.
Referenced by idct().
#define FIX_2_613125930 171254 |
Definition at line 153 of file libavcodec/4xm.c.
Referenced by idct().
Definition at line 281 of file libavcodec/4xm.c.
Referenced by mcdc().
#define MULTIPLY | ( | var, | |
const | |||
) | (((var) * (const)) >> 16) |
Definition at line 155 of file libavcodec/4xm.c.
Referenced by idct().
Typedef Documentation
typedef struct CFrameBuffer CFrameBuffer |
typedef struct FourXContext FourXContext |
Function Documentation
|
static |
Definition at line 967 of file libavcodec/4xm.c.
|
static |
Definition at line 800 of file libavcodec/4xm.c.
|
static |
Definition at line 687 of file libavcodec/4xm.c.
Referenced by decode_frame().
|
static |
decode block and dequantize.
Note this is almost identical to MJPEG.
Definition at line 476 of file libavcodec/4xm.c.
Referenced by decode_i_mb().
|
static |
Definition at line 736 of file libavcodec/4xm.c.
Referenced by decode_frame().
|
static |
Definition at line 570 of file libavcodec/4xm.c.
Referenced by decode_i_frame().
|
static |
Definition at line 935 of file libavcodec/4xm.c.
|
static |
Definition at line 336 of file libavcodec/4xm.c.
Referenced by decode_p_frame().
|
static |
Definition at line 408 of file libavcodec/4xm.c.
Referenced by decode_frame().
|
static |
Definition at line 157 of file libavcodec/4xm.c.
Referenced by idct_put().
|
inlinestatic |
Definition at line 524 of file libavcodec/4xm.c.
Referenced by decode_i_frame().
|
static |
Definition at line 259 of file libavcodec/4xm.c.
Referenced by decode_p_frame().
|
static |
Definition at line 242 of file libavcodec/4xm.c.
Referenced by decode_init().
|
inlinestatic |
Definition at line 288 of file libavcodec/4xm.c.
Referenced by decode_p_block().
|
static |
Definition at line 679 of file libavcodec/4xm.c.
Referenced by decode_i2_frame().
|
static |
Definition at line 584 of file libavcodec/4xm.c.
Referenced by decode_i_frame().
Variable Documentation
|
static |
Definition at line 42 of file libavcodec/4xm.c.
Referenced by init_vlcs().
|
static |
Definition at line 121 of file libavcodec/4xm.c.
|
static |
Definition at line 110 of file libavcodec/4xm.c.
Referenced by decode_i_block(), and fill_tone_level_array().
AVCodec ff_fourxm_decoder |
Definition at line 985 of file libavcodec/4xm.c.
|
static |
Definition at line 73 of file libavcodec/4xm.c.
Referenced by av_register_all(), decode_13(), dwt_decode53(), dwt_decode97(), dwt_encode53(), dwt_encode97(), encode_frame(), fetch_diagonal_mv(), ff_mpeg1_encode_init(), ff_msmpeg4_decode_init(), ff_msmpeg4_decode_motion(), ff_msmpeg4_encode_motion(), ff_print_debug_info2(), fill_decode_caches(), find_motion(), h263_get_modb(), h264_er_decode_mb(), init_mv(), init_mv_penalty_and_fcode(), mpeg_er_decode_mb(), mv_read_header(), mv_read_packet(), mv_read_seek(), parse_global_var(), pred_pskip_motion(), pred_spatial_direct_motion(), svq1_motion_inter_4v_block(), svq1_motion_inter_block(), svq3_mc_dir(), vc1_apply_p_h_loop_filter(), vc1_apply_p_v_loop_filter(), vp56_decode_4mv(), vp56_decode_mv(), and vp8_mc_part().
|
static |
Definition at line 66 of file libavcodec/4xm.c.
Referenced by decode_p_block().
Generated on Mon Nov 18 2024 06:52:04 for FFmpeg by 1.8.11