FFmpeg
Macros | Functions | Variables
llviddspenc.c File Reference
#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 []
 

Macro Definition Documentation

#define randomize_buffers (   buf,
  size 
)
Value:
do { \
int j; \
for (j = 0; j < size; j+=4) \
AV_WN32(buf + j, rnd()); \
} while (0)
ptrdiff_t size
Definition: opengl_enc.c:100
void * buf
Definition: avisynth_c.h:766
int
#define AV_WN32(p, v)
Definition: intreadwrite.h:376
#define rnd()
Definition: checkasm.h:106
for(j=16;j >0;--j)

Definition at line 31 of file llviddspenc.c.

Referenced by check_diff_bytes(), and check_sub_left_pred().

#define MAX_STRIDE   128

Definition at line 42 of file llviddspenc.c.

Referenced by check_diff_bytes(), and check_sub_left_pred().

#define MAX_HEIGHT   127

Definition at line 43 of file llviddspenc.c.

Referenced by check_sub_left_pred().

Function Documentation

static void check_diff_bytes ( LLVidEncDSPContext c)
static

Definition at line 45 of file llviddspenc.c.

Referenced by checkasm_check_llviddspenc().

static void check_sub_left_pred ( LLVidEncDSPContext c)
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.

Variable Documentation

Definition at line 38 of file llviddspenc.c.

