#include "libavutil/intreadwrite.h"
#include "avcodec.h"
Go to the source code of this file.
Data Structures | |
struct | ScanTable |
Scantable. More... | |
struct | DSPContext |
DSPContext. More... | |
Defines | |
#define | H264_IDCT(depth) |
#define | MAX_NEG_CROP 1024 |
#define | PUTAVG_PIXELS(depth) |
#define | ff_put_pixels8x8_c ff_put_pixels8x8_8_c |
#define | ff_avg_pixels8x8_c ff_avg_pixels8x8_8_c |
#define | ff_put_pixels16x16_c ff_put_pixels16x16_8_c |
#define | ff_avg_pixels16x16_c ff_avg_pixels16x16_8_c |
#define | DEF_OLD_QPEL(name) |
#define | CALL_2X_PIXELS(a, b, n) |
#define | EMULATED_EDGE(depth) |
#define | FF_NO_IDCT_PERM 1 |
#define | FF_LIBMPEG2_IDCT_PERM 2 |
#define | FF_SIMPLE_IDCT_PERM 3 |
#define | FF_TRANSPOSE_IDCT_PERM 4 |
#define | FF_PARTTRANS_IDCT_PERM 5 |
#define | FF_SSE2_IDCT_PERM 6 |
#define | BASIS_SHIFT 16 |
#define | RECON_SHIFT 6 |
#define | EDGE_WIDTH 16 |
#define | EDGE_TOP 1 |
#define | EDGE_BOTTOM 2 |
#define | BYTE_VEC32(c) ((c)*0x01010101UL) |
#define | BYTE_VEC64(c) ((c)*0x0001000100010001UL) |
#define | STRIDE_ALIGN 8 |
#define | LOCAL_ALIGNED_A(a, t, v, s, o,...) |
#define | LOCAL_ALIGNED_D(a, t, v, s, o,...) DECLARE_ALIGNED(a, t, v) s o |
#define | LOCAL_ALIGNED(a, t, v,...) LOCAL_ALIGNED_A(a, t, v, __VA_ARGS__,,) |
#define | LOCAL_ALIGNED_8(t, v,...) LOCAL_ALIGNED(8, t, v, __VA_ARGS__) |
#define | LOCAL_ALIGNED_16(t, v,...) LOCAL_ALIGNED(16, t, v, __VA_ARGS__) |
#define | WRAPPER8_16(name8, name16) |
#define | WRAPPER8_16_SQ(name8, name16) |
Typedefs | |
typedef short | DCTELEM |
typedef void(* | op_pixels_func )(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
typedef void(* | tpel_mc_func )(uint8_t *block, const uint8_t *pixels, int line_size, int w, int h) |
typedef void(* | qpel_mc_func )(uint8_t *dst, uint8_t *src, int stride) |
typedef void(* | h264_chroma_mc_func )(uint8_t *dst, uint8_t *src, int srcStride, int h, int x, int y) |
typedef void(* | op_fill_func )(uint8_t *block, uint8_t value, int line_size, int h) |
typedef int(* | me_cmp_func )(void *s, uint8_t *blk1, uint8_t *blk2, int line_size, int h) |
Functions | |
void | fdct_ifast (DCTELEM *data) |
void | fdct_ifast248 (DCTELEM *data) |
void | ff_jpeg_fdct_islow_8 (DCTELEM *data) |
void | ff_jpeg_fdct_islow_10 (DCTELEM *data) |
void | ff_fdct248_islow_8 (DCTELEM *data) |
void | ff_fdct248_islow_10 (DCTELEM *data) |
void | j_rev_dct (DCTELEM *data) |
void | j_rev_dct4 (DCTELEM *data) |
void | j_rev_dct2 (DCTELEM *data) |
void | j_rev_dct1 (DCTELEM *data) |
void | ff_wmv2_idct_c (DCTELEM *data) |
void | ff_fdct_mmx (DCTELEM *block) |
void | ff_fdct_mmx2 (DCTELEM *block) |
void | ff_fdct_sse2 (DCTELEM *block) |
void | ff_svq3_luma_dc_dequant_idct_c (DCTELEM *output, DCTELEM *input, int qp) |
void | ff_svq3_add_idct_c (uint8_t *dst, DCTELEM *block, int stride, int qp, int dc) |
void | ff_vp3_idct_c (DCTELEM *block) |
void | ff_vp3_idct_put_c (uint8_t *dest, int line_size, DCTELEM *block) |
void | ff_vp3_idct_add_c (uint8_t *dest, int line_size, DCTELEM *block) |
void | ff_vp3_idct_dc_add_c (uint8_t *dest, int line_size, const DCTELEM *block) |
void | ff_vp3_v_loop_filter_c (uint8_t *src, int stride, int *bounding_values) |
void | ff_vp3_h_loop_filter_c (uint8_t *src, int stride, int *bounding_values) |
void | ff_ea_idct_put_c (uint8_t *dest, int linesize, DCTELEM *block) |
void | ff_put_rv40_qpel16_mc33_c (uint8_t *dst, uint8_t *src, int stride) |
void | ff_avg_rv40_qpel16_mc33_c (uint8_t *dst, uint8_t *src, int stride) |
void | ff_put_rv40_qpel8_mc33_c (uint8_t *dst, uint8_t *src, int stride) |
void | ff_avg_rv40_qpel8_mc33_c (uint8_t *dst, uint8_t *src, int stride) |
void | ff_shrink22 (uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height) |
void | ff_shrink44 (uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height) |
void | ff_shrink88 (uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height) |
void | ff_gmc_c (uint8_t *dst, uint8_t *src, int stride, int h, int ox, int oy, int dxx, int dxy, int dyx, int dyy, int shift, int r, int width, int height) |
void | ff_init_scantable (uint8_t *, ScanTable *st, const uint8_t *src_scantable) |
void | ff_init_scantable_permutation (uint8_t *idct_permutation, int idct_permutation_type) |
void | ff_add_pixels_clamped_c (const DCTELEM *block, uint8_t *dest, int linesize) |
void | ff_put_pixels_clamped_c (const DCTELEM *block, uint8_t *dest, int linesize) |
void | ff_put_signed_pixels_clamped_c (const DCTELEM *block, uint8_t *dest, int linesize) |
void | dsputil_static_init (void) |
void | dsputil_init (DSPContext *p, AVCodecContext *avctx) |
int | ff_check_alignment (void) |
void | ff_block_permute (DCTELEM *block, uint8_t *permutation, const uint8_t *scantable, int last) |
permute block according to permuatation. | |
void | ff_set_cmp (DSPContext *c, me_cmp_func *cmp, int type) |
static uint32_t | rnd_avg32 (uint32_t a, uint32_t b) |
static uint32_t | no_rnd_avg32 (uint32_t a, uint32_t b) |
static uint64_t | rnd_avg64 (uint64_t a, uint64_t b) |
static uint64_t | no_rnd_avg64 (uint64_t a, uint64_t b) |
static int | get_penalty_factor (int lambda, int lambda2, int type) |
void | dsputil_init_alpha (DSPContext *c, AVCodecContext *avctx) |
void | dsputil_init_arm (DSPContext *c, AVCodecContext *avctx) |
void | dsputil_init_bfin (DSPContext *c, AVCodecContext *avctx) |
void | dsputil_init_mlib (DSPContext *c, AVCodecContext *avctx) |
void | dsputil_init_mmi (DSPContext *c, AVCodecContext *avctx) |
void | dsputil_init_mmx (DSPContext *c, AVCodecContext *avctx) |
void | dsputil_init_ppc (DSPContext *c, AVCodecContext *avctx) |
void | dsputil_init_sh4 (DSPContext *c, AVCodecContext *avctx) |
void | dsputil_init_vis (DSPContext *c, AVCodecContext *avctx) |
void | ff_dsputil_init_dwt (DSPContext *c) |
void | ff_intrax8dsp_init (DSPContext *c, AVCodecContext *avctx) |
void | ff_mlp_init (DSPContext *c, AVCodecContext *avctx) |
void | ff_mlp_init_x86 (DSPContext *c, AVCodecContext *avctx) |
static void | copy_block2 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
static void | copy_block4 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
static void | copy_block8 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
static void | copy_block9 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
static void | copy_block16 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
static void | copy_block17 (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h) |
Variables | |
const uint8_t | ff_alternate_horizontal_scan [64] |
const uint8_t | ff_alternate_vertical_scan [64] |
const uint8_t | ff_zigzag_direct [64] |
const uint8_t | ff_zigzag248_direct [64] |
uint32_t | ff_squareTbl [512] |
uint8_t | ff_cropTbl [256+2 *MAX_NEG_CROP] |
note, many functions in here may use MMX which trashes the FPU state, it is absolutely necessary to call emms_c() between dsp & float/double code
Definition in file dsputil.h.
#define BASIS_SHIFT 16 |
Definition at line 514 of file dsputil.h.
Referenced by add_8x8basis_c(), add_8x8basis_TMPL(), build_basis(), try_8x8basis_c(), and try_8x8basis_TMPL().
#define CALL_2X_PIXELS | ( | a, | |||
b, | |||||
n | ) |
#define DEF_OLD_QPEL | ( | name | ) |
Value:
void ff_put_ ## name (uint8_t *dst/*align width (8 or 16)*/, uint8_t *src/*align 1*/, int stride);\ void ff_put_no_rnd_ ## name (uint8_t *dst/*align width (8 or 16)*/, uint8_t *src/*align 1*/, int stride);\ void ff_avg_ ## name (uint8_t *dst/*align width (8 or 16)*/, uint8_t *src/*align 1*/, int stride);
#define EDGE_BOTTOM 2 |
Definition at line 520 of file dsputil.h.
Referenced by draw_edges(), draw_edges_mmx(), ff_draw_horiz_band(), ff_snow_frame_start(), interpolate_refplane(), and MPV_frame_end().
#define EDGE_TOP 1 |
Definition at line 519 of file dsputil.h.
Referenced by draw_edges(), draw_edges_mmx(), ff_draw_horiz_band(), ff_snow_frame_start(), interpolate_refplane(), and MPV_frame_end().
#define EDGE_WIDTH 16 |
Definition at line 518 of file dsputil.h.
Referenced by avcodec_get_edge_width(), ff_draw_horiz_band(), ff_snow_frame_start(), ff_snow_release_buffer(), halfpel_interpol(), interpolate_refplane(), mc_subpel(), MPV_frame_end(), and video_get_buffer().
#define EMULATED_EDGE | ( | depth | ) |
#define ff_avg_pixels8x8_c ff_avg_pixels8x8_8_c |
#define FF_LIBMPEG2_IDCT_PERM 2 |
Definition at line 506 of file dsputil.h.
Referenced by dct_quantize_TMPL(), dsputil_init(), dsputil_init_arm(), dsputil_init_mmi(), dsputil_init_mmx(), ff_dsputil_init_armv6(), and ff_init_scantable_permutation().
#define FF_NO_IDCT_PERM 1 |
Definition at line 505 of file dsputil.h.
Referenced by dct_quantize_altivec(), dct_quantize_bfin(), dct_quantize_c(), dsputil_init(), dsputil_init_arm(), dsputil_init_bfin(), dsputil_init_sh4(), ff_dsputil_init_armv5te(), ff_init_scantable_permutation(), ff_proresdsp_init(), and MPV_common_init_mlib().
#define FF_PARTTRANS_IDCT_PERM 5 |
Definition at line 509 of file dsputil.h.
Referenced by dsputil_init_mmx(), ff_dsputil_init_neon(), and ff_init_scantable_permutation().
#define ff_put_pixels8x8_c ff_put_pixels8x8_8_c |
#define FF_SIMPLE_IDCT_PERM 3 |
Definition at line 507 of file dsputil.h.
Referenced by dct_quantize_TMPL(), dsputil_init_mmx(), and ff_init_scantable_permutation().
#define FF_SSE2_IDCT_PERM 6 |
Definition at line 510 of file dsputil.h.
Referenced by dsputil_init_mmx(), and ff_init_scantable_permutation().
#define FF_TRANSPOSE_IDCT_PERM 4 |
Definition at line 508 of file dsputil.h.
Referenced by dct_quantize_altivec(), dsputil_init_mmx(), dsputil_init_ppc(), dsputil_init_vis(), ff_dsputil_init_neon(), ff_init_scantable_permutation(), and ff_proresdsp_x86_init().
#define H264_IDCT | ( | depth | ) |
Value:
void ff_h264_idct8_add_ ## depth ## _c(uint8_t *dst, DCTELEM *block, int stride);\ void ff_h264_idct_add_ ## depth ## _c(uint8_t *dst, DCTELEM *block, int stride);\ void ff_h264_idct8_dc_add_ ## depth ## _c(uint8_t *dst, DCTELEM *block, int stride);\ void ff_h264_idct_dc_add_ ## depth ## _c(uint8_t *dst, DCTELEM *block, int stride);\ void ff_h264_idct_add16_ ## depth ## _c(uint8_t *dst, const int *blockoffset, DCTELEM *block, int stride, const uint8_t nnzc[6*8]);\ void ff_h264_idct_add16intra_ ## depth ## _c(uint8_t *dst, const int *blockoffset, DCTELEM *block, int stride, const uint8_t nnzc[6*8]);\ void ff_h264_idct8_add4_ ## depth ## _c(uint8_t *dst, const int *blockoffset, DCTELEM *block, int stride, const uint8_t nnzc[6*8]);\ void ff_h264_idct_add8_422_ ## depth ## _c(uint8_t **dest, const int *blockoffset, DCTELEM *block, int stride, const uint8_t nnzc[6*8]);\ void ff_h264_idct_add8_ ## depth ## _c(uint8_t **dest, const int *blockoffset, DCTELEM *block, int stride, const uint8_t nnzc[6*8]);\ void ff_h264_luma_dc_dequant_idct_ ## depth ## _c(DCTELEM *output, DCTELEM *input, int qmul);\ void ff_h264_chroma422_dc_dequant_idct_ ## depth ## _c(DCTELEM *block, int qmul);\ void ff_h264_chroma_dc_dequant_idct_ ## depth ## _c(DCTELEM *block, int qmul);
Definition at line 698 of file dsputil.h.
Referenced by apply_channel_coupling(), apply_window_mp3(), bink_decode_plane(), binkb_decode_plane(), bit8x8_c(), count_mantissa_bits(), dca_subsubframe(), dct_max8x8_c(), dct_quantize_refine(), dct_quantize_TMPL(), dct_sad8x8_c(), decode_slice_chroma(), decode_slice_luma(), dnxhd_calc_bits_thread(), do_hybrid_window(), dv_decode_video_segment(), dv_init_enc_block(), ff_check_alignment(), h263_skip_b_part(), imc_decode_frame(), quant_psnr8x8_c(), rd8x8_c(), render_slice(), rv34_decode_inter_macroblock(), and rv34_output_i16x16().
Definition at line 692 of file dsputil.h.
Referenced by dv_encode_video_segment(), and h264_filter_mb_fast_internal().
#define LOCAL_ALIGNED_A | ( | a, | |||
t, | |||||
v, | |||||
s, | |||||
o, | |||||
... | ) |
#define MAX_NEG_CROP 1024 |
Definition at line 86 of file dsputil.h.
Referenced by cavs_idct8_add_c(), deinterlace_line_c(), deinterlace_line_inplace_c(), dsputil_static_init(), ff_bfin_vp3_idct_put(), ff_idct_put_mlib(), filter_common(), filter_mbedge(), h_block_filter(), idct_add(), idct_put(), intra_pred_plane(), mp_yuv_to_rgb(), parse_palette_segment(), pred16x16_tm_vp8_c(), pred4x4_tm_vp8_c(), pred8x8_tm_vp8_c(), rv30_weak_loop_filter(), rv40_weak_loop_filter(), v_block_filter(), wmv2_mspel8_h_lowpass(), wmv2_mspel8_v_lowpass(), and yuv_a_to_rgba().
#define PUTAVG_PIXELS | ( | depth | ) |
Value:
void ff_put_pixels8x8_ ## depth ## _c(uint8_t *dst, uint8_t *src, int stride);\ void ff_avg_pixels8x8_ ## depth ## _c(uint8_t *dst, uint8_t *src, int stride);\ void ff_put_pixels16x16_ ## depth ## _c(uint8_t *dst, uint8_t *src, int stride);\ void ff_avg_pixels16x16_ ## depth ## _c(uint8_t *dst, uint8_t *src, int stride);
#define RECON_SHIFT 6 |
Definition at line 515 of file dsputil.h.
Referenced by add_8x8basis_c(), add_8x8basis_TMPL(), dct_quantize_refine(), try_8x8basis_c(), and try_8x8basis_TMPL().
#define STRIDE_ALIGN 8 |
Definition at line 678 of file dsputil.h.
Referenced by avcodec_align_dimensions2(), and fill_rectangle().
#define WRAPPER8_16 | ( | name8, | |||
name16 | ) |
#define WRAPPER8_16_SQ | ( | name8, | |||
name16 | ) |
Value:
static int name16(void /*MpegEncContext*/ *s, uint8_t *dst, uint8_t *src, int stride, int h){\ int score=0;\ score +=name8(s, dst , src , stride, 8);\ score +=name8(s, dst+8 , src+8 , stride, 8);\ if(h==16){\ dst += 8*stride;\ src += 8*stride;\ score +=name8(s, dst , src , stride, 8);\ score +=name8(s, dst+8 , src+8 , stride, 8);\ }\ return score;\ }
typedef void(* h264_chroma_mc_func)(uint8_t *dst, uint8_t *src, int srcStride, int h, int x, int y) |
typedef int(* me_cmp_func)(void *s, uint8_t *blk1, uint8_t *blk2, int line_size, int h) |
typedef void(* op_fill_func)(uint8_t *block, uint8_t value, int line_size, int h) |
typedef void(* op_pixels_func)(uint8_t *block, const uint8_t *pixels, int line_size, int h) |
typedef void(* qpel_mc_func)(uint8_t *dst, uint8_t *src, int stride) |
typedef void(* tpel_mc_func)(uint8_t *block, const uint8_t *pixels, int line_size, int w, int h) |
static void copy_block16 | ( | uint8_t * | dst, | |
const uint8_t * | src, | |||
int | dstStride, | |||
int | srcStride, | |||
int | h | |||
) | [inline, static] |
static void copy_block17 | ( | uint8_t * | dst, | |
const uint8_t * | src, | |||
int | dstStride, | |||
int | srcStride, | |||
int | h | |||
) | [inline, static] |
static void copy_block2 | ( | uint8_t * | dst, | |
const uint8_t * | src, | |||
int | dstStride, | |||
int | srcStride, | |||
int | h | |||
) | [inline, static] |
static void copy_block4 | ( | uint8_t * | dst, | |
const uint8_t * | src, | |||
int | dstStride, | |||
int | srcStride, | |||
int | h | |||
) | [inline, static] |
static void copy_block8 | ( | uint8_t * | dst, | |
const uint8_t * | src, | |||
int | dstStride, | |||
int | srcStride, | |||
int | h | |||
) | [inline, static] |
static void copy_block9 | ( | uint8_t * | dst, | |
const uint8_t * | src, | |||
int | dstStride, | |||
int | srcStride, | |||
int | h | |||
) | [inline, static] |
void dsputil_init | ( | DSPContext * | p, | |
AVCodecContext * | avctx | |||
) |
Definition at line 2823 of file dsputil.c.
Referenced by aac_decode_init(), ac3_decode_init(), ape_decode_init(), atrac1_decode_init(), atrac3_decode_init(), common_init(), config_props(), dca_decode_init(), decode_init(), decode_slice_header(), decoder_init(), dirac_decode_init(), dnxhd_decode_header(), dnxhd_encode_init(), dsp_init(), dvvideo_init(), encode_init(), ff_ac3_encode_init(), ff_dct_common_init(), ff_mjpeg_decode_init(), ff_vp56_init(), ff_wma_init(), imc_decode_init(), ipvideo_decode_init(), lag_decode_init(), main(), mca(), mdec_common_init(), mimic_decode_init(), mlp_decode_init(), mp_decode_init(), mpc7_decode_init(), mpc8_decode_init(), png_enc_init(), ra288_decode_init(), svq1_encode_init(), tgq_decode_init(), tqi_decode_init(), truespeech_decode_init(), twin_decode_init(), vble_decode_init(), vf_open(), vorbis_decode_init(), vp3_decode_init(), and vp8_decode_init().
void dsputil_init_alpha | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_init_arm | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_init_bfin | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_init_mlib | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_init_mmi | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_init_mmx | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_init_ppc | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_init_sh4 | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_init_vis | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void dsputil_static_init | ( | void | ) |
void fdct_ifast | ( | DCTELEM * | data | ) |
Definition at line 208 of file jfdctfst.c.
Referenced by dct_quantize_trellis_c(), dsputil_init(), and ff_convert_matrix().
void fdct_ifast248 | ( | DCTELEM * | data | ) |
void ff_add_pixels_clamped_c | ( | const DCTELEM * | block, | |
uint8_t * | dest, | |||
int | linesize | |||
) |
void ff_avg_rv40_qpel16_mc33_c | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | stride | |||
) |
Referenced by ff_rv40dsp_init().
void ff_avg_rv40_qpel8_mc33_c | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | stride | |||
) |
Referenced by ff_rv40dsp_init().
void ff_block_permute | ( | DCTELEM * | block, | |
uint8_t * | permutation, | |||
const uint8_t * | scantable, | |||
int | last | |||
) |
permute block according to permuatation.
last | last non zero element in scantable order |
block | the block which will be permuted according to the given permutation vector | |
permutation | the permutation vector | |
last | the last non zero coefficient in scantable order, used to speed the permutation up | |
scantable | the used scantable, this is only used to speed the permutation up, the block is not (inverse) permutated to scantable order! |
Definition at line 1828 of file dsputil.c.
Referenced by dct_quantize_altivec(), dct_quantize_bfin(), and dct_quantize_c().
int ff_check_alignment | ( | void | ) |
Definition at line 2803 of file dsputil.c.
Referenced by dsputil_init(), encode_thread(), estimate_motion_thread(), and mb_var_thread().
void ff_dsputil_init_dwt | ( | DSPContext * | c | ) |
void ff_ea_idct_put_c | ( | uint8_t * | dest, | |
int | linesize, | |||
DCTELEM * | block | |||
) |
void ff_fdct248_islow_10 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init().
void ff_fdct248_islow_8 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init().
void ff_fdct_mmx | ( | DCTELEM * | block | ) |
Referenced by dsputilenc_init_mmx().
void ff_fdct_mmx2 | ( | DCTELEM * | block | ) |
Referenced by dsputilenc_init_mmx().
void ff_fdct_sse2 | ( | DCTELEM * | block | ) |
Referenced by dsputilenc_init_mmx().
void ff_gmc_c | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | stride, | |||
int | h, | |||
int | ox, | |||
int | oy, | |||
int | dxx, | |||
int | dxy, | |||
int | dyx, | |||
int | dyy, | |||
int | shift, | |||
int | r, | |||
int | width, | |||
int | height | |||
) |
void ff_init_scantable | ( | uint8_t * | , | |
ScanTable * | st, | |||
const uint8_t * | src_scantable | |||
) |
Definition at line 124 of file dsputil.c.
Referenced by common_init(), decode_frame_header(), decode_init(), decode_pic(), decode_vop_header(), dnxhd_init_vlc(), ff_dct_common_init(), ff_intrax8_common_init(), ff_mjpeg_decode_init(), ff_vp56_init(), ff_wmv2_common_init(), mimic_decode_init(), mpeg_decode_picture_coding_extension(), tgq_decode_init(), tqi_decode_init(), and vp3_decode_init().
void ff_init_scantable_permutation | ( | uint8_t * | idct_permutation, | |
int | idct_permutation_type | |||
) |
Definition at line 148 of file dsputil.c.
Referenced by decode_init(), dsputil_init(), and ff_proresdsp_init().
void ff_intrax8dsp_init | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void ff_jpeg_fdct_islow_10 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), fdct_get(), and ff_convert_matrix().
void ff_jpeg_fdct_islow_8 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), and ff_convert_matrix().
void ff_mlp_init | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void ff_mlp_init_x86 | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
void ff_put_pixels_clamped_c | ( | const DCTELEM * | block, | |
uint8_t * | dest, | |||
int | linesize | |||
) |
void ff_put_rv40_qpel16_mc33_c | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | stride | |||
) |
Referenced by ff_rv40dsp_init().
void ff_put_rv40_qpel8_mc33_c | ( | uint8_t * | dst, | |
uint8_t * | src, | |||
int | stride | |||
) |
Referenced by ff_rv40dsp_init().
void ff_put_signed_pixels_clamped_c | ( | const DCTELEM * | block, | |
uint8_t * | dest, | |||
int | linesize | |||
) |
void ff_set_cmp | ( | DSPContext * | c, | |
me_cmp_func * | cmp, | |||
int | type | |||
) |
Definition at line 1853 of file dsputil.c.
Referenced by dvvideo_init(), ff_init_me(), and MPV_encode_init().
void ff_shrink22 | ( | uint8_t * | dst, | |
int | dst_wrap, | |||
const uint8_t * | src, | |||
int | src_wrap, | |||
int | width, | |||
int | height | |||
) |
void ff_shrink44 | ( | uint8_t * | dst, | |
int | dst_wrap, | |||
const uint8_t * | src, | |||
int | src_wrap, | |||
int | width, | |||
int | height | |||
) |
void ff_shrink88 | ( | uint8_t * | dst, | |
int | dst_wrap, | |||
const uint8_t * | src, | |||
int | src_wrap, | |||
int | width, | |||
int | height | |||
) |
void ff_svq3_add_idct_c | ( | uint8_t * | dst, | |
DCTELEM * | block, | |||
int | stride, | |||
int | qp, | |||
int | dc | |||
) |
Definition at line 173 of file svq3.c.
Referenced by hl_decode_mb_idct_luma(), hl_decode_mb_internal(), and hl_decode_mb_predict_luma().
void ff_vp3_h_loop_filter_c | ( | uint8_t * | src, | |
int | stride, | |||
int * | bounding_values | |||
) |
void ff_vp3_idct_add_c | ( | uint8_t * | dest, | |
int | line_size, | |||
DCTELEM * | block | |||
) |
void ff_vp3_idct_c | ( | DCTELEM * | block | ) |
void ff_vp3_idct_dc_add_c | ( | uint8_t * | dest, | |
int | line_size, | |||
const DCTELEM * | block | |||
) |
void ff_vp3_idct_put_c | ( | uint8_t * | dest, | |
int | line_size, | |||
DCTELEM * | block | |||
) |
void ff_vp3_v_loop_filter_c | ( | uint8_t * | src, | |
int | stride, | |||
int * | bounding_values | |||
) |
void ff_wmv2_idct_c | ( | DCTELEM * | data | ) |
Definition at line 2719 of file dsputil.c.
Referenced by dsputil_init(), ff_wmv2_idct_add_c(), and ff_wmv2_idct_put_c().
static int get_penalty_factor | ( | int | lambda, | |
int | lambda2, | |||
int | type | |||
) | [inline, static] |
Definition at line 620 of file dsputil.h.
Referenced by ff_estimate_motion_b(), ff_estimate_p_frame_motion(), and ff_pre_estimate_p_frame_motion().
void j_rev_dct | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), ff_jref_idct_add(), and ff_jref_idct_put().
void j_rev_dct1 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init().
void j_rev_dct2 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), ff_jref_idct2_add(), and ff_jref_idct2_put().
void j_rev_dct4 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), ff_jref_idct4_add(), and ff_jref_idct4_put().
static uint32_t no_rnd_avg32 | ( | uint32_t | a, | |
uint32_t | b | |||
) | [inline, static] |
static uint64_t no_rnd_avg64 | ( | uint64_t | a, | |
uint64_t | b | |||
) | [inline, static] |
static uint32_t rnd_avg32 | ( | uint32_t | a, | |
uint32_t | b | |||
) | [inline, static] |
static uint64_t rnd_avg64 | ( | uint64_t | a, | |
uint64_t | b | |||
) | [inline, static] |
const uint8_t ff_alternate_horizontal_scan[64] |
Definition at line 88 of file dsputil.c.
Referenced by decode_vop_header(), and ff_dct_common_init().
const uint8_t ff_alternate_vertical_scan[64] |
Definition at line 99 of file dsputil.c.
Referenced by decode_vop_header(), ff_dct_common_init(), and mpeg_decode_picture_coding_extension().
uint8_t ff_cropTbl[256+2 *MAX_NEG_CROP] |
uint32_t ff_squareTbl[512] |
Definition at line 44 of file dsputil.c.
Referenced by dsputil_static_init(), pix_norm1_c(), sse(), sse16_c(), sse4_c(), and sse8_c().
const uint8_t ff_zigzag248_direct[64] |
const uint8_t ff_zigzag_direct[64] |
Definition at line 61 of file dsputil.c.
Referenced by decode_gop_header(), decode_i_block(), decode_init(), decode_pic(), decode_scaling_list(), decode_vol_header(), decode_vop_header(), dnxhd_init_qmat(), dnxhd_init_vlc(), dsputil_static_init(), dv_init_enc_block(), dvvideo_init(), encode_picture(), ff_dct_common_init(), ff_mjpeg_decode_init(), ff_vp56_init(), ff_write_quant_matrix(), fill_quantization_matrices(), fill_scaling_lists(), init_scan_tables(), load_matrix(), mpeg_decode_picture_coding_extension(), rtjpeg_decode_init(), tgq_decode_init(), tqi_decode_init(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_start_frame(), and vp3_decode_init().