Loading...
Searching...
No Matches
Go to the documentation of this file.
27#ifdef AVCODEC_BIT_DEPTH_TEMPLATE_C
34# undef no_rnd_avg_pixel4
49# define AVCODEC_BIT_DEPTH_TEMPLATE_C
54# define pixel uint16_t
55# define pixel2 uint32_t
56# define pixel4 uint64_t
57# define dctcoef int32_t
61# define tpixel int16_t
65#if IN_IDCT_DEPTH == 32
66# define idctin int32_t
68# define idctin int16_t
71# define idctin int16_t
74# define no_rnd_avg_pixel4 no_rnd_avg64
75# define rnd_avg_pixel4 rnd_avg64
76# define AV_RN2P AV_RN32
77# define AV_RN4P AV_RN64
78# define AV_RN4PA AV_RN64A
79# define AV_WN2P AV_WN32
80# define AV_WN4P AV_WN64
81# define AV_WN4PA AV_WN64A
82# define PIXEL_SPLAT_X4(x) ((x)*0x0001000100010001ULL)
84# define av_clip_pixel(a) av_clip_uintp2(a, BIT_DEPTH)
85# define CLIP(a) av_clip_uintp2(a, BIT_DEPTH)
89# define pixel2 uint16_t
90# define pixel4 uint32_t
91# define dctcoef int16_t
92# define idctin int16_t
93# define tpixel int16_t
95# define no_rnd_avg_pixel4 no_rnd_avg32
96# define rnd_avg_pixel4 rnd_avg32
97# define AV_RN2P AV_RN16
98# define AV_RN4P AV_RN32
99# define AV_RN4PA AV_RN32A
100# define AV_WN2P AV_WN16
101# define AV_WN4P AV_WN32
102# define AV_WN4PA AV_WN32A
103# define PIXEL_SPLAT_X4(x) ((x)*0x01010101U)
105# define av_clip_pixel(a) av_clip_uint8(a)
106# define CLIP(a) av_clip_uint8(a)
109#define FUNC3(a, b, c) a ## _ ## b ## c
110#define FUNC2(a, b, c) FUNC3(a, b, c)
111#define FUNC(a) FUNC2(a, BIT_DEPTH,)
112#define FUNCC(a) FUNC2(a, BIT_DEPTH, _c)
113#define FUNCC2(a) FUNC2(a, PIXELSIZE, _c)
114#define FUNC4(a, b, c) a ## _int ## b ## _ ## c ## bit
115#define FUNC5(a, b, c) FUNC4(a, b, c)
116#define FUNC6(a) FUNC5(a, IN_IDCT_DEPTH, BIT_DEPTH)