FFmpeg
|
#include <stdint.h>
#include "config.h"
#include "libavutil/avstring.h"
#include "libavutil/cpu.h"
#include "libavutil/internal.h"
#include "libavutil/lfg.h"
#include "libavutil/timer.h"
Go to the source code of this file.
Data Structures | |
struct | CheckasmPerf |
Macros | |
#define | rnd() av_lfg_get(&checkasm_lfg) |
#define | BENCH_RUNS 1000 /* Trade-off between accuracy and speed */ |
#define | check_func(func,...) (func_ref = checkasm_check_func((func_new = func), __VA_ARGS__)) |
#define | declare_func(ret,...) declare_new(ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__) |
#define | declare_func_float(ret,...) declare_new_float(ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__) |
#define | declare_func_emms(cpu_flags, ret,...) declare_new_emms(cpu_flags, ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__) |
#define | fail() checkasm_fail_func("%s:%d", av_basename(__FILE__), __LINE__) |
#define | report checkasm_report |
#define | call_ref(...) ((func_type *)func_ref)(__VA_ARGS__) |
#define | declare_new(ret,...) |
#define | declare_new_float(ret,...) |
#define | declare_new_emms(cpu_flags, ret,...) |
#define | call_new(...) ((func_type *)func_new)(__VA_ARGS__) |
#define | bench_new(...) while(0) |
#define | PERF_START(t) while(0) |
#define | PERF_STOP(t) while(0) |
Variables | |
AVLFG | checkasm_lfg |
static av_unused void * | func_ref |
static av_unused void * | func_new |
#define rnd | ( | ) | av_lfg_get(&checkasm_lfg) |
Definition at line 93 of file checkasm.h.
Referenced by audiogen(), check_append_extra_bits(), check_decorrelate_stereo(), check_luma_dc_wht(), check_mc(), checkasm_check_audiodsp(), checkasm_check_llviddsp(), compute_svector(), ff_vc1_h_overlap_mmi(), ff_vc1_v_overlap_mmi(), fill_loopfilter_buffers(), idct_row(), main(), randomize_loopfilter_buffers(), rgb16_32ToUV_c_template(), rgb16_32ToUV_half_c_template(), rgb2yuv(), rgb2yuv_fsb(), rgb48funcs(), rtmp_handshake(), test_hf_gen(), vc1_h_overlap_c(), vc1_v_overlap_c(), yuv2rgb(), and yuv2yuv().
#define BENCH_RUNS 1000 /* Trade-off between accuracy and speed */ |
Definition at line 97 of file checkasm.h.
#define check_func | ( | func, | |
... | |||
) | (func_ref = checkasm_check_func((func_new = func), __VA_ARGS__)) |
Definition at line 100 of file checkasm.h.
Referenced by check_add_bytes(), check_add_res(), check_append_extra_bits(), check_decorrelate_stereo(), check_idct(), check_idct_dc(), check_idct_dc4(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_multiply3x3(), check_rgb2yuv(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_aacpsdsp(), checkasm_check_audiodsp(), checkasm_check_bswapdsp(), checkasm_check_exrdsp(), checkasm_check_fixed_dsp(), checkasm_check_flacdsp(), checkasm_check_float_dsp(), checkasm_check_fmtconvert(), checkasm_check_g722dsp(), checkasm_check_h264qpel(), checkasm_check_jpeg2000dsp(), checkasm_check_pixblockdsp(), checkasm_check_sbrdsp(), checkasm_check_synth_filter(), checkasm_check_v210enc(), checkasm_check_videodsp(), test_hf_apply_noise(), and test_stereo_interpolate().
#define declare_func | ( | ret, | |
... | |||
) | declare_new(ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__) |
Definition at line 104 of file checkasm.h.
Referenced by check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_idct(), check_mct(), check_multiply3x3(), check_predictor(), check_qmf(), check_reorder_pixels(), check_rgb2yuv(), check_scalarproduct_fixed(), check_vector_fmul(), check_vector_fmul_add(), check_vector_fmul_window(), check_vector_fmul_window_scaled(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_fmtconvert(), checkasm_check_synth_filter(), test_add_squares(), test_autocorrelate(), test_butterflies_float(), test_hf_apply_noise(), test_hf_g_filt(), test_hf_gen(), test_hybrid_analysis(), test_hybrid_analysis_ileave(), test_hybrid_synthesis_deint(), test_mul_pair_single(), test_neg_odd_64(), test_qmf_deint_bfly(), test_qmf_deint_neg(), test_qmf_post_shuffle(), test_qmf_pre_shuffle(), test_stereo_interpolate(), test_sum64x5(), test_vector_dmac_scalar(), test_vector_dmul_scalar(), test_vector_fmac_scalar(), test_vector_fmul(), test_vector_fmul_add(), test_vector_fmul_scalar(), and test_vector_fmul_window().
#define declare_func_float | ( | ret, | |
... | |||
) | declare_new_float(ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__) |
Definition at line 105 of file checkasm.h.
Referenced by test_scalarproduct_float(), and test_sum_square().
#define declare_func_emms | ( | cpu_flags, | |
ret, | |||
... | |||
) | declare_new_emms(cpu_flags, ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__) |
Definition at line 106 of file checkasm.h.
Referenced by check_add_bytes(), check_add_res(), check_idct(), check_idct_dc(), check_idct_dc4(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), checkasm_check_audiodsp(), and checkasm_check_h264qpel().
#define fail | ( | ) | checkasm_fail_func("%s:%d", av_basename(__FILE__), __LINE__) |
Definition at line 109 of file checkasm.h.
Referenced by aac_adtstoasc_filter(), aac_decode_frame_int(), aac_encode_init(), add_entry(), add_file(), alloc_frame(), alloc_picture(), apng_encode_frame(), apng_read_header(), apply_param_change(), asf_read_picture(), audio_get_buffer(), audio_read_header(), audio_resample(), audio_write_header(), av_bitstream_filter_init(), av_bsf_alloc(), av_frame_ref(), av_get_frame_filename2(), av_hwdevice_ctx_alloc(), av_hwdevice_ctx_create(), av_hwdevice_ctx_create_derived(), av_hwdevice_ctx_init(), av_hwframe_ctx_alloc(), av_hwframe_ctx_create_derived(), av_hwframe_ctx_init(), av_interleaved_write_frame(), av_opt_query_ranges_default(), av_packet_pack_dictionary(), av_packet_ref(), av_probe_input_buffer2(), av_write_trailer(), avcodec_copy_context(), avdevice_capabilities_create(), avf_read_header(), avfilter_graph_create_filter(), avfilter_graph_parse(), avfilter_graph_parse2(), avfilter_init_str(), avformat_new_stream(), avformat_open_input(), avformat_write_header(), avi_read_header(), avi_write_packet(), avio_open_dir(), avisynth_load_library(), avisynth_open_file(), binkaudio_receive_frame(), bsf_list_init(), bsfs_init(), build_file_streams(), build_filter(), caca_write_header(), callback(), channelmap_query_formats(), check_add_bytes(), check_add_res(), check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_idct(), check_idct_dc(), check_idct_dc4(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_mct(), check_multiply3x3(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_predictor(), check_qmf(), check_reorder_pixels(), check_rgb2yuv(), check_scalarproduct_fixed(), check_vector_fmul(), check_vector_fmul_add(), check_vector_fmul_window(), check_vector_fmul_window_scaled(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_audiodsp(), checkasm_check_fmtconvert(), checkasm_check_h264qpel(), checkasm_check_synth_filter(), chunk_end(), codec_init_static_fields(), compute_lpc_coefs(), concat_read_header(), config_input(), config_output(), config_props(), configure_filtergraph(), configure_input_video_filter(), convert_coeffs(), cuda_pool_alloc(), cudascale_config_props(), cudascale_filter_frame(), cudaupload_filter_frame(), dash_read_header(), decode_blocks(), decode_dvd_subtitles(), decode_extradata_ps(), decode_frame(), decode_frame_common(), decode_frame_header(), decode_ics(), decode_ics_info(), decode_info_header(), decode_init(), decode_main_header(), decode_nal_unit(), decode_nal_units(), decode_packet(), decode_plane(), decode_plane10(), decode_stream_header(), decode_video(), decode_write(), decode_zbuf(), deint_vaapi_config_output(), deint_vaapi_filter_frame(), device_open(), dh_is_valid_public_key(), dnxhd_encode_init(), dnxhd_init_qmat(), dnxhd_init_rc(), dnxhd_init_vlc(), drm_map_frame(), drm_transfer_data_from(), drm_transfer_data_to(), dshow_show_filter_properties(), dump_extradata(), dump_paramchange(), dvdsub_parse_extradata(), dxva2_map_frame(), dxva2_transfer_data_from(), dxva2_transfer_data_to(), encode_dvd_subtitles(), encode_frame(), estimate_best_b_count(), extract_extradata_filter(), extract_extradata_h2645(), extract_extradata_init(), fbdev_read_header(), fbdev_write_header(), ff_alloc_picture(), ff_alsa_get_device_list(), ff_alsa_open(), ff_AMediaCodec_cleanOutputBuffers(), ff_AMediaCodec_configure(), ff_AMediaCodec_createCodecByName(), ff_AMediaCodec_createDecoderByType(), ff_AMediaCodec_createEncoderByType(), ff_AMediaCodec_dequeueInputBuffer(), ff_AMediaCodec_dequeueOutputBuffer(), ff_AMediaCodec_flush(), ff_AMediaCodec_getInputBuffer(), ff_AMediaCodec_getName(), ff_AMediaCodec_getOutputBuffer(), ff_AMediaCodec_getOutputFormat(), ff_AMediaCodec_queueInputBuffer(), ff_AMediaCodec_releaseOutputBuffer(), ff_AMediaCodec_releaseOutputBufferAtTime(), ff_AMediaCodec_start(), ff_AMediaCodec_stop(), ff_AMediaFormat_getBuffer(), ff_AMediaFormat_getFloat(), ff_AMediaFormat_getInt32(), ff_AMediaFormat_getInt64(), ff_AMediaFormat_getString(), ff_AMediaFormat_new(), ff_AMediaFormat_newFromObject(), ff_AMediaFormat_setBuffer(), ff_AMediaFormat_setFloat(), ff_AMediaFormat_setInt32(), ff_AMediaFormat_setInt64(), ff_AMediaFormat_setString(), ff_AMediaFormat_toString(), ff_ccitt_unpack(), ff_celt_init(), ff_dh_compute_shared_secret_key(), ff_dh_init(), ff_dither_alloc(), ff_dxva2_decode_init(), ff_fft_init(), ff_filter_frame_framed(), ff_flac_parse_picture(), ff_frame_pool_audio_init(), ff_frame_pool_get(), ff_frame_pool_video_init(), ff_frame_thread_encoder_init(), ff_h264_alloc_tables(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_h264_parse_ref_count(), ff_h264_ref_picture(), ff_h264_slice_context_init(), ff_hevc_frame_rps(), ff_hwframe_map_create(), ff_img_read_packet(), ff_mdct15_init(), ff_mdct_init(), ff_mediacodec_dec_init(), ff_merge_channel_layouts(), ff_merge_formats(), ff_merge_samplerates(), ff_mjpeg_decode_frame(), ff_mjpeg_encode_stuffing(), ff_mov_init_hinting(), ff_mpeg_er_init(), ff_mpeg_framesize_alloc(), ff_mpeg_ref_picture(), ff_mpv_common_frame_size_change(), ff_mpv_common_init(), ff_mpv_encode_init(), ff_opus_parse_packet(), ff_opus_psy_init(), ff_oss_audio_open(), ff_pulse_audio_connect_context(), ff_pulse_audio_get_devices(), ff_raw_video_read_header(), ff_reshuffle_raw_rgb(), ff_rl_init(), ff_rtp_chain_mux_open(), ff_scale_eval_dimensions(), ff_sndio_open(), ff_snow_common_init_after_header(), ff_tee_parse_slave_options(), ff_thread_release_buffer(), ff_vaapi_decode_init(), ff_vaapi_decode_issue(), ff_vaapi_encode2(), ff_vaapi_encode_h26x_nal_unit_to_byte_stream(), ff_vaapi_encode_init(), ffio_fdopen(), ffm2_read_header(), ffm_read_header(), ffm_write_header_codec_ctx(), ffm_write_recommended_config(), ffmal_update_format(), ffmmal_flush(), ffmmal_init_decoder(), ffmpeg_parse_options(), ffurl_open_whitelist(), fifo_basic_test(), fifo_overflow_drop_test(), fifo_thread_attempt_recovery(), fifo_write_header_err_tst(), fifo_write_packet(), film_read_header(), filter_frame(), find_and_decode_index(), find_image_range(), find_sidx(), fits_read_packet(), flac_read_header(), fourxm_read_header(), frame_new_side_data(), ftp_current_dir(), ftp_open(), ftp_open_dir(), ftp_passive_mode(), ftp_passive_mode_epsv(), get_buffer(), get_private_data(), get_video_buffer(), get_video_private_data(), gopher_open(), guess_dc(), h264_mp4toannexb_filter(), h264_slice_header_init(), handle_file(), handle_invoke_result(), hds_write_header(), hevc_extradata_to_annexb(), hevc_frame_start(), hevc_init_context(), hevc_mp4toannexb_filter(), hevc_ref_frame(), hls_delete_old_segments(), hls_open(), hls_read_header(), hls_start(), hls_window(), hls_write_header(), http_accept(), http_listen(), http_open_cnx(), http_receive_data(), huf_uncompress(), hw_device_init_from_string(), hwaccel_retrieve_data(), hwdownload_filter_frame(), hwframe_pool_prealloc(), hwmap_config_output(), hwmap_filter_frame(), hwupload_config_output(), hwupload_filter_frame(), hwupload_query_formats(), iec61883_read_header(), imx_dump_header(), init(), init_axis_from_font(), init_complex_filtergraph(), init_context_frame(), init_cscheme(), init_duplicate_context(), init_muxer(), init_stage(), initFilter(), ism_write_header(), jacosub_read_header(), join_config_output(), kmsgrab_read_header(), libopenjpeg_encode_init(), libopus_encode_init(), libsmbc_open(), libsmbc_open_dir(), libssh_open(), libssh_open_dir(), list_devices_for_context(), list_op(), ljpeg_encode_init(), load_data(), main(), matroska_parse_frame(), matroska_parse_wavpack(), matroska_read_header(), mca(), mediacodec_wrap_hw_buffer(), mjpeg2jpeg_filter(), mjpega_dump_header(), mkv_strip_wavpack(), mkv_write_header(), mkv_write_seekhead(), mms_open(), mmsh_open_internal(), mov2textsub(), mov_read_adrm(), mov_read_mfra(), mov_read_stsd(), mov_write_packet(), mp3_header_decompress(), mpeg_mux_init(), mpegts_add_service(), mpegts_init(), mxf_read_header(), new_connection(), noise(), nppscale_config_props(), nppscale_filter_frame(), nsv_parse_NSVs_header(), nut_read_header(), nut_write_packet(), nvenc_check_codec_support(), nvenc_check_device(), ogg_read_packet(), old_flac_header(), omx_encode_init(), open_demux_for_component(), opengl_compile_shaders(), opengl_configure_texture(), opengl_draw(), opengl_init_context(), opengl_load_shader(), opengl_prepare(), opengl_prepare_vertex(), opengl_read_limits(), opengl_write_header(), opus_decode_init(), opus_decode_redundancy(), pad_last_frame(), parse_command(), parse_fragment(), parse_frame_pbr(), parse_link_name(), parse_nal_units(), parse_packet(), parse_playlist(), parse_script(), parse_string(), pic_arrays_init(), print_sdp(), process_frame(), prompeg_init(), prompeg_open(), pulse_add_detected_device(), pulse_update_sink_input_info(), pulse_write_header(), pulse_write_packet(), qsv_decode_init(), qsv_device_derive_from_child(), qsv_frame_lock(), qsv_init_child_ctx(), qsv_map_from(), qsvscale_config_props(), qsvscale_filter_frame(), query_formats(), read_apic(), read_chapter(), read_decoding_params(), read_frame(), read_geobtag(), read_header(), read_mfra(), read_moof_duration(), read_packet(), read_priv(), read_tfra(), read_thread(), read_whole_file(), render_fontconfig(), render_freetype(), reopen_demux_for_component(), replace_int_data_in_filename(), rkmpp_init_decoder(), rkmpp_retrieve_frame(), rm_read_header(), rtmp_calc_swfhash(), rtmp_http_open(), rtmp_open(), rtmp_send_packet(), rtmp_write_amf_data(), rtp_mpegts_write_header(), rtp_new_av_stream(), rtp_new_connection(), rtp_open(), rtp_write_header(), sap_read_header(), sap_write_header(), sbg_read_header(), scale_vaapi_config_output(), scale_vaapi_filter_frame(), sctp_open(), sdl2_write_header(), seg_write_packet(), seg_write_trailer(), set_param(), set_sps(), set_string_bool(), shuffleplanes_filter_frame(), socket_open_listen(), srtp_open(), stream_component_open(), stream_open(), svq3_decode_init(), swr_alloc_set_opts(), swr_config_frame(), swr_init(), sws_getDefaultFilter(), sws_init_context(), tcp_open(), tee_open(), tee_write_header(), test_add_squares(), test_autocorrelate(), test_butterflies_float(), test_hf_apply_noise(), test_hf_g_filt(), test_hf_gen(), test_hybrid_analysis(), test_hybrid_analysis_ileave(), test_hybrid_synthesis_deint(), test_mul_pair_single(), test_neg_odd_64(), test_qmf_deint_bfly(), test_qmf_deint_neg(), test_qmf_post_shuffle(), test_qmf_pre_shuffle(), test_random_shared_secret(), test_ref_data(), test_scalarproduct_float(), test_stereo_interpolate(), test_sum64x5(), test_sum_square(), test_vector_dmac_scalar(), test_vector_dmul_scalar(), test_vector_fmac_scalar(), test_vector_fmul(), test_vector_fmul_add(), test_vector_fmul_scalar(), test_vector_fmul_window(), text2movsub(), tls_client_handshake(), tls_client_handshake_loop(), tls_open(), transcode(), transfer_data_alloc(), try_decode_frame(), try_push_frame(), udp_open(), udp_socket_create(), unix_open(), update_frame_pool(), update_frames(), url_alloc_for_protocol(), v4l2_get_device_list(), v4l2_read_header(), vaapi_decode_make_config(), vaapi_device_init(), vaapi_encode_config_attributes(), vaapi_encode_create_recon_frames(), vaapi_encode_get_next(), vaapi_encode_issue(), vaapi_encode_output(), vaapi_frames_get_constraints(), vaapi_frames_init(), vaapi_h264_start_frame(), vaapi_hevc_end_frame(), vaapi_hevc_start_frame(), vaapi_map_frame(), vaapi_mpeg2_end_frame(), vaapi_mpeg2_start_frame(), vaapi_mpeg4_end_frame(), vaapi_mpeg4_start_frame(), vaapi_transfer_data_from(), vaapi_transfer_data_to(), vaapi_vc1_end_frame(), vaapi_vc1_start_frame(), vfw_read_header(), video_get_buffer(), videostream_cb(), videotoolbox_init(), vivo_read_packet(), vp6_parse_header(), vp9_frame_alloc(), vp9_frame_ref(), vp9_raw_reorder_filter(), vp9_superframe_split_filter(), vqa_decode_init(), vt_transfer_data_from(), vt_transfer_data_to(), wavesynth_init(), wavpack_encode_init(), webm_dash_manifest_write_header(), wma_decode_superframe(), write_chapter(), write_fragments(), write_header(), write_packet(), write_sm_data(), write_trailer(), writer_open(), xmv_read_header(), xv_write_header(), and xwma_read_header().
#define report checkasm_report |
Definition at line 112 of file checkasm.h.
Referenced by check_append_extra_bits(), check_decorrelate_stereo(), check_idct(), check_ipred(), check_itxfm(), check_loopfilter(), check_mc(), check_multiply3x3(), check_rgb2yuv(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_aacpsdsp(), checkasm_check_audiodsp(), checkasm_check_blend(), checkasm_check_blockdsp(), checkasm_check_bswapdsp(), checkasm_check_exrdsp(), checkasm_check_fixed_dsp(), checkasm_check_flacdsp(), checkasm_check_float_dsp(), checkasm_check_fmtconvert(), checkasm_check_g722dsp(), checkasm_check_h264pred(), checkasm_check_h264qpel(), checkasm_check_hevc_add_res(), checkasm_check_hevc_idct(), checkasm_check_jpeg2000dsp(), checkasm_check_llviddsp(), checkasm_check_pixblockdsp(), checkasm_check_sbrdsp(), checkasm_check_synth_filter(), checkasm_check_v210enc(), checkasm_check_videodsp(), and checkasm_check_vp8dsp().
#define call_ref | ( | ... | ) | ((func_type *)func_ref)(__VA_ARGS__) |
Definition at line 115 of file checkasm.h.
Referenced by check_add_bytes(), check_add_res(), check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_idct(), check_idct_dc(), check_idct_dc4(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_mct(), check_multiply3x3(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_predictor(), check_qmf(), check_reorder_pixels(), check_rgb2yuv(), check_scalarproduct_fixed(), check_vector_fmul(), check_vector_fmul_add(), check_vector_fmul_window(), check_vector_fmul_window_scaled(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_audiodsp(), checkasm_check_fmtconvert(), checkasm_check_h264qpel(), checkasm_check_synth_filter(), test_add_squares(), test_autocorrelate(), test_butterflies_float(), test_hf_apply_noise(), test_hf_g_filt(), test_hf_gen(), test_hybrid_analysis(), test_hybrid_analysis_ileave(), test_hybrid_synthesis_deint(), test_mul_pair_single(), test_neg_odd_64(), test_qmf_deint_bfly(), test_qmf_deint_neg(), test_qmf_post_shuffle(), test_qmf_pre_shuffle(), test_scalarproduct_float(), test_stereo_interpolate(), test_sum64x5(), test_sum_square(), test_vector_dmac_scalar(), test_vector_dmul_scalar(), test_vector_fmac_scalar(), test_vector_fmul(), test_vector_fmul_add(), test_vector_fmul_scalar(), and test_vector_fmul_window().
#define declare_new | ( | ret, | |
... | |||
) |
Definition at line 178 of file checkasm.h.
#define declare_new_float | ( | ret, | |
... | |||
) |
Definition at line 179 of file checkasm.h.
#define declare_new_emms | ( | cpu_flags, | |
ret, | |||
... | |||
) |
Definition at line 180 of file checkasm.h.
#define call_new | ( | ... | ) | ((func_type *)func_new)(__VA_ARGS__) |
Definition at line 182 of file checkasm.h.
Referenced by check_add_bytes(), check_add_res(), check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_idct(), check_idct_dc(), check_idct_dc4(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_mct(), check_multiply3x3(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_predictor(), check_qmf(), check_reorder_pixels(), check_rgb2yuv(), check_scalarproduct_fixed(), check_vector_fmul(), check_vector_fmul_add(), check_vector_fmul_window(), check_vector_fmul_window_scaled(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_audiodsp(), checkasm_check_fmtconvert(), checkasm_check_h264qpel(), checkasm_check_synth_filter(), test_add_squares(), test_autocorrelate(), test_butterflies_float(), test_hf_apply_noise(), test_hf_g_filt(), test_hf_gen(), test_hybrid_analysis(), test_hybrid_analysis_ileave(), test_hybrid_synthesis_deint(), test_mul_pair_single(), test_neg_odd_64(), test_qmf_deint_bfly(), test_qmf_deint_neg(), test_qmf_post_shuffle(), test_qmf_pre_shuffle(), test_scalarproduct_float(), test_stereo_interpolate(), test_sum64x5(), test_sum_square(), test_vector_dmac_scalar(), test_vector_dmul_scalar(), test_vector_fmac_scalar(), test_vector_fmul(), test_vector_fmul_add(), test_vector_fmul_scalar(), and test_vector_fmul_window().
#define bench_new | ( | ... | ) | while(0) |
Definition at line 242 of file checkasm.h.
Referenced by check_add_bytes(), check_add_res(), check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_idct(), check_idct_dc(), check_idct_dc4(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_mct(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_predictor(), check_qmf(), check_reorder_pixels(), check_scalarproduct_fixed(), check_vector_fmul(), check_vector_fmul_add(), check_vector_fmul_window(), check_vector_fmul_window_scaled(), checkasm_check_audiodsp(), checkasm_check_fmtconvert(), checkasm_check_h264qpel(), checkasm_check_synth_filter(), test_add_squares(), test_autocorrelate(), test_butterflies_float(), test_hf_apply_noise(), test_hf_g_filt(), test_hf_gen(), test_hybrid_analysis(), test_hybrid_analysis_ileave(), test_hybrid_synthesis_deint(), test_mul_pair_single(), test_neg_odd_64(), test_qmf_deint_bfly(), test_qmf_deint_neg(), test_qmf_post_shuffle(), test_qmf_pre_shuffle(), test_scalarproduct_float(), test_stereo_interpolate(), test_sum64x5(), test_sum_square(), test_vector_dmac_scalar(), test_vector_dmul_scalar(), test_vector_fmac_scalar(), test_vector_fmul(), test_vector_fmul_add(), test_vector_fmul_scalar(), and test_vector_fmul_window().
#define PERF_START | ( | t | ) | while(0) |
Definition at line 243 of file checkasm.h.
Referenced by measure_nop_time().
#define PERF_STOP | ( | t | ) | while(0) |
Definition at line 244 of file checkasm.h.
Referenced by measure_nop_time().
Definition at line 215 of file aacpsdsp.c.
Definition at line 51 of file audiodsp.c.
Definition at line 87 of file vf_blend.c.
Definition at line 54 of file blockdsp.c.
Definition at line 59 of file bswapdsp.c.
Definition at line 308 of file vf_colorspace.c.
Definition at line 132 of file fixed_dsp.c.
Definition at line 254 of file float_dsp.c.
Definition at line 44 of file fmtconvert.c.
Definition at line 232 of file h264pred.c.
Definition at line 50 of file h264qpel.c.
Definition at line 74 of file hevc_add_res.c.
Definition at line 86 of file hevc_idct.c.
Definition at line 58 of file jpeg2000dsp.c.
Definition at line 66 of file llviddsp.c.
Definition at line 81 of file pixblockdsp.c.
Definition at line 44 of file synth_filter.c.
Definition at line 80 of file videodsp.c.
Definition at line 725 of file checkasm.c.
void checkasm_fail_func | ( | const char * | msg, |
... | |||
) |
void struct CheckasmPerf* checkasm_get_perf_context | ( | void | ) |
Definition at line 750 of file checkasm.c.
void checkasm_report | ( | const char * | name, |
... | |||
) |
Definition at line 244 of file checkasm.c.
Referenced by float_near_abs_eps_ulp(), and float_near_ulp_array().
int float_near_abs_eps | ( | float | a, |
float | b, | ||
float | eps | ||
) |
Definition at line 274 of file checkasm.c.
Referenced by float_near_abs_eps_array(), float_near_abs_eps_ulp(), test_butterflies_float(), test_scalarproduct_float(), test_sum_square(), test_vector_fmac_scalar(), test_vector_fmul(), test_vector_fmul_add(), test_vector_fmul_scalar(), and test_vector_fmul_window().
int float_near_abs_eps_ulp | ( | float | a, |
float | b, | ||
float | eps, | ||
unsigned | max_ulp | ||
) |
Definition at line 293 of file checkasm.c.
Referenced by checkasm_check_synth_filter(), and float_near_abs_eps_array_ulp().
int float_near_ulp_array | ( | const float * | a, |
const float * | b, | ||
unsigned | max_ulp, | ||
unsigned | len | ||
) |
Definition at line 262 of file checkasm.c.
Referenced by checkasm_check_audiodsp(), and checkasm_check_fmtconvert().
int float_near_abs_eps_array | ( | const float * | a, |
const float * | b, | ||
float | eps, | ||
unsigned | len | ||
) |
Definition at line 281 of file checkasm.c.
Referenced by test_add_squares(), test_autocorrelate(), test_hf_apply_noise(), test_hf_g_filt(), test_hf_gen(), test_hybrid_analysis(), test_mul_pair_single(), test_neg_odd_64(), test_qmf_deint_bfly(), test_qmf_deint_neg(), test_qmf_post_shuffle(), test_qmf_pre_shuffle(), test_stereo_interpolate(), and test_sum64x5().
int float_near_abs_eps_array_ulp | ( | const float * | a, |
const float * | b, | ||
float | eps, | ||
unsigned | max_ulp, | ||
unsigned | len | ||
) |
Definition at line 298 of file checkasm.c.
int double_near_abs_eps | ( | double | a, |
double | b, | ||
double | eps | ||
) |
Definition at line 310 of file checkasm.c.
Referenced by double_near_abs_eps_array(), test_vector_dmac_scalar(), and test_vector_dmul_scalar().
int double_near_abs_eps_array | ( | const double * | a, |
const double * | b, | ||
double | eps, | ||
unsigned | len | ||
) |
Definition at line 317 of file checkasm.c.
AVLFG checkasm_lfg |
Definition at line 236 of file checkasm.c.
Definition at line 95 of file checkasm.h.
Definition at line 95 of file checkasm.h.