FFmpeg
Loading...
Searching...
No Matches
bit_depth_template.c File Reference
#include "mathops.h"
#include "rnd_avg.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Macros

#define BIT_DEPTH   8
 
#define AVCODEC_BIT_DEPTH_TEMPLATE_C
 
#define PIXELSIZE   8
 
#define pixel   uint8_t
 
#define pixel2   uint16_t
 
#define pixel4   uint32_t
 
#define dctcoef   int16_t
 
#define idctin   int16_t
 
#define no_rnd_avg_pixel4   no_rnd_avg32
 
#define rnd_avg_pixel4   rnd_avg32
 
#define AV_RN2P   AV_RN16
 
#define AV_RN4P   AV_RN32
 
#define AV_RN4PA   AV_RN32A
 
#define AV_WN2P   AV_WN16
 
#define AV_WN4P   AV_WN32
 
#define AV_WN4PA   AV_WN32A
 
#define PIXEL_SPLAT_X4(x)
 
#define av_clip_pixel(a)
 
#define CLIP(a)
 
#define FUNC3(a, b, c)
 
#define FUNC2(a, b, c)
 
#define FUNC(a)
 
#define FUNCC(a)
 
#define FUNCC2(a)
 
#define FUNC4(a, b, c)
 
#define FUNC5(a, b, c)
 
#define FUNC6(a)
 

Macro Definition Documentation

◆ BIT_DEPTH

#define BIT_DEPTH   8

Definition at line 24 of file bit_depth_template.c.

◆ AVCODEC_BIT_DEPTH_TEMPLATE_C

#define AVCODEC_BIT_DEPTH_TEMPLATE_C

Definition at line 48 of file bit_depth_template.c.

◆ PIXELSIZE

#define PIXELSIZE   8

Definition at line 81 of file bit_depth_template.c.

◆ pixel

#define pixel   uint8_t

Definition at line 82 of file bit_depth_template.c.

