FFmpeg
Macros | Functions | Variables
llviddspenc.c File Reference
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.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 []
 

Macro Definition Documentation

◆ randomize_buffers

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
for (j = 0; j < size; j+=4) \
AV_WN32(buf + j, rnd()); \
} while (0)

Definition at line 31 of file llviddspenc.c.

◆ MAX_STRIDE

#define MAX_STRIDE   128

Definition at line 42 of file llviddspenc.c.

◆ MAX_HEIGHT

#define MAX_HEIGHT   127

Definition at line 43 of file llviddspenc.c.

Function Documentation

◆ check_diff_bytes()

static void check_diff_bytes ( LLVidEncDSPContext c)
static

Definition at line 45 of file llviddspenc.c.

Referenced by checkasm_check_llviddspenc().

◆ check_sub_left_pred()

static void check_sub_left_pred ( LLVidEncDSPContext c)
static

Definition at line 76 of file llviddspenc.c.

Referenced by checkasm_check_llviddspenc().

◆ checkasm_check_llviddspenc()

void checkasm_check_llviddspenc ( void  )

Definition at line 104 of file llviddspenc.c.

Variable Documentation

◆ w

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_contrast_change16(), apply_contrast_change8(), apply_delogo(), apply_intensity_stereo(), apply_luma_lut(), apply_luma_lut10(), apply_lut(), apply_lut10(), apply_mid_side_stereo(), apply_palette(), apply_tns(), 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_mirror(), biquad_process(), black_counter(), blend_line(), blend_line16(), blend_line_hv(), blend_line_hv16(), blend_pixel(), blend_pixel16(), block_fill(), block_sum(), blockdetect_filter_frame(), blur(), blur_image(), blur_pixel(), blurdetect_filter_frame(), box_slice(), bswap_buf(), build_filter(), calc_channel_magnitudes(), calc_correction(), calc_persp_luts(), calc_thr_3gpp(), calculate_blockiness(), calculate_blur(), 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_horiz_slice(), check_idct_dc4(), check_input_planar_rgb_to_a(), check_input_planar_rgb_to_uv(), check_input_planar_rgb_to_y(), check_intra_mode(), check_multiply3x3(), check_rgb2yuv(), check_sao_band(), check_sao_edge(), check_sub_left_pred(), check_threshold(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_nlmeans(), 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(), compute_vif2(), config_filter(), config_input(), 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(), cudascale_config_props(), cudascale_get_video_buffer(), 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_frame_lscr(), decode_hextile(), decode_hybrid(), decode_init(), decode_inter_plane(), decode_line(), decode_long_vertical_delta(), decode_long_vertical_delta2(), decode_mad1(), decode_mad1_24(), decode_mous(), decode_move(), decode_mvc2(), decode_plane(), decode_q_branch(), decode_rgb_frame(), decode_rle(), decode_row(), 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(), decompress(), 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(), dnxhd_probe(), do_8tap_2d_c(), do_bilin_2d_c(), do_convolve(), do_lumakey_slice16(), do_lumakey_slice8(), do_scaled_8tap_c(), do_slice(), doTest(), dpx_probe(), draw_arrow(), draw_axis_rgb(), draw_axis_yuv(), draw_background(), draw_bar_rgb(), draw_bar_yuv(), draw_block_rectangle(), draw_curves(), draw_dc(), draw_edges_8_c(), draw_legend(), draw_line(), draw_response(), draw_spatial(), dump_dynamic_hdr_plus(), dump_dynamic_hdr_vivid(), dup_wchar_to_utf8(), dvb_encode_rle2(), dvb_encode_rle4(), dvb_encode_rle8(), dvbsub_encode(), dvd_encode_rle(), dvdsub_parse_extradata(), dwt_decode53(), dwt_decode97_float(), dwt_decode97_int(), dwt_encode53(), dwt_encode97_float(), dwt_encode97_int(), dx2_decode_slice_410(), dx2_decode_slice_420(), dxa_probe(), dxa_read_header(), dxtory_decode_v1_410(), dxtory_decode_v1_420(), dxtory_decode_v1_444(), edge_width(), encode_band_info(), encode_block(), encode_blocks(), encode_ext_header(), encode_flush(), encode_frame(), encode_line(), encode_ms_info(), encode_plane(), encode_q_branch(), encode_q_branch2(), encode_rgb_frame(), 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_aom_image_copy_16_to_8(), 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_rectangle2(), ff_default_get_video_buffer(), ff_default_get_video_buffer2(), ff_dnn_execute_layer_pad(), ff_dnxhd_get_hr_frame_size(), ff_double_threshold(), ff_emulated_edge_mc(), ff_fill_rectangle(), ff_get_video_buffer(), ff_idet_filter_line_c(), ff_idet_filter_line_c_16bit(), ff_init_nextband_map(), ff_interleave_bytes_lasx(), 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_metal_compute_encoder_dispatch(), ff_mjpeg_decode_frame_from_buf(), ff_mpadsp_apply_window_TMPL(), ff_mpeg4_decode_studio(), ff_mspel_motion(), ff_non_maximum_suppression(), ff_null_get_video_buffer(), ff_parse_itu_t_t35_to_dynamic_hdr10_plus(), ff_parse_itu_t_t35_to_dynamic_hdr_vivid(), ff_png_filter_row(), 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_tag_tree_zero(), ff_tx_gen_pfa_input_map(), 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_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(), fft9(), 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_channels(), filter_dbl(), filter_edges(), filter_edges_16bit(), filter_flt(), 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(), fuzz_video_get_buffer(), g2m_paint_cursor(), gaussian_blur(), gen_image(), generate_density_map(), get_4block_rd(), get_alpha_data(), get_block_bits(), get_block_rd(), get_dc(), get_heat(), get_input(), get_intra_count(), get_lin_bin_abs(), get_lin_bin_sign(), get_log_bin_abs(), get_log_bin_sign(), get_output(), get_plane_wh(), get_response(), get_shear_params_valid(), get_slice_data(), get_video_buffer(), get_x(), get_xoutput(), get_zeropadded_input(), getpix(), getpix_integrate(), getpix_integrate_internal(), getSSD(), gif_copy_img_rect(), gif_crop_translucent(), gif_fill_rect(), guess_dc(), h_block_filter(), 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_sad(), implicit_weight_table(), ingenient_read_packet(), init(), init_cqt(), init_decoder(), init_dxgi_dda(), init_imdct_window(), init_noise(), init_pattern_from_file(), init_pattern_from_string(), init_planes(), input_flip(), interleave(), interleaveBytes_c(), irdft_horizontal16(), irdft_horizontal8(), iterative_me(), ivi_output_plane(), jpeg_create_header(), kmvc_decode_inter_8x8(), kmvc_decode_intra_8x8(), left_prediction(), libdav1d_picture_allocator(), lift(), liftS(), limitdiff16(), limitdiff8(), limitdiff_slice(), 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(), map_alloc(), map_init(), mark_pns(), mask_edges(), maskedclamp_slice(), 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(), mss2_blit_wmv9_c(), mss2_blit_wmv9_masked_c(), mss2_blit_wmv9_template(), mss2_decode_frame(), mss2_gray_fill_masked_c(), multiply(), multiply3x3_c(), multiply_slice(), negate16(), negate8(), negate_packed16(), negate_packed8(), nlmeans_opencl_filter_frame(), nlmeans_plane(), noise(), 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_heatmaps(), parse_mb_skip(), parse_presentation_segment(), passed(), pcx_decode_frame(), pgmyuv_save(), pick_palette_entry(), pix_norm1(), pix_sum(), pixelize_slice(), pixlet_decode_frame(), pixscope_filter_frame(), plot_freq(), plot_gamuts(), plot_white_point(), pop_greys(), postprocess_chroma(), postprocess_luma(), predict_intra(), predict_slice(), predict_slice_buffered(), premultiply16(), premultiply16offset(), premultiply16yuv(), premultiply8(), premultiply8offset(), premultiply8yuv(), premultiplyf32(), premultiplyf32offset(), prepare_impulse(), prewarp(), print_dovi_metadata(), 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(), quantize(), quantize_band_cost_cached(), ratecontrol_1pass(), rdft_horizontal16(), rdft_horizontal8(), read_interval_packets(), read_iplane(), read_packets(), read_shape_from_file(), realloc_texture(), reflectx(), remap_frame_to_palette(), request_frame(), resample_cubic(), resample_linear(), rescale(), rgb2yuv(), rgb2yuv_fsb(), rle_uncompress(), roi_scale_cblk(), run_lowpassd(), run_lowpassf(), 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(), smc_encode_stream(), 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(), targa_decode_rle(), targa_encode_normal(), targa_encode_rle(), tdsc_decode_jpeg_tile(), tdsc_decode_tiles(), tdsc_paint_cursor(), tdsc_parse_tdsf(), threshold16(), threshold16_abs(), threshold16_diff(), threshold8(), threshold8_abs(), threshold8_diff(), 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_10bit(), unpack_coeffs(), unpack_yuv(), unpremultiply16(), unpremultiply16offset(), unpremultiply16yuv(), unpremultiply8(), unpremultiply8offset(), unpremultiply8yuv(), unpremultiplyf32(), unpremultiplyf32offset(), update_canvas_size(), update_frame_pool(), update_size(), update_sono_rgb(), update_sono_yuv(), upsample_plane_c(), v210_enc_TMPL(), v_block_filter(), vblur(), vc2_encode_init(), vectorscope16(), vectorscope8(), verify_md5(), vfw_read_header(), video_audio_display(), video_frame(), video_open(), vif_dec2(), vif_filter1d(), vif_statistic(), vif_xx_yy_xy(), vmd_probe(), vp8_lossless_decode_frame(), vp9_handle_packet(), vt_pool_alloc(), vu9_to_vu12_c(), vu9_to_vu12_TMPL(), w_c(), wavarc_read_header(), wavarc_read_packet(), wavpack_encode_sample(), webm_dash_manifest_write_header(), webp_init(), webp_write_packet(), webp_write_trailer(), weight_averages(), WINDOW_FUNC(), wma_lsp_to_curve(), wmv2_add_block(), wmv2_decode_end(), wmv2_decode_init(), wmv2_decode_inter_block(), wmv2_decode_mb(), wmv2_decode_motion(), wmv2_encode_init(), wmv2_mspel8_v_lowpass(), wmv2_pred_motion(), 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().

◆ h

uint8_t h

Definition at line 38 of file llviddspenc.c.

Referenced by check_sub_left_pred().

◆ s

uint8_t s

Definition at line 38 of file llviddspenc.c.

Referenced by check_sub_left_pred().

◆ planes

const { ... } planes[]
rnd
#define rnd()
Definition: checkasm.h:118
AV_WN32
#define AV_WN32(p, v)
Definition: intreadwrite.h:376
size
int size
Definition: twinvq_data.h:10344