FFmpeg
|
#include "dsputil.h"
#include "hpeldsp.h"
#include "snow_dwt.h"
#include "rangecoder.h"
#include "mathops.h"
#include "mpegvideo.h"
#include "h264qpel.h"
Go to the source code of this file.
Data Structures | |
struct | BlockNode |
struct | x_and_coeff |
struct | SubBand |
struct | Plane |
struct | SnowContext |
Macros | |
#define | MID_STATE 128 |
#define | MAX_PLANES 4 |
#define | QSHIFT 5 |
#define | QROOT (1<<QSHIFT) |
#define | LOSSLESS_QLOG -128 |
#define | FRAC_BITS 4 |
#define | MAX_REF_FRAMES 8 |
#define | LOG2_OBMC_MAX 8 |
#define | OBMC_MAX (1<<(LOG2_OBMC_MAX)) |
#define | BLOCK_INTRA 1 |
#define | BLOCK_OPT 2 |
#define | LOG2_MB_SIZE 4 |
#define | MB_SIZE (1<<LOG2_MB_SIZE) |
#define | ENCODER_EXTRA_BITS 4 |
#define | HTAPS_MAX 8 |
#define | QBIAS_SHIFT 3 |
#define | ME_CACHE_SIZE 1024 |
#define | QEXPSHIFT (7-FRAC_BITS+8) |
Typedefs | |
typedef struct BlockNode | BlockNode |
typedef struct x_and_coeff | x_and_coeff |
typedef struct SubBand | SubBand |
typedef struct Plane | Plane |
typedef struct SnowContext | SnowContext |
Variables | |
static const BlockNode | null_block |
const uint8_t *const | ff_obmc_tab [4] |
uint8_t | ff_qexp [QROOT] |
int | ff_scale_mv_ref [MAX_REF_FRAMES][MAX_REF_FRAMES] |
const int8_t | ff_quant3bA [256] |
Macro Definition Documentation
#define BLOCK_INTRA 1 |
Definition at line 52 of file snow.h.
Referenced by check_4block_inter(), check_block(), decode_q_branch(), encode_q_branch(), encode_q_branch2(), ff_snow_pred_block(), get_block_bits(), get_dc(), iterative_me(), and same_block().
#define BLOCK_OPT 2 |
Definition at line 53 of file snow.h.
Referenced by iterative_me().
#define ENCODER_EXTRA_BITS 4 |
Definition at line 69 of file snow.h.
Referenced by encode_frame(), and quantize().
#define FRAC_BITS 4 |
Definition at line 40 of file snow.h.
Referenced by add_yblock(), and predict_slice().
#define HTAPS_MAX 8 |
Definition at line 70 of file snow.h.
Referenced by decode_header(), ff_snow_common_init_after_header(), ff_snow_pred_block(), and mc_block().
#define LOG2_MB_SIZE 4 |
Definition at line 67 of file snow.h.
Referenced by encode_q_branch(), and ff_snow_alloc_blocks().
#define LOG2_OBMC_MAX 8 |
Definition at line 43 of file snow.h.
Referenced by add_yblock(), ff_snow_inner_add_yblock(), get_block_rd(), and get_dc().
#define LOSSLESS_QLOG -128 |
Definition at line 39 of file snow.h.
Referenced by decode_frame(), decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), encode_frame(), and quantize().
#define MAX_REF_FRAMES 8 |
Definition at line 41 of file snow.h.
Referenced by decode_header(), encode_init(), ff_snow_common_end(), and mca().
#define MB_SIZE (1<<LOG2_MB_SIZE) |
Definition at line 68 of file snow.h.
Referenced by add_yblock(), decode_frame(), encode_blocks(), encode_frame(), encode_init(), ff_snow_common_init_after_header(), ff_snow_pred_block(), get_4block_rd(), get_dc(), iterative_me(), predict_slice(), and predict_slice_buffered().
#define ME_CACHE_SIZE 1024 |
Definition at line 164 of file snow.h.
Referenced by check_4block_inter(), and check_block().
#define MID_STATE 128 |
Definition at line 34 of file snow.h.
Referenced by decode_header(), encode_header(), and ff_snow_reset_contexts().
#define OBMC_MAX (1<<(LOG2_OBMC_MAX)) |
#define QBIAS_SHIFT 3 |
Definition at line 157 of file snow.h.
Referenced by decode_subband_slice_buffered(), dequantize(), and dequantize_slice_buffered().
#define QEXPSHIFT (7-FRAC_BITS+8) |
Definition at line 510 of file snow.h.
Referenced by decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), and quantize().
#define QROOT (1<<QSHIFT) |
Definition at line 38 of file snow.h.
Referenced by calculate_visual_weight(), decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), init_qexp(), qscale2qlog(), quantize(), and ratecontrol_1pass().
#define QSHIFT 5 |
Definition at line 37 of file snow.h.
Referenced by decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), quantize(), and ratecontrol_1pass().
Typedef Documentation
typedef struct SnowContext SnowContext |
typedef struct x_and_coeff x_and_coeff |
Function Documentation
|
static |
Definition at line 285 of file snow.h.
Referenced by get_4block_rd(), get_dc(), predict_slice(), and predict_slice_buffered().
int ff_snow_alloc_blocks | ( | SnowContext * | s | ) |
Definition at line 83 of file snow.c.
Referenced by decode_frame(), encode_init(), and snow_horizontal_compose_liftS_lead_out().
void ff_snow_common_end | ( | SnowContext * | s | ) |
Definition at line 650 of file snow.c.
Referenced by decode_end(), decode_init(), encode_end(), encode_init(), and snow_horizontal_compose_liftS_lead_out().
int ff_snow_common_init | ( | AVCodecContext * | avctx | ) |
Referenced by decode_init(), encode_init(), and snow_horizontal_compose_liftS_lead_out().
int ff_snow_common_init_after_header | ( | AVCodecContext * | avctx | ) |
Definition at line 472 of file snow.c.
Referenced by decode_frame(), encode_frame(), and snow_horizontal_compose_liftS_lead_out().
int ff_snow_frame_start | ( | SnowContext * | s | ) |
Definition at line 599 of file snow.c.
Referenced by decode_frame(), encode_frame(), and snow_horizontal_compose_liftS_lead_out().
void ff_snow_pred_block | ( | SnowContext * | s, |
uint8_t * | dst, | ||
uint8_t * | tmp, | ||
int | stride, | ||
int | sx, | ||
int | sy, | ||
int | b_w, | ||
int | b_h, | ||
BlockNode * | block, | ||
int | plane_index, | ||
int | w, | ||
int | h | ||
) |
Definition at line 297 of file snow.c.
Referenced by add_yblock(), get_block_rd(), and snow_horizontal_compose_liftS_lead_out().
void ff_snow_release_buffer | ( | AVCodecContext * | avctx | ) |
Definition at line 586 of file snow.c.
Referenced by decode_frame(), encode_frame(), ff_snow_frame_start(), and snow_horizontal_compose_liftS_lead_out().
void ff_snow_reset_contexts | ( | SnowContext * | s | ) |
Definition at line 69 of file snow.c.
Referenced by decode_header(), encode_header(), and snow_horizontal_compose_liftS_lead_out().
|
inlinestatic |
|
inlinestatic |
Definition at line 583 of file snow.h.
Referenced by unpack_coeffs().
|
inlinestatic |
|
inlinestatic |
|
static |
Definition at line 458 of file snow.h.
Referenced by decode_frame(), and encode_frame().
|
static |
Definition at line 407 of file snow.h.
Referenced by predict_plane().
|
inlinestatic |
|
inlinestatic |
Definition at line 563 of file snow.h.
Referenced by encode_subband_c0run().
|
static |
Definition at line 275 of file snow.h.
Referenced by add_yblock(), encode_q_branch2(), get_4block_rd(), and iterative_me().
|
inlinestatic |
Definition at line 465 of file snow.h.
Referenced by decode_q_branch(), encode_q_branch(), and encode_q_branch2().
|
static |
|
static |
|
static |
|
static |
|
inlinestatic |
|
inlinestatic |
Definition at line 603 of file snow.h.
Referenced by decode_frame().
Variable Documentation
const uint8_t* const ff_obmc_tab[4] |
Definition at line 123 of file snowdata.h.
Referenced by get_4block_rd(), get_dc(), iterative_me(), predict_slice(), and predict_slice_buffered().
Definition at line 128 of file snowdata.h.
Referenced by decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), init_qexp(), quantize(), and ratecontrol_1pass().
const int8_t ff_quant3bA[256] |
Definition at line 104 of file snowdata.h.
Referenced by encode_subband_c0run(), init_ref(), and unpack_coeffs().
int ff_scale_mv_ref[MAX_REF_FRAMES][MAX_REF_FRAMES] |
Definition at line 129 of file snowdata.h.
|
static |
Definition at line 58 of file snow.h.
Referenced by decode_q_branch(), encode_q_branch(), encode_q_branch2(), and get_block_bits().
Generated on Fri Dec 20 2024 06:56:15 for FFmpeg by 1.8.11