FFmpeg
|
DCT test (c) 2001 Fabrice Bellard Started from sample code by Juan J. More...
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "libavutil/cpu.h"
#include "libavutil/common.h"
#include "libavutil/lfg.h"
#include "libavutil/time.h"
#include "dct.h"
#include "simple_idct.h"
#include "aandcttab.h"
#include "faandct.h"
#include "faanidct.h"
#include "x86/idct_xvid.h"
#include "dctref.h"
#include "compat/getopt.c"
Go to the source code of this file.
Data Structures | |
struct | algo |
Macros | |
#define | AANSCALE_BITS 12 |
#define | NB_ITS 20000 |
#define | NB_ITS_SPEED 50000 |
Functions | |
void | ff_fdct_altivec (int16_t *block) |
void | ff_j_rev_dct_arm (int16_t *data) |
void | ff_simple_idct_arm (int16_t *data) |
void | ff_simple_idct_armv5te (int16_t *data) |
void | ff_simple_idct_armv6 (int16_t *data) |
void | ff_simple_idct_neon (int16_t *data) |
static void | ff_prores_idct_wrap (int16_t *dst) |
static void | idct_mmx_init (void) |
static void | init_block (int16_t block[64], int test, int is_idct, AVLFG *prng, int vals) |
static void | permute (int16_t dst[64], const int16_t src[64], int perm) |
static int | dct_error (const struct algo *dct, int test, int is_idct, int speed, const int bits) |
static void | idct248_ref (uint8_t *dest, int linesize, int16_t *block) |
static void | idct248_error (const char *name, void(*idct248_put)(uint8_t *dest, int line_size, int16_t *block), int speed) |
static void | help (void) |
int | main (int argc, char **argv) |
Variables | |
static int | cpu_flags |
static struct algo | fdct_tab [] |
static struct algo | idct_tab [] |
static short | idct_mmx_perm [64] |
static short | idct_simple_mmx_perm [64] |
static const uint8_t | idct_sse2_row_perm [8] = { 0, 4, 1, 5, 2, 6, 3, 7 } |
static int16_t | block [64] |
static int16_t | block1 [64] |
static uint8_t | img_dest [64] |
static uint8_t | img_dest1 [64] |
DCT test (c) 2001 Fabrice Bellard Started from sample code by Juan J.
Sierralta P.
Definition in file dct-test.c.
#define AANSCALE_BITS 12 |
Definition at line 165 of file dct-test.c.
Referenced by dct_error().
#define NB_ITS 20000 |
Definition at line 167 of file dct-test.c.
Referenced by dct_error(), and idct248_error().
#define NB_ITS_SPEED 50000 |
Definition at line 168 of file dct-test.c.
Referenced by dct_error(), and idct248_error().
void ff_fdct_altivec | ( | int16_t * | block | ) |
Referenced by ff_fdctdsp_init_ppc().
void ff_j_rev_dct_arm | ( | int16_t * | data | ) |
void ff_simple_idct_arm | ( | int16_t * | data | ) |
void ff_simple_idct_armv5te | ( | int16_t * | data | ) |
void ff_simple_idct_armv6 | ( | int16_t * | data | ) |
void ff_simple_idct_neon | ( | int16_t * | data | ) |
|
static |
Definition at line 94 of file dct-test.c.
Definition at line 185 of file dct-test.c.
Referenced by main().
Definition at line 198 of file dct-test.c.
Referenced by dct_error().
|
static |
Definition at line 228 of file dct-test.c.
Referenced by dct_error(), vp5_parse_coeff(), vp6_parse_coeff(), and vp6_parse_coeff_huffman().
|
static |
Definition at line 253 of file dct-test.c.
Referenced by main().
Definition at line 360 of file dct-test.c.
Referenced by idct248_error().
|
static |
Definition at line 440 of file dct-test.c.
Referenced by main().
Definition at line 516 of file dct-test.c.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 532 of file dct-test.c.
|
static |
Definition at line 69 of file dct-test.c.
Referenced by ff_ac3dsp_init_arm(), ff_ac3dsp_init_x86(), ff_audio_convert_init_aarch64(), ff_audio_convert_init_arm(), ff_audio_convert_init_x86(), ff_audio_mix_init_x86(), ff_audio_resample_init_aarch64(), ff_audiodsp_init_arm(), ff_audiodsp_init_x86(), ff_blockdsp_init_arm(), ff_blockdsp_init_x86(), ff_bswapdsp_init_x86(), ff_cavsdsp_init_x86(), ff_celt_imdct_init_aarch64(), ff_dcadsp_init_arm(), ff_dcadsp_init_x86(), ff_dct_encode_init_x86(), ff_dct_init_x86(), ff_dither_init_x86(), ff_dsputil_init_arm(), ff_dsputil_init_pix_mmx(), ff_fdctdsp_init_x86(), ff_fft_fixed_init_arm(), ff_fft_init_aarch64(), ff_fft_init_arm(), ff_fft_init_x86(), ff_flacdsp_init_x86(), ff_float_dsp_init_aarch64(), ff_float_dsp_init_arm(), ff_float_dsp_init_x86(), ff_fmt_convert_init_arm(), ff_fmt_convert_init_x86(), ff_get_unscaled_swscale_arm(), ff_gradfun_init_x86(), ff_h263dsp_init_x86(), ff_h264_pred_init_arm(), ff_h264chroma_init_aarch64(), ff_h264chroma_init_arm(), ff_h264chroma_init_x86(), ff_h264dsp_init_aarch64(), ff_h264dsp_init_arm(), ff_h264dsp_init_x86(), ff_h264qpel_init_aarch64(), ff_h264qpel_init_arm(), ff_h264qpel_init_x86(), ff_hpeldsp_init_aarch64(), ff_hpeldsp_init_arm(), ff_hpeldsp_init_x86(), ff_huffyuvdsp_init_x86(), ff_huffyuvencdsp_init_x86(), ff_idctdsp_init_arm(), ff_idctdsp_init_x86(), ff_init_lls_x86(), ff_llauddsp_init_arm(), ff_llauddsp_init_x86(), ff_llviddsp_init_x86(), ff_lpc_init_x86(), ff_mlpdsp_init_arm(), ff_mlpdsp_init_x86(), ff_mpadsp_init_aarch64(), ff_mpadsp_init_arm(), ff_mpadsp_init_x86(), ff_mpegvideodsp_init_x86(), ff_mpegvideoencdsp_init_arm(), ff_mpegvideoencdsp_init_x86(), ff_MPV_common_init_arm(), ff_MPV_common_init_x86(), ff_pixblockdsp_init_arm(), ff_pixblockdsp_init_x86(), ff_pngdsp_init_x86(), ff_proresdsp_init_x86(), ff_psdsp_init_arm(), ff_pullup_init_x86(), ff_qpeldsp_init_x86(), ff_rv34dsp_init_arm(), ff_rv34dsp_init_x86(), ff_rv40dsp_init_aarch64(), ff_rv40dsp_init_arm(), ff_rv40dsp_init_x86(), ff_sbrdsp_init_arm(), ff_sbrdsp_init_x86(), ff_spp_init_x86(), ff_svq1enc_init_x86(), ff_sws_init_swscale_x86(), ff_synth_filter_init_arm(), ff_synth_filter_init_x86(), ff_ttadsp_init_x86(), ff_vc1dsp_init_aarch64(), ff_vc1dsp_init_arm(), ff_vc1dsp_init_x86(), ff_videodsp_init_aarch64(), ff_videodsp_init_arm(), ff_videodsp_init_x86(), ff_volume_init_x86(), ff_vorbisdsp_init_aarch64(), ff_vorbisdsp_init_arm(), ff_vorbisdsp_init_x86(), ff_vp3dsp_init_arm(), ff_vp3dsp_init_x86(), ff_vp6dsp_init_arm(), ff_vp6dsp_init_x86(), ff_vp78dsp_init_arm(), ff_vp78dsp_init_x86(), ff_vp8dsp_init_arm(), ff_vp8dsp_init_x86(), ff_vp9dsp_init_x86(), ff_yadif_init_x86(), ff_yuv2rgb_init_x86(), init(), main(), PRED4x4(), rgb2rgb_init_x86(), swri_audio_convert_init_arm(), sws_init_context(), swscale(), and v210_x86_init().
|
static |
Definition at line 71 of file dct-test.c.
Referenced by main().
|
static |
Definition at line 127 of file dct-test.c.
|
static |
Definition at line 170 of file dct-test.c.
|
static |
Definition at line 172 of file dct-test.c.
|
static |
Definition at line 183 of file dct-test.c.
|
static |
Definition at line 195 of file dct-test.c.
Referenced by add_yblock(), allocate_buffers(), apply_channel_coupling(), apply_mdct(), av_hmac_final(), av_hmac_init(), backup_duplicate_context(), bink_decode_plane(), binkb_decode_plane(), bit_alloc(), bit_alloc_masking(), check_4block_inter(), check_block(), compute_rematrixing_strategy(), count_exponent_bits(), count_frame_bits(), count_mantissa_bits_update_ch(), dca_subsubframe(), dca_xbr_parse_frame(), dct_error(), dct_get(), dct_quantize_TMPL(), dct_single_coeff_elimination(), decode(), decode_cell(), decode_cell_data(), decode_mb_b(), decode_mb_i(), decode_residual_block(), decode_residual_inter(), decode_slice_alpha(), decode_slice_chroma(), decode_slice_luma(), decode_yuv_frame(), diff_planes(), dirac_unpack_block_motion_data(), dnxhd_calc_bits_thread(), dnxhd_encode_thread(), dv_decode_video_segment(), dvbsub_parse_object_segment(), encode_block(), encode_exponents(), encode_slice_plane(), extract_exponents(), fdct_get(), ff_ac3_apply_rematrixing(), ff_ac3_compute_coupling_strategy(), ff_ac3_encode_close(), ff_ac3_group_exponents(), ff_ac3_quantize_mantissas(), ff_eac3_output_frame_header(), ff_eac3_set_cpl_states(), ff_fix_long_p_mvs(), ff_h263_pred_motion(), ff_h264_chroma422_dc_dequant_idct(), ff_h264_chroma_dc_dequant_idct(), ff_h264_idct8_add(), ff_h264_idct8_add4(), ff_h264_idct8_dc_add(), ff_h264_idct_add(), ff_h264_idct_add16(), ff_h264_idct_add16intra(), ff_h264_idct_add8(), ff_h264_idct_add8_422(), ff_h264_idct_dc_add(), ff_mss34_dct_put(), ff_rtjpeg_decode_frame_yuv420(), ff_simple_idct(), ff_simple_idct248_put(), ff_simple_idct_add(), ff_simple_idct_put(), ff_subblock_synthesis(), ff_vp56_decode_mbs(), fic_idct_put(), filter(), get(), get_pixels(), h263_mv4_search(), hl_decode_mb(), hl_decode_mb_idct_luma(), hl_decode_mb_predict_luma(), idct_block(), idct_put(), interlaced_search(), iterative_me(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), nelly_decode_block(), output_audio_block(), pixels16_x2(), pixels8_x2(), pixels8_xy2(), pixels8_y2(), pred4x4_horizontal_add(), pred4x4_vertical_add(), pred8x8l_horizontal_add(), pred8x8l_horizontal_filter_add(), pred8x8l_vertical_add(), pred8x8l_vertical_filter_add(), propagate_block_data(), render_slice(), ripemd128_transform(), ripemd160_transform(), scale_coefficients(), seq_decode_op1(), set_blocks(), sha1_transform(), sha256_transform(), sha512_transform(), snow_set_blocks(), tgq_idct_put_mb(), tqi_decode_mb(), tqi_idct_put(), vc1_decode_i_blocks_adv(), vc1_inv_trans_4x4_c(), vc1_inv_trans_4x8_c(), vc1_inv_trans_8x4_c(), vc1_inv_trans_8x8_c(), vlc_decode_block(), zmbv_decode_xor_16(), zmbv_decode_xor_32(), and zmbv_decode_xor_8().
|
static |
Definition at line 196 of file dct-test.c.
Referenced by dct_error(), dv_decode_video_segment(), idct248_error(), and idct248_ref().
|
static |
Definition at line 357 of file dct-test.c.
Referenced by idct248_error().
|
static |
Definition at line 358 of file dct-test.c.
Referenced by idct248_error().