FFmpeg
|
svq3 decoder. More...
#include <inttypes.h>
#include "libavutil/attributes.h"
#include "internal.h"
#include "avcodec.h"
#include "mpegutils.h"
#include "h264.h"
#include "h264data.h"
#include "h264_mvpred.h"
#include "golomb.h"
#include "hpeldsp.h"
#include "rectangle.h"
#include "tpeldsp.h"
#include "vdpau_internal.h"
#include "svq1.h"
#include "svq3.h"
Go to the source code of this file.
Data Structures | |
struct | SVQ3Context |
Macros | |
#define | FULLPEL_MODE 1 |
#define | HALFPEL_MODE 2 |
#define | THIRDPEL_MODE 3 |
#define | PREDICT_MODE 4 |
#define | stride 16 |
Functions | |
static int | svq3_decode_end (AVCodecContext *avctx) |
void | ff_svq3_luma_dc_dequant_idct_c (int16_t *output, int16_t *input, int qp) |
void | ff_svq3_add_idct_c (uint8_t *dst, int16_t *block, int stride, int qp, int dc) |
static int | svq3_decode_block (GetBitContext *gb, int16_t *block, int index, const int type) |
static void | svq3_mc_dir_part (SVQ3Context *s, int x, int y, int width, int height, int mx, int my, int dxy, int thirdpel, int dir, int avg) |
static int | svq3_mc_dir (SVQ3Context *s, int size, int mode, int dir, int avg) |
static int | svq3_decode_mb (SVQ3Context *s, unsigned int mb_type) |
static int | svq3_decode_slice_header (AVCodecContext *avctx) |
static av_cold int | svq3_decode_init (AVCodecContext *avctx) |
static void | free_picture (AVCodecContext *avctx, H264Picture *pic) |
static int | get_buffer (AVCodecContext *avctx, H264Picture *pic) |
static int | svq3_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
static const uint8_t | svq3_scan [16] |
static const uint8_t | luma_dc_zigzag_scan [16] |
static const uint8_t | svq3_pred_0 [25][2] |
static const int8_t | svq3_pred_1 [6][6][5] |
struct { | |
uint8_t run | |
uint8_t level | |
} | svq3_dct_tables [2][16] |
static const uint32_t | svq3_dequant_coeff [32] |
AVCodec | ff_svq3_decoder |
svq3 decoder.
Definition in file svq3.c.
#define FULLPEL_MODE 1 |
Definition at line 93 of file svq3.c.
Referenced by svq3_decode_mb().
#define HALFPEL_MODE 2 |
Definition at line 94 of file svq3.c.
Referenced by svq3_decode_mb(), and svq3_mc_dir().
#define THIRDPEL_MODE 3 |
Definition at line 95 of file svq3.c.
Referenced by svq3_decode_mb(), and svq3_mc_dir().
#define PREDICT_MODE 4 |
Definition at line 96 of file svq3.c.
Referenced by svq3_decode_mb(), and svq3_mc_dir().
#define stride 16 |
|
static |
Definition at line 1351 of file svq3.c.
Referenced by svq3_decode_init().
void ff_svq3_luma_dc_dequant_idct_c | ( | int16_t * | output, |
int16_t * | input, | ||
int | qp | ||
) |
Definition at line 167 of file svq3.c.
Referenced by hl_decode_mb_predict_luma().
Definition at line 202 of file svq3.c.
Referenced by hl_decode_mb(), hl_decode_mb_idct_luma(), and hl_decode_mb_predict_luma().
|
inlinestatic |
Definition at line 242 of file svq3.c.
Referenced by svq3_decode_mb().
|
inlinestatic |
Definition at line 300 of file svq3.c.
Referenced by svq3_decode_mb(), and svq3_mc_dir().
|
inlinestatic |
Definition at line 374 of file svq3.c.
Referenced by svq3_decode_mb().
|
static |
Definition at line 488 of file svq3.c.
Referenced by svq3_decode_frame().
|
static |
Definition at line 778 of file svq3.c.
Referenced by svq3_decode_frame().
|
static |
|
static |
Definition at line 1063 of file svq3.c.
Referenced by get_buffer(), and svq3_decode_end().
|
static |
Definition at line 1075 of file svq3.c.
Referenced by svq3_decode_frame().
|
static |
|
static |
Definition at line 107 of file svq3.c.
Referenced by svq3_decode_block().
|
static |
Definition at line 114 of file svq3.c.
Referenced by svq3_decode_block().
|
static |
Definition at line 121 of file svq3.c.
Referenced by svq3_decode_mb().
|
static |
Definition at line 133 of file svq3.c.
Referenced by svq3_decode_mb().
uint8_t run |
Definition at line 149 of file svq3.c.
Referenced by bink_decode_plane(), binkb_decode_plane(), bit8x8_c(), dct_quantize_refine(), dct_quantize_trellis_c(), dct_single_coeff_elimination(), decode_ac_coeffs(), decode_block(), decode_block_intra(), decode_block_progressive(), decode_block_refinement(), decode_coeffs(), decode_frame(), decode_group3_1d_line(), decode_group3_2d_line(), decode_residual_block(), decode_rle(), dnxhd_init_vlc(), dv_decode_ac(), dv_rl2vlc(), dv_rl2vlc_size(), encode_ac_coeffs(), encode_acs(), encode_alpha_plane(), encode_block(), encode_subband_c0run(), estimate_acs(), estimate_alpha_plane(), ff_dvvideo_init(), ff_init_rl(), ff_init_vlc_rl(), ff_msmpeg4_decode_block(), ff_msmpeg4_encode_block(), ff_msmpeg4_encode_init(), find_best_tables(), fix_coding_method_array(), get_rl_index(), get_size_of_code(), h261_decode_block(), h261_encode_block(), h263_decode_block(), h263_encode_block(), init_2d_vlc_rl(), init_quantized_coeffs_elem0(), init_uni_ac_vlc(), init_uni_h261_rl_tab(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), ivi_decode_coded_blocks(), ls_encode_line(), main(), mdec_decode_block_intra(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_encode_block(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_intra(), mpeg2_fast_decode_block_non_intra(), mpeg4_decode_block(), mpeg4_encode_block(), mpeg4_get_block_length(), on2avc_decode_band_types(), pcx_rle_decode(), picmemset_8bpp(), process_subpacket_9(), put_line(), qpeg_decode_intra(), rd8x8_c(), read_block_types(), sunrast_decode_frame(), sunrast_image_write_image(), svq3_decode_block(), synthfilt_build_sb_samples(), unpack(), unpack_coeffs(), vc1_decode_ac_coeff(), vp6_parse_coeff(), vp6_parse_coeff_huffman(), and x8_decode_intra_mb().
uint8_t level |
Definition at line 150 of file svq3.c.
Referenced by adpcm_decode_frame(), ass_log(), av_log_set_level(), bit8x8_c(), calc_sum_next(), calculate_visual_weight(), clip_coeffs(), compute_gammaval709(), dash_write_header(), dct_quantize_refine(), dct_quantize_TMPL(), dct_quantize_trellis_c(), dct_single_coeff_elimination(), dct_unquantize_h263_inter_c(), dct_unquantize_h263_intra_armv5te(), dct_unquantize_h263_intra_c(), dct_unquantize_mpeg1_inter_c(), dct_unquantize_mpeg1_intra_c(), dct_unquantize_mpeg2_inter_c(), dct_unquantize_mpeg2_intra_bitexact(), dct_unquantize_mpeg2_intra_c(), decide_ac_pred(), decode_ac_coeffs(), decode_block(), decode_block_intra(), decode_block_progressive(), decode_coeffs(), decode_component(), decode_frame(), decode_gain_control(), decode_i_block(), decode_lowdelay_slice(), decode_q_branch(), decode_qlogs(), decode_residual(), decode_residual_block(), denoise_dct_c(), dirac_unpack_idwt_params(), dnxhd_10bit_dct_quantize(), dnxhd_calc_ac_bits(), dnxhd_decode_dct_block(), dnxhd_init_vlc(), dnxhd_unquantize_c(), dump_enc_cfg(), dv_decode_ac(), dv_init_enc_block(), ebml_level_end(), ebml_read_master(), encode_ac_coeffs(), encode_acs(), encode_block(), encode_frame(), encode_q_branch(), encode_q_branch2(), encode_qlogs(), estimate_acs(), eval_expr(), ff_dct_quantize_c(), ff_dvvideo_init(), ff_h263_encode_mb(), ff_init_rl(), ff_init_vlc_rl(), ff_mpeg4_pred_dc(), ff_msmpeg4_decode_block(), ff_msmpeg4_encode_block(), ff_msmpeg4_encode_init(), ff_snow_common_end(), ff_snow_common_init_after_header(), ff_snow_reset_contexts(), ff_spatial_dwt(), ff_spatial_idwt_buffered_init(), ff_spatial_idwt_buffered_slice(), ff_spatial_idwt_init(), ff_spatial_idwt_init2(), ff_spatial_idwt_slice(), ff_spatial_idwt_slice2(), ff_wma_run_level_decode(), filter_frame(), find_best_tables(), flac_encode_init(), framesync_sync_level_update(), get_block_rate(), get_size_of_code(), guess_palette(), h261_decode_block(), h261_encode_block(), h263_decode_block(), h263_encode_block(), handle_invoke_error(), hardthresh_c(), imc_decode_level_coefficients(), imc_decode_level_coefficients_raw(), init_2d_vlc_rl(), init_coef_vlc(), init_h263_dc_for_msmpeg4(), init_planes(), init_quantized_coeffs_elem0(), init_uni_ac_vlc(), init_uni_dc_tab(), init_uni_h261_rl_tab(), init_uni_h263_rl_tab(), init_uni_mpeg4_rl_tab(), main(), matroska_parse_seekhead_entry(), mdec_decode_block_intra(), mediumthresh_c(), mov_write_dvc1_structs(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_encode_block(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_intra(), mpeg2_fast_decode_block_non_intra(), mpeg4_decode_block(), mpeg4_decode_dc(), mpeg4_encode_block(), mpeg4_encode_dc(), mpeg4_get_block_length(), msmpeg4_decode_dc(), msmpeg4_encode_dc(), opt_loglevel(), process_subpacket_9(), qdm2_fft_generate_tone(), qdm2_fft_tone_synthesizer(), ratecontrol_1pass(), rd8x8_c(), rtmp_open(), set_blocks(), snow_set_blocks(), softthresh_c(), spatial_compose_daub97i_dy(), spatial_compose_dd137i_dy(), spatial_compose_dd97i_dy(), spatial_compose_dirac53i_dy(), spatial_compose_fidelity(), spatial_compose_haari_dy(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_encode_plane(), svq3_decode_block(), tgq_dconly(), udp_set_multicast_sources(), uninit(), vc1_decode_ac_coeff(), vdpau_h264_init(), w_c(), and x8_decode_intra_mb().
struct { ... } svq3_dct_tables[2][16] |
Referenced by svq3_decode_block().
|
static |
Definition at line 158 of file svq3.c.
Referenced by ff_svq3_add_idct_c(), and ff_svq3_luma_dc_dequant_idct_c().
AVCodec ff_svq3_decoder |