FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
bit_depth_template.c File Reference
#include "rnd_avg.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Macros

#define BIT_DEPTH   8
 
#define AVCODEC_H264_HIGH_DEPTH_H
 
#define pixel   uint8_t
 
#define pixel2   uint16_t
 
#define pixel4   uint32_t
 
#define dctcoef   int16_t
 
#define INIT_CLIP
 
#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)   av_clip_uint8(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)
 

Macro Definition Documentation

#define BIT_DEPTH   8
#define AVCODEC_H264_HIGH_DEPTH_H

Definition at line 46 of file bit_depth_template.c.

#define pixel   uint8_t

Definition at line 69 of file bit_depth_template.c.

Referenced by copy_block16(), copy_block8(), decode_deep_rle32(), decode_deep_tvdc32(), decode_frame(), decode_rgb8(), decode_rgbn(), draw_edges(), encode_frame(), expand_rle_row(), ff_emulated_edge_mc(), ff_h264_add_pixels4(), ff_h264_add_pixels8(), 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_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_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(), pxr24_uncompress(), smc_decode_stream(), and sunrast_image_write_image().

#define pixel2   uint16_t

Definition at line 70 of file bit_depth_template.c.

#define pixel4   uint32_t
#define dctcoef   int16_t
#define INIT_CLIP

Definition at line 74 of file bit_depth_template.c.

Referenced by pred8x16_plane(), and pred8x8_plane().

#define no_rnd_avg_pixel4   no_rnd_avg32

Definition at line 75 of file bit_depth_template.c.

#define rnd_avg_pixel4   rnd_avg32

Definition at line 76 of file bit_depth_template.c.

#define AV_RN2P   AV_RN16

Definition at line 77 of file bit_depth_template.c.

Referenced by copy_block2().

#define AV_RN4P   AV_RN32

Definition at line 78 of file bit_depth_template.c.

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

#define AV_RN4PA   AV_RN32A
#define AV_WN2P   AV_WN16

Definition at line 80 of file bit_depth_template.c.

Referenced by copy_block2().

#define AV_WN4P   AV_WN32

Definition at line 81 of file bit_depth_template.c.

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

#define AV_WN4PA   AV_WN32A
#define PIXEL_SPLAT_X4 (   x)    ((x)*0x01010101U)
#define av_clip_pixel (   a)    av_clip_uint8(a)
#define CLIP (   a)    av_clip_uint8(a)
#define FUNC3 (   a,
  b,
  c 
)    a ## _ ## b ## c

Definition at line 89 of file bit_depth_template.c.

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

Definition at line 90 of file bit_depth_template.c.

#define FUNC (   a)    FUNC2(a, BIT_DEPTH,)
#define FUNCC (   a)    FUNC2(a, BIT_DEPTH, _c)