Referenced by add_residual(), add_residual(), alf_classify(), alf_clip(), alf_filter_cc(), alf_filter_chroma(), alf_filter_luma(), analyze_plane(), apply_bdof(), apply_bdof_min_block(), apply_grain_row(), apply_prof_uni(), apply_prof_uni_w(), avg(), avg_c(), bdof_fetch_samples(), bilin_1d_fn(), bilin_1d_fn(), cclm_get_luma_rec_pixels(), cclm_get_min_max(), cclm_get_params(), cclm_linear_pred(), cclm_pred_default(), cclm_select_chroma(), cclm_select_luma(), cclm_select_luma_444(), cclm_select_samples(), copy_avg_fn(), copy_block16(), copy_block8(), copy_c(), dc_127_16x16_c(), dc_127_32x32_c(), dc_127_4x4_c(), dc_127_8x8_c(), dc_128_16x16_c(), dc_128_32x32_c(), dc_128_4x4_c(), dc_128_8x8_c(), dc_129_16x16_c(), dc_129_32x32_c(), dc_129_4x4_c(), dc_129_8x8_c(), dc_16x16_c(), dc_32x32_c(), dc_4x4_c(), dc_8x8_c(), dc_left_16x16_c(), dc_left_32x32_c(), dc_left_4x4_c(), dc_left_8x8_c(), dc_top_16x16_c(), dc_top_32x32_c(), dc_top_4x4_c(), dc_top_8x8_c(), decode_deep_rle32(), decode_deep_tvdc32(), decode_frame(), decode_frame(), decode_frame(), decode_frame_common(), decode_rgb8(), decode_rgbn(), decode_rle(), decode_unit(), def_diag_downleft(), def_diag_downright(), def_hor_down(), def_vert_left(), def_vert_right(), diag_downleft_4x4_c(), dmvr(), dmvr_h(), dmvr_hv(), dmvr_v(), do_8tap_2d_c(), do_bilin_2d_c(), do_scaled_8tap_c(), dxt1_block_internal(), dxt3_block_internal(), dxt5_block_internal(), emulated_edge_mc(), encode_frame(), encode_frame(), expand_rle_row16(), expand_rle_row8(), ff_h264_add_pixels4(), ff_h264_add_pixels8(), ff_h264_idct8_add(), ff_h264_idct8_add4(), ff_h264_idct8_add4_8_lsx(), ff_h264_idct8_add4_msa(), ff_h264_idct8_dc_add(), ff_h264_idct_add(), ff_h264_idct_add16(), ff_h264_idct_add16_8_lsx(), ff_h264_idct_add16_intra_8_lsx(), ff_h264_idct_add16_intra_msa(), ff_h264_idct_add16_msa(), ff_h264_idct_add16intra(), ff_h264_idct_add8(), ff_h264_idct_add8_422(), ff_h264_idct_add8_422_8_lsx(), ff_h264_idct_add8_422_msa(), ff_h264_idct_add8_8_lsx(), ff_h264_idct_add8_msa(), ff_h264_idct_dc_add(), ff_simple_idct_put(), fguv_32x32xn_c(), fgy_32x32xn_c(), filter_8tap_1d_fn(), filter_8tap_1d_fn(), filter_8tap_2d_fn(), filter_plane(), filter_slice_rgba_packed(), filter_slice_rgba_planar(), fix_transparency(), flic_decode_frame_15_16BPP(), flic_decode_frame_24BPP(), FUNC2(), FUNC2(), gaussian_blur(), h264_h_loop_filter_chroma(), h264_h_loop_filter_chroma422(), h264_h_loop_filter_chroma422_intra(), h264_h_loop_filter_chroma422_mbaff(), h264_h_loop_filter_chroma422_mbaff_intra(), h264_h_loop_filter_chroma_intra(), h264_h_loop_filter_chroma_mbaff(), h264_h_loop_filter_chroma_mbaff_intra(), h264_h_loop_filter_luma(), h264_h_loop_filter_luma_intra(), h264_h_loop_filter_luma_mbaff(), h264_h_loop_filter_luma_mbaff_intra(), h264_loop_filter_chroma(), h264_loop_filter_chroma_intra(), h264_loop_filter_luma(), h264_loop_filter_luma_intra(), h264_v_loop_filter_chroma(), h264_v_loop_filter_chroma_intra(), h264_v_loop_filter_luma(), h264_v_loop_filter_luma_intra(), hevc_h_loop_filter_chroma(), hevc_h_loop_filter_luma(), hevc_loop_filter_chroma(), hevc_loop_filter_luma(), hevc_v_loop_filter_chroma(), hevc_v_loop_filter_luma(), hor_16x16_c(), hor_32x32_c(), hor_4x4_c(), hor_8x8_c(), idctSparseColAdd(), idctSparseColPut(), intra_cclm_pred(), intra_pred(), intra_pred(), lf_8_fns(), lmcs_derive_chroma_scale(), lmcs_filter_luma(), lmcs_sum_samples(), loop_filter(), loop_filter_chroma_strong(), loop_filter_chroma_strong_one_side(), loop_filter_chroma_weak(), loop_filter_luma_large(), loop_filter_luma_strong(), loop_filter_luma_weak(), mip_downsampling(), mip_reduced_pred(), mip_upsampling_1d(), op(), palette_subblock_data(), pred16x16_dc(), pred16x16_horizontal(), pred16x16_horizontal_add(), pred16x16_left_dc(), pred16x16_top_dc(), pred16x16_vertical(), pred16x16_vertical_add(), pred4x4_128_dc(), pred4x4_dc(), pred4x4_down_left(), pred4x4_down_right(), pred4x4_horizontal(), pred4x4_horizontal_add(), pred4x4_horizontal_down(), pred4x4_horizontal_up(), pred4x4_left_dc(), pred4x4_top_dc(), pred4x4_vertical(), pred4x4_vertical_add(), pred4x4_vertical_left(), pred4x4_vertical_right(), pred8x16_dc(), pred8x16_horizontal(), pred8x16_horizontal_add(), pred8x16_mad_cow_dc_0l0(), pred8x16_mad_cow_dc_l00(), pred8x16_plane(), pred8x16_top_dc(), pred8x16_vertical(), pred8x16_vertical_add(), pred8x8_dc(), pred8x8_horizontal(), pred8x8_horizontal_add(), pred8x8_left_dc(), pred8x8_mad_cow_dc_0l0(), pred8x8_mad_cow_dc_l00(), pred8x8_plane(), pred8x8_top_dc(), pred8x8_vertical(), pred8x8_vertical_add(), pred8x8l_128_dc(), pred8x8l_dc(), pred8x8l_down_left(), pred8x8l_down_right(), pred8x8l_horizontal(), pred8x8l_horizontal_add(), pred8x8l_horizontal_down(), pred8x8l_horizontal_filter_add(), pred8x8l_horizontal_up(), pred8x8l_left_dc(), pred8x8l_top_dc(), pred8x8l_vertical(), pred8x8l_vertical_add(), pred8x8l_vertical_filter_add(), pred8x8l_vertical_left(), pred8x8l_vertical_right(), pred_angular(), pred_angular_h(), pred_angular_v(), pred_dc(), pred_dc(), pred_dc_val(), pred_h(), pred_mip(), pred_planar(), pred_planar(), pred_v(), prepare_intra_edge_params(), put_chroma_h(), put_chroma_hv(), put_chroma_scaled(), put_chroma_v(), put_ciip(), put_gpm(), put_hevc_epel_bi_h(), put_hevc_epel_bi_hv(), put_hevc_epel_bi_v(), put_hevc_epel_bi_w_h(), put_hevc_epel_bi_w_hv(), put_hevc_epel_bi_w_v(), put_hevc_pel_bi_pixels(), put_hevc_pel_bi_w_pixels(), put_hevc_qpel_bi_h(), put_hevc_qpel_bi_hv(), put_hevc_qpel_bi_v(), put_hevc_qpel_bi_w_h(), put_hevc_qpel_bi_w_hv(), put_hevc_qpel_bi_w_v(), put_luma_h(), put_luma_hv(), put_luma_scaled(), put_luma_v(), put_pcm(), put_pixels(), put_scaled(), put_uni_chroma_h(), put_uni_chroma_hv(), put_uni_chroma_v(), put_uni_chroma_w_h(), put_uni_chroma_w_hv(), put_uni_chroma_w_v(), put_uni_luma_h(), put_uni_luma_hv(), put_uni_luma_v(), put_uni_luma_w_h(), put_uni_luma_w_hv(), put_uni_luma_w_v(), put_uni_pixels(), put_uni_w_pixels(), put_uni_w_scaled(), pxr24_uncompress(), ref_filter(), ref_filter_3tap(), ref_filter_strong(), rgb2yuv(), rgb2yuv_fsb(), rgba2ycocg(), rgtc_block_internal(), sao_band_filter(), sao_edge_filter(), sao_edge_restore_0(), sao_edge_restore_1(), scaled_filter_8tap_fn(), set_4x4_block(), smc_decode_stream(), smc_encode_stream(), sobel(), ssim_4x4x2_core(), ssim_plane(), sunrast_image_write_image(), tm_16x16_c(), tm_32x32_c(), tm_4x4_c(), tm_8x8_c(), vert_16x16_c(), vert_32x32_c(), vert_4x4_c(), vert_8x8_c(), vgs_fn_p(), vvc_h_loop_filter_chroma(), vvc_h_loop_filter_luma(), vvc_h_loop_ladf_level(), vvc_loop_filter_chroma(), vvc_loop_filter_luma(), vvc_loop_ladf_level(), vvc_v_loop_filter_chroma(), vvc_v_loop_filter_luma(), vvc_v_loop_ladf_level(), w_avg(), and yuv2rgb().

