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 101 of file checkasm.h.
Referenced by audiogen(), check_add_median_pred(), check_append_extra_bits(), check_decorrelate_stereo(), check_idct_multiple(), check_luma_dc_wht(), check_mc(), check_sao_band(), check_sao_edge(), checkasm_check_audiodsp(), checkasm_check_huffyuvdsp(), 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 105 of file checkasm.h.
#define check_func | ( | func, | |
... | |||
) | (func_ref = checkasm_check_func((func_new = func), __VA_ARGS__)) |
Definition at line 108 of file checkasm.h.
Referenced by check_add_bytes(), check_add_gradient_pred(), check_add_int16(), check_add_left_pred(), check_add_left_pred_16(), check_add_median_pred(), check_add_res(), check_append_extra_bits(), check_decorrelate_stereo(), check_diff_bytes(), check_hflip(), check_idct(), check_idct_dc(), check_idct_dc4(), check_idct_multiple(), 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_sao_band(), check_sao_edge(), check_shuffle_bytes(), check_sub_left_pred(), check_threshold(), check_uyvy_to_422p(), 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_nlmeans(), checkasm_check_pixblockdsp(), checkasm_check_sbrdsp(), checkasm_check_synth_filter(), checkasm_check_utvideodsp(), 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 112 of file checkasm.h.
Referenced by check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_hflip(), check_ict_float(), check_idct(), check_multiply3x3(), check_predictor(), check_qmf(), check_rct_int(), check_reorder_pixels(), check_rgb2yuv(), check_scalarproduct_fixed(), check_threshold(), 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_nlmeans(), 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(), 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 113 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 114 of file checkasm.h.
Referenced by check_add_bytes(), check_add_gradient_pred(), check_add_int16(), check_add_left_pred(), check_add_left_pred_16(), check_add_median_pred(), check_add_res(), check_diff_bytes(), check_idct(), check_idct_dc(), check_idct_dc4(), check_idct_multiple(), 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(), check_sao_band(), check_sao_edge(), check_shuffle_bytes(), check_sub_left_pred(), check_uyvy_to_422p(), checkasm_check_audiodsp(), and checkasm_check_h264qpel().
#define fail | ( | ) | checkasm_fail_func("%s:%d", av_basename(__FILE__), __LINE__) |
Definition at line 117 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_write_header(), av1_metadata_filter(), av1_metadata_init(), 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(), avgblur_opencl_filter_frame(), avgblur_opencl_init(), avi_read_header(), avi_write_packet(), avio_open_dir(), avisynth_load_library(), avisynth_open_file(), binkaudio_receive_frame(), bsf_list_init(), build_filter(), caca_write_header(), callback(), cbs_av1_split_fragment(), channelmap_query_formats(), check_add_bytes(), check_add_gradient_pred(), check_add_int16(), check_add_left_pred(), check_add_left_pred_16(), check_add_median_pred(), check_add_res(), check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_diff_bytes(), check_hflip(), check_ict_float(), check_idct(), check_idct_dc(), check_idct_dc4(), check_idct_multiple(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_multiply3x3(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_predictor(), check_qmf(), check_rct_int(), check_reorder_pixels(), check_rgb2yuv(), check_sao_band(), check_sao_edge(), check_scalarproduct_fixed(), check_shuffle_bytes(), check_sub_left_pred(), check_threshold(), check_uyvy_to_422p(), 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_nlmeans(), checkasm_check_synth_filter(), chunk_end(), codec_create(), codec_init_static_fields(), compute_lpc_coefs(), concat_read_header(), config_input(), config_output(), config_props(), configure_filtergraph(), configure_input_video_filter(), convert_coeffs(), convert_zp2tf(), convolution_opencl_filter_frame(), convolution_opencl_init(), create_master_playlist(), cuda_pool_alloc(), cudascale_config_props(), cudascale_filter_frame(), cudaupload_filter_frame(), dash_read_header(), dec_enc(), decode_blocks(), decode_dvd_subtitles(), decode_extradata_ps(), decode_frame(), decode_frame_common(), decode_frame_header(), decode_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_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(), eac3_core_filter(), encode_dvd_subtitles(), encode_frame(), estimate_best_b_count(), extract_extradata_filter(), 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_dequeueInputBuffer(), 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_decode_bsfs_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_isom_write_av1c(), ff_isom_write_avcc(), 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_nvdec_decode_init(), ff_nvdec_start_frame(), ff_opencl_filter_config_output(), ff_opencl_filter_load_program_from_file(), 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_tls_open(), ff_vaapi_decode_init(), ff_vaapi_decode_issue(), ff_vaapi_encode2(), ff_vaapi_encode_init(), ff_vaapi_vpp_config_output(), ff_vaapi_vpp_render_picture(), ffio_fdopen(), 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_packet(), film_read_header(), filter_frame(), filter_units_filter(), find_and_decode_index(), find_image_range(), find_sidx(), fits_read_packet(), flac_read_header(), format_name(), fourxm_read_header(), 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_metadata_filter(), h264_metadata_init(), h264_mp4toannexb_filter(), h264_slice_header_init(), h265_metadata_filter(), h265_metadata_init(), handle_file(), handle_invoke_result(), hapqa_extract(), hds_write_header(), hevc_extradata_to_annexb(), hevc_frame_start(), hevc_init_context(), hevc_mp4toannexb_filter(), hevc_ref_frame(), hls_delete_old_segments(), hls_init(), hls_open(), hls_read_header(), hls_start(), hls_window(), hls_write_header(), http_accept(), http_listen(), http_open_cnx(), huf_uncompress(), hw_device_init_from_string(), hw_device_init_from_type(), 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(), launch_kernel(), libopus_encode_init(), libsmbc_open(), libsmbc_open_dir(), libsrt_setup(), 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_dec_parse_format(), mediacodec_wrap_hw_buffer(), misc_vaapi_filter_frame(), mjpeg2jpeg_filter(), mjpega_dump_header(), mkv_strip_wavpack(), mkv_write_header(), mkv_write_seekhead(), mms_open(), mmsh_open_internal(), mov_read_adrm(), mov_read_mfra(), mov_read_stsd(), mov_write_packet(), mp3_header_decompress(), mpeg2_metadata_filter(), mpeg2_metadata_init(), mpeg4_unpack_bframes_filter(), mpeg_mux_init(), mpegts_add_service(), mpegts_init(), mxf_read_header(), neighbor_opencl_filter_frame(), neighbor_opencl_init(), noise(), nppscale_config_props(), nppscale_filter_frame(), npptranspose_filter_frame(), nsv_parse_NSVs_header(), nut_read_header(), nut_write_packet(), nvdec_decoder_create(), nvenc_check_codec_support(), nvenc_check_device(), nvenc_setup_surfaces(), ogg_read_packet(), old_flac_header(), omx_encode_init(), open_demux_for_component(), opencl_device_create_internal(), opencl_device_init(), opencl_frames_get_constraints(), opencl_map_frame(), opencl_pool_alloc(), 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(), overlay_opencl_blend(), overlay_opencl_load(), 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(), procamp_vaapi_filter_frame(), process_frame(), program_opencl_run(), 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(), 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_open(), rtp_write_header(), sap_read_header(), sap_write_header(), sbg_read_header(), 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(), srtp_open(), stream_component_open(), stream_open(), svq3_decode_init(), swr_alloc_set_opts(), swr_config_frame(), swr_init(), sws_getDefaultFilter(), sws_init_context(), tee_open(), tee_write_header(), test_add_squares(), test_autocorrelate(), test_butterflies_float(), test_derivation(), 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(), 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(), tonemap_opencl_filter_frame(), tonemap_opencl_init(), transcode(), transfer_data_alloc(), try_decode_frame(), try_push_frame(), udp_open(), udp_socket_create(), unix_open(), unsharp_opencl_filter_frame(), unsharp_opencl_init(), unsharp_opencl_make_filter_params(), update_frame_pool(), update_frames(), update_master_pl_info(), url_alloc_for_protocol(), v4l2_get_device_list(), v4l2_read_header(), vaapi_decode_make_config(), vaapi_device_init(), vaapi_encode_create_recon_frames(), vaapi_encode_get_next(), vaapi_encode_h264_write_extra_header(), vaapi_encode_h264_write_sequence_header(), vaapi_encode_h264_write_slice_header(), vaapi_encode_h265_write_extra_header(), vaapi_encode_h265_write_sequence_header(), vaapi_encode_h265_write_slice_header(), vaapi_encode_issue(), vaapi_encode_mjpeg_write_image_header(), vaapi_encode_mpeg2_write_picture_header(), vaapi_encode_mpeg2_write_sequence_header(), vaapi_encode_output(), vaapi_encode_profile_entrypoint(), vaapi_frames_get_constraints(), vaapi_frames_init(), vaapi_h264_start_frame(), vaapi_hevc_end_frame(), vaapi_hevc_start_frame(), vaapi_map_frame(), vaapi_mjpeg_decode_slice(), vaapi_mjpeg_start_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_vp8_decode_slice(), vaapi_vp8_start_frame(), validate_name(), vfw_read_header(), video_get_buffer(), videostream_cb(), videotoolbox_init(), vivo_read_packet(), vp6_parse_header(), vp8_alloc_frame(), vp9_frame_alloc(), vp9_frame_ref(), vp9_metadata_filter(), 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_codec_attr(), write_fragments(), write_header(), write_sm_data(), write_trailer(), writer_open(), xmv_read_header(), xv_write_header(), and xwma_read_header().
#define report checkasm_report |
Definition at line 120 of file checkasm.h.
Referenced by check_append_extra_bits(), check_decorrelate_stereo(), 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_h264dsp(), checkasm_check_h264pred(), checkasm_check_h264qpel(), checkasm_check_hevc_add_res(), checkasm_check_hevc_idct(), checkasm_check_hevc_sao(), checkasm_check_huffyuvdsp(), checkasm_check_jpeg2000dsp(), checkasm_check_llviddsp(), checkasm_check_llviddspenc(), checkasm_check_nlmeans(), checkasm_check_pixblockdsp(), checkasm_check_sbrdsp(), checkasm_check_sw_rgb(), checkasm_check_synth_filter(), checkasm_check_utvideodsp(), checkasm_check_v210enc(), checkasm_check_vf_hflip(), checkasm_check_vf_threshold(), checkasm_check_videodsp(), and checkasm_check_vp8dsp().
#define call_ref | ( | ... | ) | ((func_type *)func_ref)(__VA_ARGS__) |
Definition at line 123 of file checkasm.h.
Referenced by check_add_bytes(), check_add_gradient_pred(), check_add_int16(), check_add_left_pred(), check_add_left_pred_16(), check_add_median_pred(), check_add_res(), check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_diff_bytes(), check_hflip(), check_ict_float(), check_idct(), check_idct_dc(), check_idct_dc4(), check_idct_multiple(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_multiply3x3(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_predictor(), check_qmf(), check_rct_int(), check_reorder_pixels(), check_rgb2yuv(), check_sao_band(), check_sao_edge(), check_scalarproduct_fixed(), check_shuffle_bytes(), check_sub_left_pred(), check_threshold(), check_uyvy_to_422p(), 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_nlmeans(), 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(), 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 186 of file checkasm.h.
#define declare_new_float | ( | ret, | |
... | |||
) |
Definition at line 187 of file checkasm.h.
#define declare_new_emms | ( | cpu_flags, | |
ret, | |||
... | |||
) |
Definition at line 188 of file checkasm.h.
#define call_new | ( | ... | ) | ((func_type *)func_new)(__VA_ARGS__) |
Definition at line 190 of file checkasm.h.
Referenced by check_add_bytes(), check_add_gradient_pred(), check_add_int16(), check_add_left_pred(), check_add_left_pred_16(), check_add_median_pred(), check_add_res(), check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_diff_bytes(), check_hflip(), check_ict_float(), check_idct(), check_idct_dc(), check_idct_dc4(), check_idct_multiple(), check_ipred(), check_itxfm(), check_loopfilter(), check_loopfilter_16y(), check_loopfilter_8uv(), check_loopfilter_simple(), check_luma_dc_wht(), check_mc(), check_multiply3x3(), check_pred16x16(), check_pred4x4(), check_pred8x8(), check_pred8x8l(), check_predictor(), check_qmf(), check_rct_int(), check_reorder_pixels(), check_rgb2yuv(), check_sao_band(), check_sao_edge(), check_scalarproduct_fixed(), check_shuffle_bytes(), check_sub_left_pred(), check_threshold(), check_uyvy_to_422p(), 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_nlmeans(), 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(), 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 250 of file checkasm.h.
Referenced by check_add_bytes(), check_add_gradient_pred(), check_add_int16(), check_add_left_pred(), check_add_left_pred_16(), check_add_median_pred(), check_add_res(), check_append_extra_bits(), check_butterflies(), check_decorrelate(), check_decorrelate_stereo(), check_diff_bytes(), check_hflip(), check_ict_float(), check_idct(), check_idct_dc(), check_idct_dc4(), check_idct_multiple(), 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(), check_predictor(), check_qmf(), check_rct_int(), check_reorder_pixels(), check_sao_band(), check_sao_edge(), check_scalarproduct_fixed(), check_shuffle_bytes(), check_sub_left_pred(), check_threshold(), check_uyvy_to_422p(), 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_nlmeans(), 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(), 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 251 of file checkasm.h.
Referenced by measure_nop_time().
#define PERF_STOP | ( | t | ) | while(0) |
Definition at line 252 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 88 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 277 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 131 of file hevc_sao.c.
test width not multiple of mmsize
test always with the same size (for perf test)
Definition at line 67 of file huffyuvdsp.c.
Definition at line 91 of file jpeg2000dsp.c.
Definition at line 195 of file llviddsp.c.
Definition at line 104 of file llviddspenc.c.
Definition at line 31 of file vf_nlmeans.c.
Definition at line 81 of file pixblockdsp.c.
Definition at line 44 of file synth_filter.c.
Definition at line 90 of file utvideodsp.c.
Definition at line 69 of file vf_hflip.c.
Definition at line 78 of file vf_threshold.c.
Definition at line 80 of file videodsp.c.
Definition at line 752 of file checkasm.c.
void checkasm_fail_func | ( | const char * | msg, |
... | |||
) |
void struct CheckasmPerf* checkasm_get_perf_context | ( | void | ) |
Definition at line 777 of file checkasm.c.
void checkasm_report | ( | const char * | name, |
... | |||
) |
Definition at line 267 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 297 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 320 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 285 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 308 of file checkasm.c.
Referenced by check_ict_float(), 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 325 of file checkasm.c.
int double_near_abs_eps | ( | double | a, |
double | b, | ||
double | eps | ||
) |
Definition at line 337 of file checkasm.c.
Referenced by double_near_abs_eps_array(), test_vector_dmac_scalar(), test_vector_dmul(), and test_vector_dmul_scalar().
int double_near_abs_eps_array | ( | const double * | a, |
const double * | b, | ||
double | eps, | ||
unsigned | len | ||
) |
Definition at line 344 of file checkasm.c.
AVLFG checkasm_lfg |
Definition at line 259 of file checkasm.c.
Definition at line 103 of file checkasm.h.
Definition at line 103 of file checkasm.h.