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.
Go to the source code of this file.
Classes | |
| struct | DSPContext |
| DSPContext. More... | |
| struct | FFTComplex |
| struct | FFTContext |
| struct | MDCTContext |
Typedefs | |
| typedef short | DCTELEM |
| typedef int | DWTELEM |
| typedef short | IDWTELEM |
| 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(* | h264_weight_func )(uint8_t *block, int stride, int log2_denom, int weight, int offset) |
| typedef void(* | h264_biweight_func )(uint8_t *dst, uint8_t *src, int stride, int log2_denom, int weightd, int weights, int offset) |
| typedef struct slice_buffer_s | slice_buffer |
| typedef float | FFTSample |
Functions | |
| void | fdct_ifast (DCTELEM *data) |
| void | fdct_ifast248 (DCTELEM *data) |
| void | ff_jpeg_fdct_islow (DCTELEM *data) |
| void | ff_fdct248_islow (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_h264_idct8_add_c (uint8_t *dst, DCTELEM *block, int stride) |
| void | ff_h264_idct_add_c (uint8_t *dst, DCTELEM *block, int stride) |
| void | ff_h264_idct8_dc_add_c (uint8_t *dst, DCTELEM *block, int stride) |
| void | ff_h264_idct_dc_add_c (uint8_t *dst, DCTELEM *block, int stride) |
| void | ff_h264_lowres_idct_add_c (uint8_t *dst, int stride, DCTELEM *block) |
| void | ff_h264_lowres_idct_put_c (uint8_t *dst, int stride, DCTELEM *block) |
| void | ff_vector_fmul_add_add_c (float *dst, const float *src0, const float *src1, const float *src2, int src3, int blocksize, int step) |
| void | ff_float_to_int16_c (int16_t *dst, const float *src, int len) |
| 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_img_copy_plane (uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height) |
| 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) |
| DEF_OLD_QPEL (qpel16_mc11_old_c) DEF_OLD_QPEL(qpel16_mc31_old_c) DEF_OLD_QPEL(qpel16_mc12_old_c) DEF_OLD_QPEL(qpel16_mc32_old_c) DEF_OLD_QPEL(qpel16_mc13_old_c) DEF_OLD_QPEL(qpel16_mc33_old_c) DEF_OLD_QPEL(qpel8_mc11_old_c) DEF_OLD_QPEL(qpel8_mc31_old_c) DEF_OLD_QPEL(qpel8_mc12_old_c) DEF_OLD_QPEL(qpel8_mc32_old_c) DEF_OLD_QPEL(qpel8_mc13_old_c) DEF_OLD_QPEL(qpel8_mc33_old_c) typedef int(*me_cmp_func)(void *s | |
| 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 int | get_penalty_factor (int lambda, int lambda2, int type) |
| int | mm_support (void) |
| void | dsputil_init_alpha (DSPContext *c, AVCodecContext *avctx) |
| void | dsputil_init_armv4l (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 | add_pixels_clamped_mmx (const DCTELEM *block, uint8_t *pixels, int line_size) |
| void | put_pixels_clamped_mmx (const DCTELEM *block, uint8_t *pixels, int line_size) |
| void | put_signed_pixels_clamped_mmx (const DCTELEM *block, uint8_t *pixels, int line_size) |
| static void | emms (void) |
| void | dsputil_init_pix_mmx (DSPContext *c, AVCodecContext *avctx) |
| void | get_psnr (uint8_t *orig_image[3], uint8_t *coded_image[3], int orig_linesize[3], int coded_linesize, AVCodecContext *avctx) |
| int | ff_fft_init (FFTContext *s, int nbits, int inverse) |
| The size of the FFT is 2^nbits. | |
| void | ff_fft_permute (FFTContext *s, FFTComplex *z) |
| Do the permutation needed BEFORE calling ff_fft_calc(). | |
| void | ff_fft_calc_c (FFTContext *s, FFTComplex *z) |
| Do a complex FFT with the parameters defined in ff_fft_init(). | |
| void | ff_fft_calc_sse (FFTContext *s, FFTComplex *z) |
| void | ff_fft_calc_3dn (FFTContext *s, FFTComplex *z) |
| void | ff_fft_calc_3dn2 (FFTContext *s, FFTComplex *z) |
| void | ff_fft_calc_altivec (FFTContext *s, FFTComplex *z) |
| Do a complex FFT with the parameters defined in ff_fft_init(). | |
| static void | ff_fft_calc (FFTContext *s, FFTComplex *z) |
| void | ff_fft_end (FFTContext *s) |
| int | ff_mdct_init (MDCTContext *s, int nbits, int inverse) |
| init MDCT or IMDCT computation. | |
| void | ff_imdct_calc (MDCTContext *s, FFTSample *output, const FFTSample *input, FFTSample *tmp) |
| Compute inverse MDCT of size N = 2^nbits. | |
| void | ff_imdct_calc_3dn2 (MDCTContext *s, FFTSample *output, const FFTSample *input, FFTSample *tmp) |
| void | ff_imdct_calc_sse (MDCTContext *s, FFTSample *output, const FFTSample *input, FFTSample *tmp) |
| void | ff_mdct_calc (MDCTContext *s, FFTSample *out, const FFTSample *input, FFTSample *tmp) |
| Compute MDCT of size N = 2^nbits. | |
| void | ff_mdct_end (MDCTContext *s) |
| static void | copy_block2 (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h) |
| static void | copy_block4 (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h) |
| static void | copy_block8 (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h) |
| static void | copy_block9 (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h) |
| static void | copy_block16 (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h) |
| static void | copy_block17 (uint8_t *dst, 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] |
| uint8_t * | blk1 |
| uint8_t uint8_t * | blk2 |
| uint8_t uint8_t int | line_size |
| uint8_t uint8_t int int | h |
| int | mm_flags |
| 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(* h264_weight_func)(uint8_t *block, int stride, int log2_denom, int weight, int offset) |
| typedef void(* h264_biweight_func)(uint8_t *dst, uint8_t *src, int stride, int log2_denom, int weightd, int weights, int offset) |
| typedef struct slice_buffer_s slice_buffer |
| void fdct_ifast | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), and ff_convert_matrix().
| void fdct_ifast248 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init().
| void ff_jpeg_fdct_islow | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), and ff_convert_matrix().
| void ff_fdct248_islow | ( | DCTELEM * | data | ) |
Referenced by dsputil_init().
| void j_rev_dct | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), ff_jref_idct_add(), and ff_jref_idct_put().
| void j_rev_dct4 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), ff_jref_idct4_add(), and ff_jref_idct4_put().
| void j_rev_dct2 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init(), ff_jref_idct2_add(), and ff_jref_idct2_put().
| void j_rev_dct1 | ( | DCTELEM * | data | ) |
Referenced by dsputil_init().
| void ff_wmv2_idct_c | ( | DCTELEM * | data | ) |
Definition at line 3823 of file dsputil.c.
Referenced by dsputil_init(), ff_wmv2_idct_add_c(), and ff_wmv2_idct_put_c().
| void ff_fdct_mmx | ( | DCTELEM * | block | ) |
Referenced by dsputil_init_mmx().
| void ff_fdct_mmx2 | ( | DCTELEM * | block | ) |
Referenced by dsputil_init_mmx().
| void ff_fdct_sse2 | ( | DCTELEM * | block | ) |
Referenced by dsputil_init_mmx().
| void ff_h264_idct8_add_c | ( | uint8_t * | dst, | |
| DCTELEM * | block, | |||
| int | stride | |||
| ) |
Definition at line 73 of file h264idct.c.
Referenced by dsputil_init(), init_dequant8_coeff_table(), and init_scan_tables().
| void ff_h264_idct_add_c | ( | uint8_t * | dst, | |
| DCTELEM * | block, | |||
| int | stride | |||
| ) |
Definition at line 61 of file h264idct.c.
Referenced by dsputil_init(), init_dequant4_coeff_table(), and init_scan_tables().
| void ff_h264_idct8_dc_add_c | ( | uint8_t * | dst, | |
| DCTELEM * | block, | |||
| int | stride | |||
| ) |
| void ff_h264_idct_dc_add_c | ( | uint8_t * | dst, | |
| DCTELEM * | block, | |||
| int | stride | |||
| ) |
| void ff_h264_lowres_idct_add_c | ( | uint8_t * | dst, | |
| int | stride, | |||
| DCTELEM * | block | |||
| ) |
| void ff_h264_lowres_idct_put_c | ( | uint8_t * | dst, | |
| int | stride, | |||
| DCTELEM * | block | |||
| ) |
| void ff_vector_fmul_add_add_c | ( | float * | dst, | |
| const float * | src0, | |||
| const float * | src1, | |||
| const float * | src2, | |||
| int | src3, | |||
| int | blocksize, | |||
| int | step | |||
| ) |
Definition at line 3741 of file dsputil.c.
Referenced by dsputil_init(), vector_fmul_add_add_3dnow(), vector_fmul_add_add_altivec(), and vector_fmul_add_add_sse().
| void ff_float_to_int16_c | ( | int16_t * | dst, | |
| const float * | src, | |||
| int | len | |||
| ) |
Definition at line 3747 of file dsputil.c.
Referenced by ac3_decode_init(), decode_init(), dsputil_init(), and vorbis_decode_init().
| 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_img_copy_plane | ( | uint8_t * | dst, | |
| int | dst_wrap, | |||
| const uint8_t * | src, | |||
| int | src_wrap, | |||
| int | width, | |||
| int | height | |||
| ) |
Definition at line 795 of file imgconvert.c.
Referenced by av_picture_copy(), dsputil_init(), and img_convert().
| 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 | |||
| ) |
| DEF_OLD_QPEL | ( | qpel16_mc11_old_c | ) |
| void dsputil_static_init | ( | void | ) |
| void dsputil_init | ( | DSPContext * | p, | |
| AVCodecContext * | avctx | |||
| ) |
Definition at line 3931 of file dsputil.c.
Referenced by ac3_decode_init(), ape_decode_init(), atrac3_decode_init(), cinepak_decode_init(), common_init(), dca_decode_init(), decode_init(), dnxhd_decode_init(), dnxhd_encode_init(), dvvideo_init(), ff_mjpeg_decode_init(), ff_wma_init(), flac_encode_init(), idcin_decode_init(), imc_decode_init(), ipvideo_decode_init(), main(), mdec_common_init(), mpc7_decode_init(), mpc8_decode_init(), MPV_common_init(), msvideo1_decode_init(), qtrle_decode_init(), roq_decode_init(), rpza_decode_init(), smc_decode_init(), svq1_encode_init(), vmdvideo_decode_init(), vorbis_decode_init(), vp3_decode_init(), vp56_init(), and vqa_decode_init().
| int ff_check_alignment | ( | void | ) |
Definition at line 3911 of file dsputil.c.
Referenced by dsputil_init(), encode_thread(), estimate_motion_thread(), and mb_var_thread().
| 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 3144 of file dsputil.c.
Referenced by dct_quantize_altivec(), dct_quantize_bfin(), and dct_quantize_c().
| void ff_set_cmp | ( | DSPContext * | c, | |
| me_cmp_func * | cmp, | |||
| int | type | |||
| ) |
Definition at line 3169 of file dsputil.c.
Referenced by encode_init(), ff_init_me(), and MPV_encode_init().
| static int get_penalty_factor | ( | int | lambda, | |
| int | lambda2, | |||
| int | type | |||
| ) | [inline, static] |
Definition at line 453 of file dsputil.h.
Referenced by encode_q_branch(), ff_estimate_motion_b(), ff_estimate_p_frame_motion(), ff_pre_estimate_p_frame_motion(), get_4block_rd(), and get_block_rd().
| int mm_support | ( | void | ) |
Definition at line 47 of file cputest.c.
Referenced by detectCPUextensions(), dsputil_init_mmx(), ff_fft_init(), fillTableMMX(), GreedyHDeintFilter(), init_yuv_conversion(), main(), new_filter(), NewDenoise3DFilter(), NewKernelDeintFilter(), OSDSurface::OSDSurface(), YadifDeintFilter(), zoom_filter_mmx_supported(), and zoom_filter_xmmx_supported().
| void dsputil_init_alpha | ( | DSPContext * | c, | |
| AVCodecContext * | avctx | |||
| ) |
| void dsputil_init_armv4l | ( | 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 add_pixels_clamped_mmx | ( | const DCTELEM * | block, | |
| uint8_t * | pixels, | |||
| int | line_size | |||
| ) |
Definition at line 350 of file dsputil_mmx.c.
Referenced by cavs_idct8_add_mmx(), dsputil_init_mmx(), ff_h264_idct8_add_mmx(), ff_idct_xvid_mmx2_add(), ff_idct_xvid_mmx_add(), ff_libmpeg2mmx2_idct_add(), ff_libmpeg2mmx_idct_add(), ff_simple_idct_add_mmx(), ff_vp3_idct_add_mmx(), and ff_vp3_idct_add_sse2().
| void put_pixels_clamped_mmx | ( | const DCTELEM * | block, | |
| uint8_t * | pixels, | |||
| int | line_size | |||
| ) |
Definition at line 277 of file dsputil_mmx.c.
Referenced by dsputil_init_mmx(), ff_idct_xvid_mmx2_put(), ff_idct_xvid_mmx_put(), ff_libmpeg2mmx2_idct_put(), ff_libmpeg2mmx_idct_put(), and ff_simple_idct_put_mmx().
| void put_signed_pixels_clamped_mmx | ( | const DCTELEM * | block, | |
| uint8_t * | pixels, | |||
| int | line_size | |||
| ) |
Definition at line 335 of file dsputil_mmx.c.
Referenced by dsputil_init_mmx(), ff_vp3_idct_put_mmx(), and ff_vp3_idct_put_sse2().
| static void emms | ( | void | ) | [inline, static] |
Definition at line 519 of file dsputil.h.
Referenced by adjustFilter(), blendalpha8_mmx(), blendcolor_mmx(), blendcolumn2_mmx(), blendcolumn_mmx(), blendconst_mmx(), blendregion_mmx(), blendtoargb_8_mmx(), RTjpeg::compress8(), RTjpeg::compressYUV420(), RTjpeg::compressYUV422(), RTjpeg::decompress8(), RTjpeg::decompressYUV420(), RTjpeg::decompressYUV422(), denoise3DFilter(), dithertoia44_8_mmx(), h_resample_fast4_mmx(), ifs_update(), KernelDeint(), linearBlendFilter(), RTjpeg::mcompress8(), RTjpeg::mcompressYUV420(), RTjpeg::mcompressYUV422(), mmx_i420_2vuy(), state_restore_mmx(), v_resample4_mmx(), vfilter_chroma_332_packed422_scanline_mmx(), yuv420_argb32(), yuv420_rgb16(), yuy2_to_yv12_mmxext(), yv12_to_yuy2_mmxext(), zoom_filter_mmx(), and zoom_filter_xmmx().
| void dsputil_init_pix_mmx | ( | DSPContext * | c, | |
| AVCodecContext * | avctx | |||
| ) |
Referenced by dsputil_init_mmx().
| void get_psnr | ( | uint8_t * | orig_image[3], | |
| uint8_t * | coded_image[3], | |||
| int | orig_linesize[3], | |||
| int | coded_linesize, | |||
| AVCodecContext * | avctx | |||
| ) |
| int ff_fft_init | ( | FFTContext * | s, | |
| int | nbits, | |||
| int | inverse | |||
| ) |
The size of the FFT is 2^nbits.
If inverse is TRUE, inverse FFT is done
Definition at line 33 of file fft.c.
Referenced by decoder_impl::decoder_impl(), ff_mdct_init(), imc_decode_init(), main(), and qdm2_decode_init().
| void ff_fft_permute | ( | FFTContext * | s, | |
| FFTComplex * | z | |||
| ) |
Do the permutation needed BEFORE calling ff_fft_calc().
Definition at line 238 of file fft.c.
Referenced by decoder_impl::apply_filter(), imc_imdct256(), main(), and qdm2_calculate_fft().
| void ff_fft_calc_c | ( | FFTContext * | s, | |
| FFTComplex * | z | |||
| ) |
Do a complex FFT with the parameters defined in ff_fft_init().
The input data must be permuted before with s->revtab table. No 1.0/sqrt(n) normalization is done.
Definition at line 161 of file fft.c.
Referenced by ff_fft_init().
| void ff_fft_calc_sse | ( | FFTContext * | s, | |
| FFTComplex * | z | |||
| ) |
| void ff_fft_calc_3dn | ( | FFTContext * | s, | |
| FFTComplex * | z | |||
| ) |
| void ff_fft_calc_3dn2 | ( | FFTContext * | s, | |
| FFTComplex * | z | |||
| ) |
| void ff_fft_calc_altivec | ( | FFTContext * | s, | |
| FFTComplex * | z | |||
| ) |
Do a complex FFT with the parameters defined in ff_fft_init().
The input data must be permuted before with s->revtab table. No 1.0/sqrt(n) normalization is done. AltiVec-enabled This code assumes that the 'z' pointer is 16 bytes-aligned It also assumes all FFTComplex are 8 bytes-aligned pair of float The code is exactly the same as the SSE version, except that successive MUL + ADD/SUB have been merged into fused multiply-add ('vec_madd' in altivec)
Definition at line 65 of file fft_altivec.c.
Referenced by ff_fft_init().
| static void ff_fft_calc | ( | FFTContext * | s, | |
| FFTComplex * | z | |||
| ) | [inline, static] |
Definition at line 632 of file dsputil.h.
Referenced by decoder_impl::apply_filter(), decoder_impl::block_decode(), ff_imdct_calc(), ff_imdct_calc_3dn2(), ff_mdct_calc(), imc_imdct256(), main(), and qdm2_calculate_fft().
| void ff_fft_end | ( | FFTContext * | s | ) |
Definition at line 256 of file fft.c.
Referenced by ff_mdct_end(), imc_decode_close(), main(), qdm2_decode_close(), and decoder_impl::~decoder_impl().
| int ff_mdct_init | ( | MDCTContext * | s, | |
| int | nbits, | |||
| int | inverse | |||
| ) |
init MDCT or IMDCT computation.
Definition at line 31 of file mdct.c.
Referenced by ac3_decode_init(), create_vorbis_context(), decode_init(), encode_init(), init_atrac3_transforms(), init_cook_mlt(), main(), vorbis_parse_id_hdr(), and wma_decode_init().
| void ff_imdct_calc | ( | MDCTContext * | s, | |
| FFTSample * | output, | |||
| const FFTSample * | input, | |||
| FFTSample * | tmp | |||
| ) |
Compute inverse MDCT of size N = 2^nbits.
| output | N samples | |
| input | N/2 samples | |
| tmp | N/2 samples |
Definition at line 79 of file mdct.c.
Referenced by ff_fft_init(), and main().
| void ff_imdct_calc_3dn2 | ( | MDCTContext * | s, | |
| FFTSample * | output, | |||
| const FFTSample * | input, | |||
| FFTSample * | tmp | |||
| ) |
| void ff_imdct_calc_sse | ( | MDCTContext * | s, | |
| FFTSample * | output, | |||
| const FFTSample * | input, | |||
| FFTSample * | tmp | |||
| ) |
| void ff_mdct_calc | ( | MDCTContext * | s, | |
| FFTSample * | out, | |||
| const FFTSample * | input, | |||
| FFTSample * | tmp | |||
| ) |
Compute MDCT of size N = 2^nbits.
| input | N samples | |
| out | N/2 samples | |
| tmp | temporary storage of N/2 samples |
Definition at line 131 of file mdct.c.
Referenced by apply_window_and_mdct(), and main().
| void ff_mdct_end | ( | MDCTContext * | s | ) |
Definition at line 172 of file mdct.c.
Referenced by ac3_decode_end(), cook_decode_close(), decode_end(), ff_wma_end(), main(), vorbis_encode_close(), and vorbis_free().
| static void copy_block2 | ( | uint8_t * | dst, | |
| uint8_t * | src, | |||
| int | dstStride, | |||
| int | srcStride, | |||
| int | h | |||
| ) | [inline, static] |
| static void copy_block4 | ( | uint8_t * | dst, | |
| uint8_t * | src, | |||
| int | dstStride, | |||
| int | srcStride, | |||
| int | h | |||
| ) | [inline, static] |
| static void copy_block8 | ( | uint8_t * | dst, | |
| uint8_t * | src, | |||
| int | dstStride, | |||
| int | srcStride, | |||
| int | h | |||
| ) | [inline, static] |
| static void copy_block9 | ( | uint8_t * | dst, | |
| uint8_t * | src, | |||
| int | dstStride, | |||
| int | srcStride, | |||
| int | h | |||
| ) | [inline, static] |
| static void copy_block16 | ( | uint8_t * | dst, | |
| uint8_t * | src, | |||
| int | dstStride, | |||
| int | srcStride, | |||
| int | h | |||
| ) | [inline, static] |
| static void copy_block17 | ( | uint8_t * | dst, | |
| uint8_t * | src, | |||
| int | dstStride, | |||
| int | srcStride, | |||
| int | h | |||
| ) | [inline, static] |
| const uint8_t ff_alternate_horizontal_scan[64] |
Definition at line 77 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 88 of file dsputil.c.
Referenced by decode_vop_header(), ff_dct_common_init(), and mpeg_decode_picture_coding_extension().
| const uint8_t ff_zigzag_direct[64] |
Definition at line 50 of file dsputil.c.
Referenced by decode_i_block(), decode_init(), decode_pic(), decode_vol_header(), decode_vop_header(), dnxhd_init_qmat(), dnxhd_init_vlc(), dsputil_static_init(), dv_encode_video_segment(), dvvideo_init(), ff_dct_common_init(), ff_mjpeg_decode_init(), ff_write_quant_matrix(), mpeg1_decode_sequence(), mpeg_decode_picture_coding_extension(), mpeg_decode_quant_matrix_extension(), rtjpeg_decode_init(), vp3_decode_init(), and vp56_init().
| const uint8_t ff_zigzag248_direct[64] |
Definition at line 63 of file dsputil.c.
Referenced by dv_encode_video_segment(), and dvvideo_init().
| uint32_t ff_squareTbl[512] |
Definition at line 48 of file dsputil.c.
Referenced by dsputil_static_init(), pix_norm1(), pix_norm1_c(), sse(), sse16_c(), sse4_c(), and sse8_c().
| uint8_t ff_cropTbl[256+2 *MAX_NEG_CROP] |
Definition at line 47 of file dsputil.c.
Referenced by add_pixels_clamped2_c(), add_pixels_clamped4_c(), add_pixels_clamped_c(), aiw_read_picture(), cavs_idct8_add_c(), deinterlace_line(), deinterlace_line_inplace(), dsputil_static_init(), ff_bfin_vp3_idct_put(), ff_h264_idct8_add_c(), ff_h264_idct8_dc_add_c(), ff_h264_idct_dc_add_c(), ff_idct_put_mlib(), ff_jref_idct1_add(), ff_jref_idct1_put(), H264_LOWPASS(), H264_WEIGHT(), h_block_filter(), idct(), idct4col(), idct4col_add(), idct_add(), idct_internal(), idct_put(), idctSparseColAdd(), idctSparseColPut(), img_convert_init(), intra_pred_plane(), pred16x16_plane_compat_c(), pred8x8_plane_c(), put_pixels_clamped2_c(), put_pixels_clamped4_c(), put_pixels_clamped_c(), svq3_add_idct_c(), v_block_filter(), wmv2_mspel8_v_lowpass(), and yuv_a_to_rgba().
| uint8_t uint8_t* blk2 |
| uint8_t uint8_t int int h |
Definition at line 151 of file dsputil.h.
Referenced by add_pixels_clamped_mvi(), aiw_read_picture(), alloc_blocks(), AllocFilter(), av_picture_copy(), avcodec_default_get_buffer(), AVF_Read_Packet(), AVF_Seek_Packet(), AVF_Write_Packet(), avg_pixels16(), avg_pixels16_l2(), avg_pixels16_x2(), avg_pixels16_xy2(), avg_pixels16_y2(), avg_pixels4_l2(), avg_pixels8(), avg_pixels8_l2(), avg_pixels8_x2(), avg_pixels8_xy2(), avg_pixels8_y2(), avpicture_layout(), AAFilter::calculateCoeffs(), cavs_decode_frame(), cavs_flush(), ChannelEditor::ChannelEditor(), clearTable(), VideoOutput::CopyFrame(), cropYuvImage(), decode_dvd_subtitles(), decode_frame(), decode_init(), decode_p_block(), decode_sequence_header_adv(), DVDRingBufferPriv::DecodeSubtitles(), RTjpeg::Decompress(), DEFCSP420_CVT(), SipFsm::DetermineNatAddress(), diff_pixels_mvi(), NuppelVideoPlayer::DisplayDVDButton(), Squares::draw(), UIBarType::Draw(), OSDTypeBox::Draw(), draw_slice(), TTFFont::DrawString(), dxa_read_header(), SingleView::EffectNoise(), SingleView::EffectSweep(), ELFHash(), encode_block(), encode_close(), encode_frame(), encode_init(), encode_picture_lossless(), encode_q_branch(), encode_subband_c0run(), encode_thread(), MythListView::ensureItemVCentered(), epzs_motion_search2(), epzs_motion_search4(), fdct_altivec(), ff_cavs_end(), ff_cavs_init(), ff_h261_encode_mb(), ff_h261_encode_picture_header(), ff_h261_loop_filter(), ff_mjpeg_decode_sos(), ff_pnm_decode_header(), ff_rm_parse_packet(), ff_rtp_send_mpegvideo(), find_smallest_bounding_rectangle(), DVDRingBufferPriv::find_smallest_bounding_rectangle(), findCode(), flush_packet(), generate_len_table(), get_intra_count(), get_pixels_mvi(), NuppelVideoPlayer::GetARGBFrame(), MythOpenGLPainter::GetImageFromString(), HostRefreshRateComboBox::GetRefreshRates(), MythContext::GetResolutionSetting(), OpenGLVideo::GetTextureSize(), GuiVidModeResolution(), h261_decode_end(), h261_decode_frame(), h261_decode_init(), h261_encode_gob_header(), h263_mv4_search(), h264_parse(), SipUrl::HostnameToIpAddr(), if(), img_convert(), ingenient_read_packet(), VideoOutputXv::InitDisplayMeasurements(), interlaced_search(), interleaveBytes(), IconView::keyPressEvent(), MythWizard::layOutButtonRow(), ljpeg_decode_yuv_scan(), MythUIImage::Load(), load_input_picture(), matroska_parse_block(), mjpeg_decode_scan(), MP3HuffmanDecode(), MP3HuffmanEncode(), mpeg4_decode_sprite_trajectory(), mpeg_decode_sequence_display_extension(), MPV_encode_picture(), pam_encode_frame(), XMLParseBase::parseRect(), XMLParse::parseRect(), OSD::parseRect(), pat_cb(), pat_scan_cb(), pix_abs16x16_mvi(), pix_sum16_mmx(), pnm_decode_frame(), pnm_encode_frame(), Synaesthesia::process(), pts2time(), pts2ts(), ptx_decode_frame(), put_cursor(), put_no_rnd_pixels16_l2(), put_no_rnd_pixels16_x2(), put_no_rnd_pixels16_y2(), put_no_rnd_pixels8_l2(), put_no_rnd_pixels8_x2(), put_no_rnd_pixels8_y2(), put_pixels16_l2(), put_pixels16_x2(), put_pixels16_y2(), put_pixels4_l2(), put_pixels8_l2(), put_pixels8_x2(), put_pixels8_y2(), Gears::resizeGL(), rm_read_dts(), rtjpeg_decode_frame_yuv420(), rtp_parse_packet(), scaleYuvImage(), sdt_cb(), cCiDateTime::SendDateTime(), OpenGLVideo::SetViewPort(), VideoOutput::ShowPip(), smka_decode_frame(), sse_mb(), sub_read_line_subrip(), svq1_motion_inter_4v_block(), svq1_motion_inter_block(), svq3_decode_frame(), tm2_read_header(), VideoOutputQuartzView::Transform(), txd_decode_frame(), unpack_coeffs(), PlaybackBox::updateShowTitles(), url_exist(), url_fclose(), url_fopen(), url_read_packet(), url_resetbuf(), url_seek_packet(), url_write_packet(), usage(), vu9_to_vu12(), yuv2packed2(), yuv420p_to_uyvy422(), yuv420p_to_yuyv422(), YUV420PtoRGB32(), YUV422PtoRGB32(), YUV422PtoYUV420P(), and yvu9_to_yuy2().
| int mm_flags |
Definition at line 546 of file dsputil.h.
Referenced by component_resample(), dsputil_init_iwmmxt(), dsputil_init_mmx(), dsputil_init_ppc(), ff_h263_decode_frame(), h_resample(), main(), MPV_common_init_iwmmxt(), MPV_common_init_mmx(), and PIX_SAD().
1.5.5