◆ pixel2

#define pixel2   uint16_t

Definition at line 83 of file bit_depth_template.c.

◆ pixel4

◆ dctcoef

◆ idctin

#define idctin   int16_t

◆ no_rnd_avg_pixel4

#define no_rnd_avg_pixel4   no_rnd_avg32

Definition at line 88 of file bit_depth_template.c.

◆ rnd_avg_pixel4

#define rnd_avg_pixel4   rnd_avg32

Definition at line 89 of file bit_depth_template.c.

Referenced by avg_c().

◆ AV_RN2P

#define AV_RN2P   AV_RN16

Definition at line 90 of file bit_depth_template.c.

Referenced by copy_block2().

◆ AV_RN4P

#define AV_RN4P   AV_RN32

Definition at line 91 of file bit_depth_template.c.

Referenced by avg_c(), copy_block16(), copy_block4(), copy_block8(), and pred_angular().

◆ AV_RN4PA

◆ AV_WN2P

#define AV_WN2P   AV_WN16

Definition at line 93 of file bit_depth_template.c.

Referenced by copy_block2().

◆ AV_WN4P

#define AV_WN4P   AV_WN32

◆ AV_WN4PA

◆ PIXEL_SPLAT_X4

◆ av_clip_pixel

◆ CLIP

◆ FUNC3

#define FUNC3 ( a,
b,
c )
Value:
a ## _ ## b ## c
#define _
#define b
Definition input.c:43
static double c[64]

Definition at line 102 of file bit_depth_template.c.

◆ FUNC2

#define FUNC2 ( a,
b,
c )
Value:
FUNC3(a, b, c)
#define FUNC3(a, b, c)