Referenced by __align__(), aac_encode_frame(), 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_waves(), adjust_frame_information(), all_same(), alloc_buffers(), alloc_frame(), alloc_frame_empty(), alloc_sequence_buffers(), analyze_plane(), 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_check_size2(), av_image_fill_black(), av_opt_is_set_to_default(), av_vdpau_get_surface_parameters(), avg_c(), avg_h264_qpel8_v_lowpass_mmi(), avg_h264_qpel8or16_hv2_lowpass_mmi(), avoid_clipping(), avpriv_mirror(), blend_line(), blend_line16(), blend_line_hv(), blend_line_hv16(), blend_pixel(), blend_pixel16(), blur(), bswap_buf(), build_filter(), calc_persp_luts(), calc_thr_3gpp(), cbs_av1_read_ns(), cbs_av1_write_ns(), cdxl_decode_frame(), celt_postfilter_apply_transition(), channel_weighting(), check_add_bytes(), 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_multiply3x3(), check_rgb2yuv(), check_sub_left_pred(), check_threshold(), check_yuv2rgb(), check_yuv2yuv(), checkasm_check_nlmeans(), checkasm_check_vf_gblur(), choose_rct_params(), clv_decode_init(), codebook_trellis_rate(), color_correlation(), color_correlation_gbrp(), color_decorrelation(), color_decorrelation_gbrp(), color_mix(), compose(), compute_default_clut(), compute_histogram16(), compute_histogram8(), compute_metric(), compute_safe_ssd_integral_image_c(), 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_cell(), copy_CTB_to_hv(), copy_picture_field(), copy_rev(), correlate(), correlate_slice_buffered(), cover_rect(), create_clusters(), 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_blocks(), decode_delta_j(), decode_dlta(), decode_dvd_subtitles(), decode_entropy_coded_image(), decode_fint(), decode_frame(), decode_frame_common(), decode_frame_header(), decode_hextile(), decode_hybrid(), decode_init(), decode_inter_plane(), decode_line_TMPL(), decode_mous(), decode_move(), decode_mvc2(), decode_plane(), decode_q_branch(), decode_rgb_frame_TMPL(), decode_rle(), decode_sequence_header_adv(), decode_slice(), decode_subband_slice_buffered(), decode_tns(), decompose(), decorrelate(), deflicker16(), deflicker8(), deinterleaveBytes_c(), denoise_depth(), denoise_spatial(), denoise_temporal(), dequantization_float(), dequantization_int(), dequantization_int_97(), dequantize(), dequantize_slice_buffered(), diff_bytes_c(), diff_int16_c(), displace_packed(), displace_planar(), display_integral(), 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(), double_threshold(), dpx_probe(), draw_axis_rgb(), draw_axis_yuv(), draw_background(), draw_bar_rgb(), draw_bar_yuv(), draw_curves(), draw_dc(), draw_edges_8_c(), draw_response(), dvbsub_parse_page_segment(), 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_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(), 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_big_add(), ff_big_div(), ff_big_mul(), ff_blend_rectangle(), ff_boxblur_eval_filter_params(), ff_calculate_bounding_box(), ff_dnxhd_parse_header_prefix(), ff_emulated_edge_mc(), ff_fill_line_with_color(), ff_h263_decode_frame(), ff_idet_filter_line_c(), ff_idet_filter_line_c_16bit(), ff_init_nextband_map(), ff_jpeg2000_tag_tree_init(), ff_jpegls_decode_picture(), ff_libwebp_get_frame(), ff_mjpeg_decode_frame(), ff_mpadsp_apply_window_TMPL(), ff_mspel_motion(), ff_pnm_decode_header(), ff_printGUID(), ff_rle_encode(), ff_rm_parse_packet(), ff_rtjpeg_decode_frame_yuv420(), ff_rtp_send_jpeg(), ff_scale_eval_dimensions(), ff_simple_idct_axp(), ff_snow_alloc_blocks(), ff_snow_common_init_after_header(), ff_spdif_bswap_buf16(), ff_sws_alphablendaway(), ff_vc1_decode_entry_point(), ff_vc1_decode_sequence_header(), ff_videotoolbox_uninit(), ff_vmafmotion_init(), ff_vp9_decode_block(), ff_wmv2_add_mb(), 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(), fill_loopfilter_buffers(), 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_frame(), filter_frame16(), filter_frame8(), filter_mbedge(), filter_slice(), find_smallest_bounding_rectangle(), finish_file(), flush(), for(), free_adaptation_sets(), g2m_paint_cursor(), gen_image(), get_4block_rd(), get_block_bits(), get_block_rd(), get_dc(), get_input(), get_intra_count(), getpix(), getSSD(), gif_crop_translucent(), gif_fill_rect(), guess_dc(), halfpel_interpol(), 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(), hqa_decode_slice(), hqx_filter(), 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_planes(), interleaveBytes_c(), interleaveBytes_TMPL(), irdft_horizontal16(), irdft_horizontal8(), iterative_me(), ivi_output_plane(), kmvc_decode_inter_8x8(), kmvc_decode_intra_8x8(), lift(), liftS(), load_input_picture(), lpc_apply_welch_window_c(), lut_packed_16bits(), lut_packed_8bits(), lut_planar_16bits(), lut_planar_8bits(), magicyuv_median_pred16(), main(), mark_pns(), mask_edges(), matroska_parse_rm_audio(), 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_template(), mss2_decode_frame(), multiply3x3_c(), nlmeans_opencl_filter_frame(), 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_presentation_segment(), passed(), pcx_decode_frame(), pick_palette_entry(), pix_norm1(), pix_sum(), pixlet_decode_frame(), pixscope_filter_frame(), png_filter_row(), postprocess_chroma(), postprocess_luma(), predict_slice(), predict_slice_buffered(), probe(), process_c(), process_frame_obj(), psy_3gpp_analyze_channel(), ptx_decode_frame(), push(), 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(), quantize(), ratecontrol_1pass(), rdft_horizontal16(), rdft_horizontal8(), read_huffman_code_normal(), read_shape_from_file(), realloc_texture(), request_frame(), resample_cubic(), resample_linear(), rescale(), rgb2yuv(), rgb2yuv_fsb(), rle_uncompress(), rv30_parse_slice_header(), rv40_parse_slice_header(), sao_filter_CTB(), scaled_filter_8tap_fn(), scaledown(), scaleup(), scroll_slice(), search_for_ms(), search_for_pns(), search_for_quantizers_anmr(), search_for_quantizers_fast(), search_for_quantizers_twoloop(), selfTest(), set_blocks(), set_frame(), set_special_band_scalefactors(), set_sps(), sgi_rle_encode(), shrink22(), shrink44(), shrink88(), silk_decode_frame(), snow_horizontal_compose_lift_lead_out(), snow_horizontal_compose_liftS_lead_out(), soft_thresholding(), sse(), sse_mb(), sub2video_prepare(), sub_hfyu_median_pred_int16_c(), sub_median_pred_c(), sub_png_paeth_prediction(), sunrast_decode_frame(), svq3_decode_init(), targa_encode_normal(), tdsc_decode_tiles(), tdsc_paint_cursor(), tdsc_parse_tdsf(), tm2_decode_blocks(), tqi_decode_frame(), 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(), update_canvas_size(), update_frame_pool(), update_size(), update_sono_rgb(), update_sono_yuv(), 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(), wait_frame(), wavpack_encode_sample(), webm_dash_manifest_write_header(), webp_write_packet(), webp_write_trailer(), weight_averages(), WINDOW_FUNC(), wma_lsp_to_curve(), wmv2_decode_end(), wmv2_decode_init(), wmv2_encode_init(), wmv2_mspel8_v_lowpass(), write_adaptation_set(), write_header(), write_representation(), write_root_table(), xcbgrab_reposition(), yuv2rgb(), yuv2yuv(), yvu9_to_yuy2_c(), and yvu9_to_yuy2_TMPL().

Definition at line 38 of file llviddspenc.c.

Referenced by check_sub_left_pred().

Definition at line 38 of file llviddspenc.c.

Referenced by check_sub_left_pred().

const { ... } planes[]