Home
last modified time | relevance | path

Searched refs:BIT_DEPTH (Results 1 – 25 of 35) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dh264idct.c30 #define BIT_DEPTH 8 macro
32 #undef BIT_DEPTH
34 #define BIT_DEPTH 9 macro
36 #undef BIT_DEPTH
38 #define BIT_DEPTH 10 macro
40 #undef BIT_DEPTH
42 #define BIT_DEPTH 12 macro
44 #undef BIT_DEPTH
46 #define BIT_DEPTH 14 macro
48 #undef BIT_DEPTH
Dh264dsp.c39 #define BIT_DEPTH 8 macro
41 #undef BIT_DEPTH
43 #define BIT_DEPTH 9 macro
45 #undef BIT_DEPTH
47 #define BIT_DEPTH 10 macro
49 #undef BIT_DEPTH
51 #define BIT_DEPTH 12 macro
53 #undef BIT_DEPTH
55 #define BIT_DEPTH 14 macro
57 #undef BIT_DEPTH
[all …]
Dhevcdsp_template.c39 dst[x] = get_bits(gb, pcm_bit_depth) << (BIT_DEPTH - pcm_bit_depth); in FUNC()
109 int shift = 15 - BIT_DEPTH - log2_size; in FUNC()
161 shift = 20 - BIT_DEPTH; in FUNC()
257 shift = 20 - BIT_DEPTH; \
269 int shift = 14 - BIT_DEPTH; \
307 int shift = BIT_DEPTH - 5; in FUNC()
506 dst[x] = src[x] << (14 - BIT_DEPTH); in FUNC()
538 int shift = 14 + 1 - BIT_DEPTH; in FUNC()
539 #if BIT_DEPTH < 14 in FUNC()
547 dst[x] = av_clip_pixel(((src[x] << (14 - BIT_DEPTH)) + src2[x] + offset) >> shift); in FUNC()
[all …]
Dhevcpred.c27 #define BIT_DEPTH 8 macro
29 #undef BIT_DEPTH
31 #define BIT_DEPTH 9 macro
33 #undef BIT_DEPTH
35 #define BIT_DEPTH 10 macro
37 #undef BIT_DEPTH
39 #define BIT_DEPTH 12 macro
41 #undef BIT_DEPTH
Dh264qpel.c26 #define BIT_DEPTH 8 macro
28 #undef BIT_DEPTH
30 #define BIT_DEPTH 9 macro
32 #undef BIT_DEPTH
34 #define BIT_DEPTH 10 macro
36 #undef BIT_DEPTH
40 #define BIT_DEPTH 12 macro
42 #undef BIT_DEPTH
44 #define BIT_DEPTH 14 macro
46 #undef BIT_DEPTH
Dbit_depth_template.c23 #ifndef BIT_DEPTH
24 #define BIT_DEPTH 8 macro
51 #if BIT_DEPTH > 8
78 # define av_clip_pixel(a) av_clip_uintp2(a, BIT_DEPTH)
79 # define CLIP(a) av_clip_uintp2(a, BIT_DEPTH)
104 #define FUNC(a) FUNC2(a, BIT_DEPTH,)
105 #define FUNCC(a) FUNC2(a, BIT_DEPTH, _c)
108 #define FUNC6(a) FUNC5(a, IN_IDCT_DEPTH, BIT_DEPTH)
Djfdctint.c19 #define BIT_DEPTH 8 macro
21 #undef BIT_DEPTH
23 #define BIT_DEPTH 10 macro
25 #undef BIT_DEPTH
Dvideodsp.c26 #define BIT_DEPTH 8 macro
28 #undef BIT_DEPTH
30 #define BIT_DEPTH 16 macro
32 #undef BIT_DEPTH
Dh264chroma.c23 #define BIT_DEPTH 8 macro
25 #undef BIT_DEPTH
27 #define BIT_DEPTH 16 macro
29 #undef BIT_DEPTH
Dhevcdsp.c110 #define BIT_DEPTH 8 macro
112 #undef BIT_DEPTH
114 #define BIT_DEPTH 9 macro
116 #undef BIT_DEPTH
118 #define BIT_DEPTH 10 macro
120 #undef BIT_DEPTH
122 #define BIT_DEPTH 12 macro
124 #undef BIT_DEPTH
Dsimple_idct.c35 #define BIT_DEPTH 8 macro
37 #undef BIT_DEPTH
39 #define BIT_DEPTH 10 macro
46 #undef BIT_DEPTH
48 #define BIT_DEPTH 12 macro
50 #undef BIT_DEPTH
54 #define BIT_DEPTH 10 macro
56 #undef BIT_DEPTH
Dh264dsp_template.c39 offset = (unsigned)offset << (log2_denom + (BIT_DEPTH-8)); \
70 offset = (unsigned)offset << (BIT_DEPTH-8); \
110 alpha <<= BIT_DEPTH - 8; in FUNCC()
111 beta <<= BIT_DEPTH - 8; in FUNCC()
113 const int tc_orig = tc0[i] * (1 << (BIT_DEPTH - 8)); in FUNCC()
171 alpha <<= BIT_DEPTH - 8; in FUNCC()
172 beta <<= BIT_DEPTH - 8; in FUNCC()
235 alpha <<= BIT_DEPTH - 8; in FUNCC()
236 beta <<= BIT_DEPTH - 8; in FUNCC()
240 const int tc = ((tc0[i] - 1U) << (BIT_DEPTH - 8)) + 1; in FUNCC()
[all …]
Dh264pred.c34 #define BIT_DEPTH 8 macro
36 #undef BIT_DEPTH
38 #define BIT_DEPTH 9 macro
40 #undef BIT_DEPTH
42 #define BIT_DEPTH 10 macro
44 #undef BIT_DEPTH
46 #define BIT_DEPTH 12 macro
48 #undef BIT_DEPTH
50 #define BIT_DEPTH 14 macro
52 #undef BIT_DEPTH
Dvp9dsp_template.c28 #if BIT_DEPTH != 12
312 #if BIT_DEPTH != 12
575 pixel4 val = PIXEL_SPLAT_X4(128 << (BIT_DEPTH - 8)); in dc_128_4x4_c()
588 pixel4 val = PIXEL_SPLAT_X4(128 << (BIT_DEPTH - 8)); in dc_128_8x8_c()
603 pixel4 val = PIXEL_SPLAT_X4(128 << (BIT_DEPTH - 8)); in dc_128_16x16_c()
620 pixel4 val = PIXEL_SPLAT_X4(128 << (BIT_DEPTH - 8)); in dc_128_32x32_c()
641 pixel4 val = PIXEL_SPLAT_X4((128 << (BIT_DEPTH - 8)) - 1); in dc_127_4x4_c()
653 pixel4 val = PIXEL_SPLAT_X4((128 << (BIT_DEPTH - 8)) - 1); in dc_127_8x8_c()
668 pixel4 val = PIXEL_SPLAT_X4((128 << (BIT_DEPTH - 8)) - 1); in dc_127_16x16_c()
685 pixel4 val = PIXEL_SPLAT_X4((128 << (BIT_DEPTH - 8)) - 1); in dc_127_32x32_c()
[all …]
Dsimple_idct_template.c48 #if BIT_DEPTH == 8
65 #elif BIT_DEPTH == 10 || BIT_DEPTH == 12
67 # if BIT_DEPTH == 10
Dvp9dsp_8bpp.c24 #define BIT_DEPTH 8 macro
Dvp9dsp_10bpp.c24 #define BIT_DEPTH 10 macro
Dvp9dsp_12bpp.c24 #define BIT_DEPTH 12 macro
/third_party/ffmpeg/libavfilter/
Dcolorspacedsp.c30 #define BIT_DEPTH 8 macro
33 #undef BIT_DEPTH
34 #define BIT_DEPTH 10 macro
37 #undef BIT_DEPTH
38 #define BIT_DEPTH 12 macro
47 #undef BIT_DEPTH
48 #define BIT_DEPTH 8 macro
51 #undef BIT_DEPTH
52 #define BIT_DEPTH 10 macro
55 #undef BIT_DEPTH
[all …]
Dcolorspacedsp_template.c42 #define fn(a) fn2(a, BIT_DEPTH, ss)
46 #if BIT_DEPTH == 8
51 #define av_clip_pixel(x) av_clip_uintp2(x, BIT_DEPTH)
68 const int sh = BIT_DEPTH - 1, rnd = 1 << (sh - 1); in fn()
69 const int uv_offset = 128 << (BIT_DEPTH - 8); in fn()
139 const int sh = 29 - BIT_DEPTH; in fn()
150 const int uv_offset = 128 << (BIT_DEPTH - 8); in fn()
218 const int sh = 29 - BIT_DEPTH; in fn()
229 const int uv_offset = 128 << (BIT_DEPTH - 8); in fn()
332 #define OUT_BIT_DEPTH BIT_DEPTH
/third_party/ffmpeg/libavcodec/ppc/
Dhevcdsp.c101 #define BIT_DEPTH 8 macro
103 #undef BIT_DEPTH
105 #define BIT_DEPTH 10 macro
107 #undef BIT_DEPTH
Dhevcdsp_template.c21 static void FUNC(ff_hevc_idct_4x4, BIT_DEPTH)(int16_t *coeffs, int col_limit) in FUNC() argument
24 const int shift2 = 20 - BIT_DEPTH; in FUNC()
/third_party/ffmpeg/tests/
Dtiny_ssim.c40 #define BIT_DEPTH 8 macro
41 #define PIXEL_MAX ((1 << BIT_DEPTH)-1)
81 #if BIT_DEPTH > 9 in ssim_end1()
/third_party/ffmpeg/libavcodec/mips/
Dmpegvideoencdsp_init_mips.c31 #if BIT_DEPTH == 8 in ff_mpegvideoencdsp_init_mips()
Dme_cmp_init_mips.c29 #if BIT_DEPTH == 8 in ff_me_cmp_init_mips()

12