FFmpeg
|
#include "libavutil/motion_vector.h"
#include "avcodec.h"
#include "hpeldsp.h"
#include "snow_dwt.h"
#include "rangecoder.h"
#include "mathops.h"
#include "h264qpel.h"
#include "videodsp.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 | SNOW_MAX_PLANES 4 |
#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 |
Intra block, inter otherwise. More... | |
#define | BLOCK_OPT 2 |
Block needs no checks in this round of iterative motion estiation. More... | |
#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 | QEXPSHIFT (7-FRAC_BITS+8) |
Variables | |
static const BlockNode | null_block |
const uint8_t *const | ff_obmc_tab [4] |
const uint8_t | ff_qexp [QROOT] |
int | ff_scale_mv_ref [MAX_REF_FRAMES][MAX_REF_FRAMES] |
const int8_t | ff_quant3bA [256] |
#define OBMC_MAX (1<<(LOG2_OBMC_MAX)) |
#define BLOCK_OPT 2 |
#define MB_SIZE (1<<LOG2_MB_SIZE) |
int ff_snow_common_init | ( | AVCodecContext * | avctx | ) |
Definition at line 394 of file snow.c.
Referenced by encode_init().
int ff_snow_common_init_after_header | ( | AVCodecContext * | avctx | ) |
Definition at line 449 of file snow.c.
Referenced by decode_frame(), and encode_frame().
void ff_snow_common_end | ( | SnowContext * | s | ) |
Definition at line 553 of file snow.c.
Referenced by decode_end(), and encode_end().
void ff_snow_release_buffer | ( | AVCodecContext * | avctx | ) |
Definition at line 513 of file snow.c.
Referenced by decode_frame(), encode_frame(), and ff_snow_frames_prepare().
void ff_snow_reset_contexts | ( | SnowContext * | s | ) |
Definition at line 62 of file snow.c.
Referenced by decode_header(), and encode_header().
int ff_snow_alloc_blocks | ( | SnowContext * | s | ) |
Definition at line 76 of file snow.c.
Referenced by decode_frame(), and encode_init().
int ff_snow_frames_prepare | ( | SnowContext * | s | ) |
Definition at line 522 of file snow.c.
Referenced by decode_frame(), and encode_frame().
void ff_snow_pred_block | ( | SnowContext * | s, |
uint8_t * | dst, | ||
uint8_t * | tmp, | ||
ptrdiff_t | stride, | ||
int | sx, | ||
int | sy, | ||
int | b_w, | ||
int | b_h, | ||
const BlockNode * | block, | ||
int | plane_index, | ||
int | w, | ||
int | h | ||
) |
Definition at line 284 of file snow.c.
Referenced by add_yblock(), and get_block_rd().
|
static |
Definition at line 210 of file snow.h.
Referenced by add_yblock(), encode_q_branch2(), get_4block_rd(), and iterative_me().
|
static |
Definition at line 220 of file snow.h.
Referenced by get_4block_rd(), get_dc(), predict_slice(), and predict_slice_buffered().
|
static |
Definition at line 344 of file snow.h.
Referenced by predict_plane().
|
static |
Definition at line 395 of file snow.h.
Referenced by decode_frame(), and encode_frame().
|
inlinestatic |
Definition at line 402 of file snow.h.
Referenced by decode_q_branch(), encode_q_branch(), and encode_q_branch2().
|
static |
Definition at line 63 of file snow.h.
Referenced by decode_q_branch(), encode_q_branch(), encode_q_branch2(), and get_block_bits().
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().
const uint8_t ff_qexp[QROOT] |
Definition at line 128 of file snowdata.h.
Referenced by decode_subband_slice_buffered(), dequantize(), dequantize_slice_buffered(), quantize(), and ratecontrol_1pass().
int ff_scale_mv_ref[MAX_REF_FRAMES][MAX_REF_FRAMES] |
Definition at line 135 of file snowdata.h.
const int8_t ff_quant3bA[256] |
Definition at line 104 of file snowdata.h.
Referenced by encode_subband_c0run(), and unpack_coeffs().