#include "dsputil.h"
Go to the source code of this file.
Defines | |
#define | BIT_DEPTH 8 |
#define | pixel uint8_t |
#define | pixel2 uint16_t |
#define | pixel4 uint32_t |
#define | dctcoef int16_t |
#define | INIT_CLIP uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; |
#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) ((x)*0x01010101U) |
#define | av_clip_pixel(a) av_clip_uint8(a) |
#define | CLIP(a) cm[a] |
#define | FUNC3(a, b, c) a ## _ ## b ## c |
#define | FUNC2(a, b, c) FUNC3(a, b, c) |
#define | FUNC(a) FUNC2(a, BIT_DEPTH,) |
#define | FUNCC(a) FUNC2(a, BIT_DEPTH, _c) |
#define av_clip_pixel | ( | a | ) | av_clip_uint8(a) |
Definition at line 84 of file bit_depth_template.c.
Referenced by h264_loop_filter_chroma(), and h264_loop_filter_luma().
#define AV_RN2P AV_RN16 |
#define AV_RN4P AV_RN32 |
Definition at line 77 of file bit_depth_template.c.
Referenced by copy_block16(), copy_block4(), and copy_block8().
#define AV_RN4PA AV_RN32A |
Definition at line 78 of file bit_depth_template.c.
Referenced by pred16x16_vertical(), pred4x4_vertical(), pred8x16_vertical(), pred8x8_vertical(), and pred8x8l_vertical().
#define AV_WN2P AV_WN16 |
#define AV_WN4P AV_WN32 |
Definition at line 80 of file bit_depth_template.c.
Referenced by copy_block16(), copy_block4(), and copy_block8().
#define AV_WN4PA AV_WN32A |
Definition at line 81 of file bit_depth_template.c.
Referenced by pred16x16_horizontal(), pred16x16_vertical(), pred4x4_127_dc(), pred4x4_128_dc(), pred4x4_129_dc(), pred4x4_dc(), pred4x4_horizontal(), pred4x4_left_dc(), pred4x4_top_dc(), pred4x4_vertical(), pred8x16_dc(), pred8x16_horizontal(), pred8x16_top_dc(), pred8x16_vertical(), pred8x8_dc(), pred8x8_horizontal(), pred8x8_left_dc(), pred8x8_top_dc(), pred8x8_vertical(), and pred8x8l_vertical().
#define BIT_DEPTH 8 |
Definition at line 22 of file bit_depth_template.c.
Referenced by h264_loop_filter_chroma(), h264_loop_filter_chroma_intra(), h264_loop_filter_luma(), h264_loop_filter_luma_intra(), pred4x4_127_dc(), pred4x4_128_dc(), pred4x4_129_dc(), and pred8x8l_128_dc().
#define CLIP | ( | a | ) | cm[a] |
Definition at line 85 of file bit_depth_template.c.
Referenced by deInterlaceFF_TMPL(), deInterlaceInterpolateCubic_TMPL(), deInterlaceL5_TMPL(), encode_frame(), ff_h264_idct8_add(), ff_h264_idct8_dc_add(), ff_h264_idct_add(), ff_h264_idct_dc_add(), idctSparseColAdd(), idctSparseColPut(), pred16x16_plane_compat(), pred8x16_plane(), and pred8x8_plane().
#define dctcoef int16_t |
Definition at line 71 of file bit_depth_template.c.
Referenced by ff_h264_chroma422_dc_dequant_idct(), ff_h264_chroma_dc_dequant_idct(), ff_h264_idct8_add(), ff_h264_idct8_add4(), ff_h264_idct8_dc_add(), ff_h264_idct_add(), ff_h264_idct_add16(), ff_h264_idct_add16intra(), ff_h264_idct_add8(), ff_h264_idct_add8_422(), ff_h264_idct_dc_add(), ff_h264_luma_dc_dequant_idct(), pred4x4_horizontal_add(), pred4x4_vertical_add(), pred8x8l_horizontal_add(), and pred8x8l_vertical_add().
#define FUNC | ( | a | ) | FUNC2(a, BIT_DEPTH,) |
Definition at line 90 of file bit_depth_template.c.
Referenced by ff_fdct248_islow(), ff_jpeg_fdct_islow(), ff_simple_idct(), ff_simple_idct_add(), ff_simple_idct_put(), main(), and put_no_rnd_pixels16_l2().
Definition at line 89 of file bit_depth_template.c.
Definition at line 88 of file bit_depth_template.c.
#define FUNCC | ( | a | ) | FUNC2(a, BIT_DEPTH, _c) |
Definition at line 91 of file bit_depth_template.c.
Referenced by ff_h264_idct8_add4(), ff_h264_idct_add16(), ff_h264_idct_add16intra(), ff_h264_idct_add8(), ff_h264_idct_add8_422(), 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_v_loop_filter_chroma(), h264_v_loop_filter_chroma_intra(), h264_v_loop_filter_luma(), h264_v_loop_filter_luma_intra(), pred16x16_horizontal_add(), pred16x16_plane(), pred16x16_vertical_add(), pred8x16_128_dc(), pred8x16_horizontal_add(), pred8x16_left_dc(), pred8x16_mad_cow_dc_0l0(), pred8x16_mad_cow_dc_0lt(), pred8x16_mad_cow_dc_l00(), pred8x16_mad_cow_dc_l0t(), pred8x16_vertical_add(), pred8x8_horizontal_add(), pred8x8_mad_cow_dc_0l0(), pred8x8_mad_cow_dc_0lt(), pred8x8_mad_cow_dc_l00(), pred8x8_mad_cow_dc_l0t(), and pred8x8_vertical_add().
#define INIT_CLIP uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; |
Definition at line 73 of file bit_depth_template.c.
Referenced by ff_h264_idct8_add(), ff_h264_idct8_dc_add(), ff_h264_idct_add(), ff_h264_idct_dc_add(), idctSparseColAdd(), idctSparseColPut(), pred16x16_plane_compat(), pred8x16_plane(), and pred8x8_plane().
#define no_rnd_avg_pixel4 no_rnd_avg32 |
Definition at line 74 of file bit_depth_template.c.
#define pixel uint8_t |
Definition at line 68 of file bit_depth_template.c.
Referenced by copy_block16(), copy_block8(), decode_frame(), draw_edges(), expand_rle_row(), ff_emulated_edge_mc(), ff_h264_idct8_add(), ff_h264_idct8_add4(), ff_h264_idct8_dc_add(), ff_h264_idct_add(), ff_h264_idct_add16(), ff_h264_idct_add16intra(), ff_h264_idct_add8(), ff_h264_idct_add8_422(), ff_h264_idct_dc_add(), ff_simple_idct_add(), ff_simple_idct_put(), flic_decode_frame_15_16BPP(), 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(), pred16x16_dc(), pred16x16_horizontal(), pred16x16_horizontal_add(), pred16x16_left_dc(), pred16x16_plane_compat(), pred16x16_top_dc(), pred16x16_vertical(), pred16x16_vertical_add(), pred4x4_127_dc(), pred4x4_128_dc(), pred4x4_129_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_up(), pred8x8l_left_dc(), pred8x8l_top_dc(), pred8x8l_vertical(), pred8x8l_vertical_add(), pred8x8l_vertical_left(), pred8x8l_vertical_right(), and smc_decode_stream().
#define pixel2 uint16_t |
Definition at line 69 of file bit_depth_template.c.
#define pixel4 uint32_t |
Definition at line 70 of file bit_depth_template.c.
Referenced by pred16x16_dc(), pred16x16_horizontal(), pred16x16_left_dc(), pred16x16_top_dc(), pred16x16_vertical(), pred4x4_127_dc(), pred4x4_128_dc(), pred4x4_129_dc(), pred4x4_dc(), pred4x4_left_dc(), pred4x4_top_dc(), pred4x4_vertical(), pred8x16_dc(), pred8x16_horizontal(), pred8x16_top_dc(), pred8x16_vertical(), pred8x8_dc(), pred8x8_horizontal(), pred8x8_left_dc(), pred8x8_top_dc(), pred8x8_vertical(), pred8x8l_dc(), pred8x8l_horizontal(), pred8x8l_left_dc(), pred8x8l_top_dc(), and pred8x8l_vertical().
#define PIXEL_SPLAT_X4 | ( | x | ) | ((x)*0x01010101U) |
Definition at line 82 of file bit_depth_template.c.
Referenced by pred16x16_dc(), pred16x16_horizontal(), pred16x16_left_dc(), pred16x16_top_dc(), pred4x4_127_dc(), pred4x4_128_dc(), pred4x4_129_dc(), pred4x4_dc(), pred4x4_horizontal(), pred4x4_left_dc(), pred4x4_top_dc(), pred8x16_dc(), pred8x16_horizontal(), pred8x16_top_dc(), pred8x8_dc(), pred8x8_horizontal(), pred8x8_left_dc(), pred8x8_top_dc(), pred8x8l_128_dc(), pred8x8l_dc(), pred8x8l_left_dc(), and pred8x8l_top_dc().
#define rnd_avg_pixel4 rnd_avg32 |
Definition at line 75 of file bit_depth_template.c.