Loading...
Searching...
No Matches
Go to the documentation of this file.
27#ifdef AVCODEC_BIT_DEPTH_TEMPLATE_C
33# undef no_rnd_avg_pixel4
48# define AVCODEC_BIT_DEPTH_TEMPLATE_C
53# define pixel uint16_t
54# define pixel2 uint32_t
55# define pixel4 uint64_t
56# define dctcoef int32_t
59#if IN_IDCT_DEPTH == 32
60# define idctin int32_t
62# define idctin int16_t
65# define idctin int16_t
68# define no_rnd_avg_pixel4 no_rnd_avg64
69# define rnd_avg_pixel4 rnd_avg64
70# define AV_RN2P AV_RN32
71# define AV_RN4P AV_RN64
72# define AV_RN4PA AV_RN64A
73# define AV_WN2P AV_WN32
74# define AV_WN4P AV_WN64
75# define AV_WN4PA AV_WN64A
76# define PIXEL_SPLAT_X4(x) ((x)*0x0001000100010001ULL)
78# define av_clip_pixel(a) av_clip_uintp2(a, BIT_DEPTH)
79# define CLIP(a) av_clip_uintp2(a, BIT_DEPTH)
83# define pixel2 uint16_t
84# define pixel4 uint32_t
85# define dctcoef int16_t
86# define idctin int16_t
88# define no_rnd_avg_pixel4 no_rnd_avg32
89# define rnd_avg_pixel4 rnd_avg32
90# define AV_RN2P AV_RN16
91# define AV_RN4P AV_RN32
92# define AV_RN4PA AV_RN32A
93# define AV_WN2P AV_WN16
94# define AV_WN4P AV_WN32
95# define AV_WN4PA AV_WN32A
96# define PIXEL_SPLAT_X4(x) ((x)*0x01010101U)
98# define av_clip_pixel(a) av_clip_uint8(a)
99# define CLIP(a) av_clip_uint8(a)
102#define FUNC3(a, b, c) a ## _ ## b ## c
103#define FUNC2(a, b, c) FUNC3(a, b, c)
104#define FUNC(a) FUNC2(a, BIT_DEPTH,)
105#define FUNCC(a) FUNC2(a, BIT_DEPTH, _c)
106#define FUNCC2(a) FUNC2(a, PIXELSIZE, _c)
107#define FUNC4(a, b, c) a ## _int ## b ## _ ## c ## bit
108#define FUNC5(a, b, c) FUNC4(a, b, c)
109#define FUNC6(a) FUNC5(a, IN_IDCT_DEPTH, BIT_DEPTH)