Definition at line 103 of file bit_depth_template.c.

Referenced by FUNC2(), FUNC2(), FUNC2(), and FUNC2().

◆ FUNC

#define FUNC ( a)
Value:
#define BIT_DEPTH
Definition dsp_init.c:121
#define FUNC2(a, b, c)

Definition at line 104 of file bit_depth_template.c.

Referenced by add_residual16x16(), add_residual32x32(), add_residual4x4(), add_residual8x8(), alf_classify(), alf_classify(), alf_filter_chroma(), alf_filter_luma(), apply_bdof(), apply_film_grain(), apply_grain_row(), apply_prof(), apply_prof_uni(), apply_prof_uni_w(), aps(), au_info(), aud(), aud(), aud(), cclm_get_params(), cclm_select_luma(), cclm_select_samples(), colour_mapping_octants(), colour_mapping_table(), compressed_header(), dci(), dht(), dqt(), end_of_sequence(), end_of_stream(), extension_data(), fetch_samples(), ff_fdct248_islow(), ff_hevc_pred_angular_0(), ff_hevc_pred_angular_1(), ff_hevc_pred_angular_2(), ff_hevc_pred_angular_3(), ff_jpeg_fdct_islow(), ff_vp9dsp_init(), ff_vvc_alf_dsp_init(), ff_vvc_inter_dsp_init(), ff_vvc_intra_dsp_init(), ff_vvc_itx_dsp_init(), ff_vvc_lf_dsp_init(), ff_vvc_lmcs_dsp_init(), ff_vvc_sao_dsp_init(), fguv_32x32xn_c(), fgy_32x32xn_c(), filler(), filler(), frame(), frame(), frame_header(), frame_header(), frame_header_obu(), frame_obu(), frame_size(), frame_size_with_refs(), frame_size_with_refs(), FUNC2(), global_motion_params(), hevc_h_loop_filter_chroma(), hevc_h_loop_filter_luma(), hevc_loop_filter_chroma(), hevc_loop_filter_luma(), hevc_v_loop_filter_chroma(), hevc_v_loop_filter_luma(), hrd_parameters(), intra_cclm_pred(), intra_pred(), LCEVC_BLOCK_FUNC(), LCEVC_BLOCK_FUNC(), lmcs_derive_chroma_scale(), lmcs_scale_chroma(), message_list(), metadata(), metadata_payload(), nal(), ols_timing_hrd_parameters(), opi(), ph(), picture_header(), picture_header(), pps(), pps(), pps(), pps_multilayer_extension(), pred_dc(), pred_mip(), prepare_intra_edge_params(), process_block_list(), profile_tier_level(), put_chroma_scaled(), put_hevc_pel_bi_pixels(), put_luma_scaled(), put_uni_chroma_scaled(), put_uni_chroma_w_scaled(), put_uni_luma_scaled(), put_uni_luma_w_scaled(), ref_pic_lists(), sei(), sei(), sei(), SEI_FUNC(), sequence_header_obu(), slice_header(), slice_header(), slice_header(), slice_segment_header(), sps(), sps(), sps(), sps_extension(), tile(), tile_group_obu(), uncompressed_header(), uncompressed_header(), uncompressed_header(), vps(), vps(), vui_parameters(), vui_parameters(), vui_payload(), vvc_h_loop_filter_chroma(), vvc_h_loop_filter_luma(), vvc_h_loop_ladf_level(), vvc_loop_filter_chroma(), vvc_loop_filter_luma(), vvc_v_loop_filter_chroma(), vvc_v_loop_filter_luma(), vvc_v_loop_ladf_level(), and yuv2planeX().

◆ FUNCC

◆ FUNCC2

#define FUNCC2 ( a)
Value:
#define PIXELSIZE

Definition at line 106 of file bit_depth_template.c.

◆ FUNC4

#define FUNC4 ( a,
b,
c )
Value:
a ## _int ## b ## _ ## c ## bit
#define bit(string, value)
Definition cbs_mpeg2.c:56

Definition at line 107 of file bit_depth_template.c.

◆ FUNC5

#define FUNC5 ( a,
b,
c )
Value:
FUNC4(a, b, c)
#define FUNC4(a, b, c)

Definition at line 108 of file bit_depth_template.c.

◆ FUNC6

#define FUNC6 ( a)
Value:
#define FUNC5(a, b, c)
#define IN_IDCT_DEPTH
Definition proresdsp.c:31

Definition at line 109 of file bit_depth_template.c.

Referenced by ff_simple_idct_put().