Go to the documentation of this file.
25 #ifdef AVCODEC_H264_HIGH_DEPTH_H
31 # undef no_rnd_avg_pixel4
32 # undef rnd_avg_pixel4
43 # undef PIXEL_SPLAT_X4
45 # define AVCODEC_H264_HIGH_DEPTH_H
49 # define pixel uint16_t
50 # define pixel2 uint32_t
51 # define pixel4 uint64_t
52 # define dctcoef int32_t
55 # define no_rnd_avg_pixel4 no_rnd_avg64
56 # define rnd_avg_pixel4 rnd_avg64
57 # define AV_RN2P AV_RN32
58 # define AV_RN4P AV_RN64
59 # define AV_RN4PA AV_RN64A
60 # define AV_WN2P AV_WN32
61 # define AV_WN4P AV_WN64
62 # define AV_WN4PA AV_WN64A
63 # define PIXEL_SPLAT_X4(x) ((x)*0x0001000100010001ULL)
65 # define av_clip_pixel(a) av_clip_uintp2(a, BIT_DEPTH)
66 # define CLIP(a) av_clip_uintp2(a, BIT_DEPTH)
68 # define pixel uint8_t
69 # define pixel2 uint16_t
70 # define pixel4 uint32_t
71 # define dctcoef int16_t
74 # define no_rnd_avg_pixel4 no_rnd_avg32
75 # define rnd_avg_pixel4 rnd_avg32
76 # define AV_RN2P AV_RN16
77 # define AV_RN4P AV_RN32
78 # define AV_RN4PA AV_RN32A
79 # define AV_WN2P AV_WN16
80 # define AV_WN4P AV_WN32
81 # define AV_WN4PA AV_WN32A
82 # define PIXEL_SPLAT_X4(x) ((x)*0x01010101U)
84 # define av_clip_pixel(a) av_clip_uint8(a)
85 # define CLIP(a) av_clip_uint8(a)
88 #define FUNC3(a, b, c) a ## _ ## b ## c
89 #define FUNC2(a, b, c) FUNC3(a, b, c)
90 #define FUNC(a) FUNC2(a, BIT_DEPTH,)
91 #define FUNCC(a) FUNC2(a, BIT_DEPTH, _c)