Go to the documentation of this file.
26 #ifdef AVCODEC_BIT_DEPTH_TEMPLATE_C
32 # undef no_rnd_avg_pixel4
33 # undef rnd_avg_pixel4
44 # undef PIXEL_SPLAT_X4
46 # define AVCODEC_BIT_DEPTH_TEMPLATE_C
50 # define pixel uint16_t
51 # define pixel2 uint32_t
52 # define pixel4 uint64_t
53 # define dctcoef int32_t
56 # define no_rnd_avg_pixel4 no_rnd_avg64
57 # define rnd_avg_pixel4 rnd_avg64
58 # define AV_RN2P AV_RN32
59 # define AV_RN4P AV_RN64
60 # define AV_RN4PA AV_RN64A
61 # define AV_WN2P AV_WN32
62 # define AV_WN4P AV_WN64
63 # define AV_WN4PA AV_WN64A
64 # define PIXEL_SPLAT_X4(x) ((x)*0x0001000100010001ULL)
66 # define av_clip_pixel(a) av_clip_uintp2(a, BIT_DEPTH)
67 # define CLIP(a) av_clip_uintp2(a, BIT_DEPTH)
69 # define pixel uint8_t
70 # define pixel2 uint16_t
71 # define pixel4 uint32_t
72 # define dctcoef int16_t
75 # define no_rnd_avg_pixel4 no_rnd_avg32
76 # define rnd_avg_pixel4 rnd_avg32
77 # define AV_RN2P AV_RN16
78 # define AV_RN4P AV_RN32
79 # define AV_RN4PA AV_RN32A
80 # define AV_WN2P AV_WN16
81 # define AV_WN4P AV_WN32
82 # define AV_WN4PA AV_WN32A
83 # define PIXEL_SPLAT_X4(x) ((x)*0x01010101U)
85 # define av_clip_pixel(a) av_clip_uint8(a)
86 # define CLIP(a) av_clip_uint8(a)
89 #define FUNC3(a, b, c) a ## _ ## b ## c
90 #define FUNC2(a, b, c) FUNC3(a, b, c)
91 #define FUNC(a) FUNC2(a, BIT_DEPTH,)
92 #define FUNCC(a) FUNC2(a, BIT_DEPTH, _c)