FFmpeg
|
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "libavcodec/lossless_videoencdsp.h"
#include "checkasm.h"
Go to the source code of this file.
Macros | |
#define | randomize_buffers(buf, size) |
#define | MAX_STRIDE 128 |
#define | MAX_HEIGHT 127 |
Functions | |
static void | check_diff_bytes (LLVidEncDSPContext *c) |
static void | check_sub_left_pred (LLVidEncDSPContext *c) |
void | checkasm_check_llviddspenc (void) |
Variables | |
struct { | |
uint8_t w | |
uint8_t h | |
uint8_t s | |
} | planes [] |
#define randomize_buffers | ( | buf, | |
size | |||
) |
Definition at line 31 of file llviddspenc.c.
#define MAX_STRIDE 128 |
Definition at line 42 of file llviddspenc.c.
#define MAX_HEIGHT 127 |
Definition at line 43 of file llviddspenc.c.
|
static |
Definition at line 45 of file llviddspenc.c.
Referenced by checkasm_check_llviddspenc().
|
static |
Definition at line 76 of file llviddspenc.c.
Referenced by checkasm_check_llviddspenc().
void checkasm_check_llviddspenc | ( | void | ) |
Definition at line 104 of file llviddspenc.c.
uint8_t w |
Definition at line 38 of file llviddspenc.c.
Referenced by __align__(), aac_encode_frame(), acalc_magnitudes(), add_bytes(), add_bytes_c(), add_bytes_l2_c(), add_entry1(), add_hfyu_left_pred_bgr32_c(), add_hfyu_median_pred_int16_c(), add_int16_c(), add_lag_median_prediction(), add_left_pred_c(), add_left_pred_int16_c(), add_median_pred_c(), add_median_prediction(), add_waves(), add_yblock(), adjust_frame_information(), all_black(), all_same(), all_white(), alloc_buffers(), alloc_frame(), alloc_frame_empty(), alloc_sequence_buffers(), analyze_plane(), apply_delogo(), apply_intensity_stereo(), apply_luma_lut(), apply_luma_lut10(), apply_lut(), apply_lut10(), apply_mid_side_stereo(), apply_palette(), apply_tns(), apply_window_int16_c(), av_bmg_get(), av_expr_parse(), av_image_alloc(), av_image_check_sar(), av_image_check_size(), av_image_check_size2(), av_image_fill_black(), av_opt_is_set_to_default(), av_opt_set_image_size(), av_read_image_line(), av_read_image_line2(), av_vdpau_get_surface_parameters(), av_write_image_line(), av_write_image_line2(), avg_c(), avg_h264_qpel8_v_lowpass_mmi(), avg_h264_qpel8or16_hv2_lowpass_mmi(), avoid_clipping(), avpriv_dnxhd_get_hr_frame_size(), avpriv_mirror(), blend_line(), blend_line16(), blend_line_hv(), blend_line_hv16(), blend_pixel(), blend_pixel16(), blur(), blur_image(), blur_pixel(), bswap_buf(), build_filter(), calc_channel_magnitudes(), calc_persp_luts(), calc_thr_3gpp(), calculate_sums(), cas_slice16(), cas_slice8(), cbs_av1_read_ns(), cbs_av1_write_ns(), cdg_copy_rect_buf(), cdg_fill_rect_preset(), cdg_fill_wrapper(), cdxl_decode_frame(), celt_postfilter_apply_transition(), channel_weighting(), check_add_bytes(), check_add_gradient_pred(), check_add_int16(), check_add_left_pred(), check_add_left_pred_16(), check_add_median_pred(), check_diff_bytes(), check_eq(), check_header(), check_hflip(), check_idct_dc4(), check_intra_mode(), check_multiply3x3(), check_rgb2yuv(), check_sub_left_pred(), check_threshold(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_nlmeans(), checkasm_check_vf_gblur(), choose_rct_params(), clip_interval(), clv_decode_init(), codebook_trellis_rate(), color_correlation(), color_correlation_gbrp(), color_decorrelation(), color_decorrelation_gbrp(), color_mix(), compose(), compose2D(), compose2D2(), compute_dar(), compute_default_clut(), compute_histogram16(), compute_histogram8(), compute_metric(), compute_safe_ssd_integral_image_c(), compute_ssd_integral_image(), compute_unsafe_ssd_integral_image(), config_input(), config_input_main(), config_output(), config_props(), constrain_rgb(), convert(), convert_mask_to_strength_mask(), convolution_x(), convolve_avg_horiz_mmi(), convolve_avg_mmi(), convolve_avg_vert_mmi(), convolve_horiz_mmi(), convolve_vert_mmi(), copy_avg_fn(), copy_c(), copy_cell(), copy_CTB_to_hv(), copy_picture_field(), copy_region_enc(), copy_rev(), correlate(), correlate_slice_buffered(), cover_rect(), create_clusters(), create_frame(), cudascale_config_props(), d3d11va_transfer_data(), dc_test(), dct_quantize_refine(), deband_16_c(), deband_16_coupling_c(), deband_8_c(), deband_8_coupling_c(), decode_555(), decode_block(), decode_blocks(), decode_byte_vertical_delta(), decode_delta_d(), decode_delta_e(), decode_delta_j(), decode_delta_l(), decode_dlta(), decode_dvd_subtitles(), decode_entropy_coded_image(), decode_ext_header(), decode_fint(), decode_frame(), decode_frame_header(), decode_hextile(), decode_hybrid(), decode_init(), decode_inter_plane(), decode_line_TMPL(), decode_long_vertical_delta(), decode_long_vertical_delta2(), decode_mous(), decode_move(), decode_mvc2(), decode_plane(), decode_q_branch(), decode_rgb_frame_TMPL(), decode_rle(), decode_sequence_header_adv(), decode_short_horizontal_delta(), decode_short_vertical_delta(), decode_short_vertical_delta2(), decode_slice(), decode_subband_slice_buffered(), decode_tns(), decode_wmv9(), decompose(), decompose2D(), decompose2D2(), decorrelate(), deflicker16(), deflicker8(), deinterleaveBytes_c(), denoise_depth(), denoise_spatial(), denoise_temporal(), dequantization_float(), dequantization_int(), dequantization_int_97(), dequantize(), dequantize_slice_buffered(), diff_bytes(), diff_bytes_c(), diff_int16_c(), diff_planes(), displace_packed(), displace_planar(), display_integral(), dng_decode_jpeg(), dnn_execute_layer_pad(), dnxhd_probe(), do_8tap_2d_c(), do_bilin_2d_c(), do_convolve(), do_lumakey_slice16(), do_lumakey_slice8(), do_scaled_8tap_c(), doTest(), double_threshold(), dpx_probe(), draw_arrow(), draw_axis_rgb(), draw_axis_yuv(), draw_background(), draw_bar_rgb(), draw_bar_yuv(), draw_curves(), draw_dc(), draw_edges_8_c(), draw_legend(), draw_line(), draw_response(), draw_spatial(), dup_wchar_to_utf8(), dvb_encode_rle2(), dvb_encode_rle4(), dvb_encode_rle8(), dvd_encode_rle(), dvdsub_parse_extradata(), dwt_decode53(), dwt_decode97_float(), dwt_decode97_int(), dwt_encode53(), dwt_encode97_float(), dwt_encode97_int(), dxa_probe(), dxa_read_header(), dxtory_decode_v1_410(), dxtory_decode_v1_420(), dxtory_decode_v1_444(), encode_band_info(), encode_block(), encode_blocks(), encode_dvb_subtitles(), encode_ext_header(), encode_flush(), encode_frame(), encode_line_TMPL(), encode_ms_info(), encode_plane(), encode_q_branch(), encode_q_branch2(), encode_rgb_frame_TMPL(), encode_scale_factors(), encode_spectral_coeffs(), encode_subband_c0run(), encode_thread(), encode_window_bands_info(), ereflectx(), extend_edges(), extract_line(), ff_aac_adjust_common_pred(), ff_aac_apply_tns(), ff_aac_encode_tns_info(), ff_aac_is_encoding_err(), ff_aac_search_for_is(), ff_aac_search_for_ltp(), ff_aac_search_for_tns(), ff_add_png_paeth_prediction(), ff_attributes_dump(), ff_big_add(), ff_big_div(), ff_big_mul(), ff_blend_rectangle(), ff_boxblur_eval_filter_params(), ff_calculate_bounding_box(), ff_copy_rectangle(), ff_copy_rectangle2(), ff_default_get_video_buffer(), ff_draw_rectangle(), ff_emulated_edge_mc(), ff_fill_line_with_color(), ff_fill_rectangle(), ff_get_video_buffer(), ff_h263_decode_frame(), ff_idet_filter_line_c(), ff_idet_filter_line_c_16bit(), ff_init_nextband_map(), ff_intrax8_common_end(), ff_intrax8_common_init(), ff_intrax8_decode_picture(), ff_jpeg2000_tag_tree_init(), ff_jpegls_decode_picture(), ff_libwebp_get_frame(), ff_load_image(), ff_mjpeg_decode_frame(), ff_mpadsp_apply_window_TMPL(), ff_mspel_motion(), ff_null_get_video_buffer(), ff_pnm_decode_header(), ff_pns_bits(), ff_printGUID(), ff_rle_encode(), ff_rm_parse_packet(), ff_rtjpeg_decode_frame_yuv420(), ff_rtp_send_jpeg(), ff_scale_adjust_dimensions(), ff_simple_idct_axp(), ff_snow_alloc_blocks(), ff_snow_common_init_after_header(), ff_snow_pred_block(), ff_spdif_bswap_buf16(), ff_sws_alphablendaway(), ff_vc1_decode_entry_point(), ff_vc1_decode_sequence_header(), ff_vmafmotion_init(), ff_vp9_decode_block(), ff_wmv2_add_mb(), ff_wmv2_common_init(), ff_wmv2_decode_mb(), ff_wmv2_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), ff_wmv2_encode_mb(), ff_wmv2_encode_picture_header(), ffmal_copy_frame(), ffprobe_show_library_versions(), ffprobe_show_pixel_formats(), ffprobe_show_program_version(), fileTest(), fill_buf(), fill_in_tongue(), fill_loopfilter_buffers(), fill_pixels(), fill_rectangle(), fill_slice_long(), filter(), filter16_brng(), filter16_tout(), filter16_vrep(), filter8_brng(), filter8_tout(), filter8_vrep(), filter_8tap_2d_fn(), filter_channel(), filter_edges(), filter_edges_16bit(), filter_frame(), filter_frame16(), filter_frame8(), filter_line_c(), filter_line_c_16bit(), filter_mbedge(), filter_slice(), find_smallest_bounding_rectangle(), find_tongue(), finish_file(), flush(), for(), fov_from_dfov(), fraps2_decode_plane(), free_adaptation_sets(), g2m_paint_cursor(), gaussian_blur(), gen_image(), get_4block_rd(), get_alpha_data(), get_block_bits(), get_block_rd(), get_dc(), get_input(), get_intra_count(), get_output(), get_response(), get_slice_data(), get_video_buffer(), get_x(), getpix(), getpix_integrate(), getpix_integrate_internal(), getSSD(), gif_copy_img_rect(), gif_crop_translucent(), gif_fill_rect(), guess_dc(), h_block_filter(), halfpel_interpol(), hammer_to_xyz(), hblur(), hflip_b24_c(), hflip_b48_c(), hflip_byte_c(), hflip_dword_c(), hflip_qword_c(), hflip_short_c(), horizontal_compose_daub97i_TMPL(), horizontal_compose_dd137i_TMPL(), horizontal_compose_dd97i_TMPL(), horizontal_compose_dirac53i_TMPL(), horizontal_compose_fidelityi_TMPL(), horizontal_compose_haar0i_TMPL(), horizontal_compose_haar1i_TMPL(), horizontal_compose_haari_TMPL(), hpel_motion_lowres(), hqa_decode_slice(), hqx_filter(), hwmap_get_buffer(), hysteresis16(), hysteresis8(), idcin_probe(), image_copy_16_to_8(), image_sad(), implicit_weight_table(), ingenient_read_packet(), init(), init_cqt(), init_decoder(), init_imdct_window(), init_noise(), init_pattern_from_file(), init_pattern_from_string(), init_planes(), interleave(), interleaveBytes_c(), interleaveBytes_TMPL(), irdft_horizontal16(), irdft_horizontal8(), iterative_me(), ivi_output_plane(), jpeg_create_header(), kmvc_decode_inter_8x8(), kmvc_decode_intra_8x8(), left_prediction(), lift(), liftS(), limiter16(), limiter8(), load_input_picture(), load_mask(), lpc_apply_welch_window_c(), ls_decode_line(), ls_encode_line(), lut_packed_16bits(), lut_packed_8bits(), lut_planar_16bits(), lut_planar_8bits(), magicyuv_median_pred16(), main(), mark_pns(), mask_edges(), maskedclamp_slice(), maskedmax16(), maskedmax8(), maskedmerge16(), maskedmerge8(), maskedmin16(), maskedmin8(), maskedminmax_slice(), mc_chroma_scaled(), mc_chroma_unscaled(), mc_luma_scaled(), mc_luma_unscaled(), monochrome_color_location(), mp_decode_line(), mp_read_changes_map(), mpeg4_decode_dpcm_macroblock(), mpeg4_decode_sprite_trajectory(), mpeg_decode_sequence_display_extension(), mpv_reconstruct_mb_internal(), mss2_blit_wmv9_c(), mss2_blit_wmv9_masked_c(), mss2_blit_wmv9_template(), mss2_decode_frame(), mss2_gray_fill_masked_c(), multiply3x3_c(), nlmeans_opencl_filter_frame(), nlmeans_plane(), noise(), non_maximum_suppression(), nppscale_config_props(), on2avc_apply_ms(), on2avc_decode_band_scales(), on2avc_read_channel_data(), on2avc_read_ms_info(), output_single_frame(), pack_yuv(), paint_raw(), paint_rect(), pam_encode_frame(), parse_adaptation_sets(), parse_mb_skip(), parse_presentation_segment(), passed(), pcx_decode_frame(), pgmyuv_save(), pick_palette_entry(), pix_norm1(), pix_sum(), pixlet_decode_frame(), pixscope_filter_frame(), plot_freq(), plot_gamuts(), plot_white_point(), png_filter_row(), pop_greys(), postprocess_chroma(), postprocess_luma(), predict_slice(), predict_slice_buffered(), premultiply16(), premultiply16offset(), premultiply16yuv(), premultiply8(), premultiply8offset(), premultiply8yuv(), print_pkt_side_data(), print_results(), probe(), process_c(), process_command(), process_frame(), process_frame_obj(), psy_3gpp_analyze_channel(), ptx_decode_frame(), push(), push_greys(), push_single_pic(), put_cursor(), put_h264_qpel8_v_lowpass_mmi(), put_h264_qpel8or16_hv1_lowpass_mmi(), put_h264_qpel8or16_hv2_lowpass_mmi(), put_ics_info(), qcom_tile_pos(), qsvscale_config_props(), quantize(), quantize_band_cost_cached(), ratecontrol_1pass(), rdft_horizontal16(), rdft_horizontal8(), read_interval_packets(), read_packets(), read_shape_from_file(), realloc_texture(), reflectx(), request_frame(), resample_cubic(), resample_linear(), rescale(), rgb2yuv(), rgb2yuv_fsb(), rle_uncompress(), roi_scale_cblk(), rv30_parse_slice_header(), rv40_parse_picture_size(), rv40_parse_slice_header(), sao_filter_CTB(), scaled_filter_8tap_fn(), scaledown(), scaleup(), scaleup_rev(), scroll_slice(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), selfTest(), set_blocks(), set_dimensions(), set_frame(), set_special_band_scalefactors(), set_sps(), setctx_2d(), setup_3x3(), setup_5x5(), setup_7x7(), setup_row(), sgi_rle_encode(), show_chapters(), show_error(), show_format(), show_frame(), show_log(), show_packet(), show_program(), show_programs(), show_stream(), show_streams(), show_subtitle(), show_tags(), shrink22(), shrink44(), shrink88(), silk_decode_frame(), snow_horizontal_compose_lift_lead_out(), snow_horizontal_compose_liftS_lead_out(), sobel(), sse(), sse_mb(), sub2video_copy_rect(), sub2video_prepare(), sub_hfyu_median_pred_int16_c(), sub_left_prediction(), sub_left_prediction_bgr32(), sub_left_prediction_rgb24(), sub_median_pred_c(), sub_median_prediction(), sub_png_paeth_prediction(), subsampling_bounds(), sunrast_decode_frame(), svq3_decode_init(), tag_tree_size(), tag_tree_zero(), targa_decode_rle(), targa_encode_normal(), targa_encode_rle(), tdsc_decode_jpeg_tile(), tdsc_decode_tiles(), tdsc_paint_cursor(), tdsc_parse_tdsf(), threshold16(), threshold8(), threshold_slice(), tm2_decode_blocks(), tongue_outline(), tqi_decode_frame(), transfer_image_buf(), transpose_block_16_c(), transpose_block_24_c(), transpose_block_32_c(), transpose_block_48_c(), transpose_block_64_c(), transpose_block_8_c(), try_8x8basis_c(), txd_decode_frame(), unpack_coeffs(), unpack_yuv(), unpremultiply16(), unpremultiply16offset(), unpremultiply16yuv(), unpremultiply8(), unpremultiply8offset(), unpremultiply8yuv(), update_canvas_size(), update_frame_pool(), update_size(), update_sono_rgb(), update_sono_yuv(), upsample_plane_c(), v210_decode_slice(), v210_enc_TMPL(), v_block_filter(), vblur(), vc2_encode_init(), vectorscope16(), vectorscope8(), verify_md5(), vfw_read_header(), video_audio_display(), video_open(), vmd_probe(), vp8_lossless_decode_frame(), vp9_handle_packet(), vu9_to_vu12_c(), vu9_to_vu12_TMPL(), w_c(), wavpack_encode_sample(), webm_dash_manifest_write_header(), webp_write_packet(), webp_write_trailer(), weight_averages(), weighted_avg_elliott_mul5_m16(), WINDOW_FUNC(), wma_lsp_to_curve(), wmv2_add_block(), wmv2_decode_end(), wmv2_decode_init(), wmv2_decode_inter_block(), wmv2_decode_motion(), wmv2_encode_init(), wmv2_mspel8_v_lowpass(), wmv2_pred_motion(), wnv1_get_code(), write_adaptation_set(), write_header(), write_representation(), write_root_table(), x8_ac_compensation(), x8_decode_intra_mb(), x8_get_ac_rlf(), x8_get_dc_rlf(), x8_get_orient_vlc(), x8_get_prediction(), x8_get_prediction_chroma(), x8_init_block_index(), x8_reset_vlc_tables(), x8_select_ac_table(), x8_setup_spatial_predictor(), x8_update_predictions(), xcbgrab_reposition(), xsub_encode_rle(), yuv2rgb(), yuv2yuv(), yvu9_to_yuy2_c(), and yvu9_to_yuy2_TMPL().
uint8_t h |
Definition at line 38 of file llviddspenc.c.
Referenced by check_sub_left_pred().
uint8_t s |
Definition at line 38 of file llviddspenc.c.
Referenced by check_sub_left_pred().
const { ... } planes[] |
Referenced by alloc_bind_mem(), alloc_buffers(), amf_copy_surface(), audio_get_buffer(), av_frame_get_plane_buffer(), av_pix_fmt_count_planes(), av_samples_copy(), av_samples_set_silence(), buffer_needs_copy(), buffer_offset(), calc_ptr_alignment(), cfhd_decode(), check_diff_bytes(), check_sub_left_pred(), create_frame(), decode_frame(), decode_slice(), encode_bgra_bitstream(), encode_slice(), ff_framequeue_skip_samples(), ff_ivi_init_planes(), ff_ivi_init_tiles(), ff_vk_add_exec_dep(), fic_draw_cursor(), filter_frame(), frame_copy_audio(), frame_copy_video(), get_audio_buffer(), get_deinterleaved_format(), init(), init_filter(), is_yuv_planar(), ivi_free_buffers(), lag_decode_frame(), mangle_rgb_planes(), output_frame(), pixfmt_is_supported(), prepare_frame(), process_frames(), process_output(), query_formats(), realloc_alpha_uv(), transfer_image_buf(), unrefcount_frame(), update_frame_pool(), v4l2_dequeue_v4l2buf(), videotoolbox_retrieve_data(), vpx_decode(), vt_map_frame(), vulkan_frame_free(), vulkan_free_internal(), vulkan_map_frame_to_mem(), and vulkan_unmap_frame().