/third_party/ffmpeg/libavcodec/ |
H A D | h264idct.c | 30 #define BIT_DEPTH 8 macro 32 #undef BIT_DEPTH macro 34 #define BIT_DEPTH 9 macro 36 #undef BIT_DEPTH macro 38 #define BIT_DEPTH 10 macro 40 #undef BIT_DEPTH macro 42 #define BIT_DEPTH 12 macro 44 #undef BIT_DEPTH macro 46 #define BIT_DEPTH 14 macro 48 #undef BIT_DEPTH macro [all...] |
H A D | h264dsp.c | 38 #define BIT_DEPTH 8 macro 40 #undef BIT_DEPTH macro 42 #define BIT_DEPTH 9 macro 44 #undef BIT_DEPTH macro 46 #define BIT_DEPTH 10 macro 48 #undef BIT_DEPTH macro 50 #define BIT_DEPTH 12 macro 52 #undef BIT_DEPTH macro 54 #define BIT_DEPTH 14 macro 56 #undef BIT_DEPTH macro 58 #define BIT_DEPTH global() macro 60 #undef BIT_DEPTH global() macro 62 #define BIT_DEPTH global() macro 64 #undef BIT_DEPTH global() macro [all...] |
H A D | hevcdsp_template.c | 39 dst[x] = get_bits(gb, pcm_bit_depth) << (BIT_DEPTH - pcm_bit_depth); in put_pcm() 109 int shift = 15 - BIT_DEPTH - log2_size; in dequant() 161 shift = 20 - BIT_DEPTH; in transform_4x4_luma() 257 shift = 20 - BIT_DEPTH; \ 269 int shift = 14 - BIT_DEPTH; \ 307 int shift = BIT_DEPTH - 5; in sao_band_filter() 506 dst[x] = src[x] << (14 - BIT_DEPTH); in put_hevc_pel_pixels() 538 int shift = 14 + 1 - BIT_DEPTH; in put_hevc_pel_bi_pixels() 539 #if BIT_DEPTH < 14 in put_hevc_pel_bi_pixels() 547 dst[x] = av_clip_pixel(((src[x] << (14 - BIT_DEPTH)) in put_hevc_pel_bi_pixels() [all...] |
H A D | hevcpred.c | 27 #define BIT_DEPTH 8 macro 29 #undef BIT_DEPTH macro 31 #define BIT_DEPTH 9 macro 33 #undef BIT_DEPTH macro 35 #define BIT_DEPTH 10 macro 37 #undef BIT_DEPTH macro 39 #define BIT_DEPTH 12 macro 41 #undef BIT_DEPTH macro
|
H A D | h264qpel.c | 26 #define BIT_DEPTH 8 macro 28 #undef BIT_DEPTH macro 30 #define BIT_DEPTH 9 macro 32 #undef BIT_DEPTH macro 34 #define BIT_DEPTH 10 macro 36 #undef BIT_DEPTH macro 40 #define BIT_DEPTH 12 macro 42 #undef BIT_DEPTH macro 44 #define BIT_DEPTH 14 macro 46 #undef BIT_DEPTH macro [all...] |
H A D | bit_depth_template.c | 23 #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)
|
H A D | jfdctint.c | 19 #define BIT_DEPTH 8 macro 21 #undef BIT_DEPTH macro 23 #define BIT_DEPTH 10 macro 25 #undef BIT_DEPTH macro
|
H A D | videodsp.c | 27 #define BIT_DEPTH 8 macro 29 #undef BIT_DEPTH macro 31 #define BIT_DEPTH 16 macro 33 #undef BIT_DEPTH macro
|
H A D | hevcdsp.c | 110 #define BIT_DEPTH 8 macro 112 #undef BIT_DEPTH macro 114 #define BIT_DEPTH 9 macro 116 #undef BIT_DEPTH macro 118 #define BIT_DEPTH 10 macro 120 #undef BIT_DEPTH macro 122 #define BIT_DEPTH 12 macro 124 #undef BIT_DEPTH macro
|
H A D | simple_idct.c | 34 #define BIT_DEPTH 8 macro 36 #undef BIT_DEPTH macro 38 #define BIT_DEPTH 10 macro 45 #undef BIT_DEPTH macro 47 #define BIT_DEPTH 12 macro 49 #undef BIT_DEPTH macro 53 #define BIT_DEPTH 10 macro 55 #undef BIT_DEPTH macro
|
H A D | h264chroma.c | 23 #define BIT_DEPTH 8 macro 25 #undef BIT_DEPTH macro 27 #define BIT_DEPTH 16 macro 29 #undef BIT_DEPTH macro
|
H A D | h264dsp_template.c | 39 offset = (unsigned)offset << (log2_denom + (BIT_DEPTH-8)); \ 70 offset = (unsigned)offset << (BIT_DEPTH-8); \ 110 alpha <<= BIT_DEPTH - 8; in h264_loop_filter_luma() 111 beta <<= BIT_DEPTH - 8; in h264_loop_filter_luma() 113 const int tc_orig = tc0[i] * (1 << (BIT_DEPTH - 8)); in h264_loop_filter_luma() 171 alpha <<= BIT_DEPTH - 8; in h264_loop_filter_luma_intra() 172 beta <<= BIT_DEPTH - 8; in h264_loop_filter_luma_intra() 235 alpha <<= BIT_DEPTH - 8; in h264_loop_filter_chroma() 236 beta <<= BIT_DEPTH - 8; in h264_loop_filter_chroma() 240 const int tc = ((tc0[i] - 1U) << (BIT_DEPTH in h264_loop_filter_chroma() [all...] |
H A D | h264pred.c | 36 #define BIT_DEPTH 8 macro 38 #undef BIT_DEPTH macro 40 #define BIT_DEPTH 9 macro 42 #undef BIT_DEPTH macro 44 #define BIT_DEPTH 10 macro 46 #undef BIT_DEPTH macro 48 #define BIT_DEPTH 12 macro 50 #undef BIT_DEPTH macro 52 #define BIT_DEPTH 14 macro 54 #undef BIT_DEPTH macro [all...] |
H A D | vp9dsp_template.c | 28 #if BIT_DEPTH != 12 186 #endif /* BIT_DEPTH != 12 */ 312 #if BIT_DEPTH != 12 569 #endif /* 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 in dc_127_8x8_c() [all...] |
H A D | vp9dsp_8bpp.c | 24 #define BIT_DEPTH 8 macro
|
H A D | vp9dsp_10bpp.c | 24 #define BIT_DEPTH 10 macro
|
H A D | vp9dsp_12bpp.c | 24 #define BIT_DEPTH 12 macro
|
H A D | simple_idct_template.c | 48 #if BIT_DEPTH == 8 65 #elif BIT_DEPTH == 10 || BIT_DEPTH == 12 67 # if BIT_DEPTH == 10
|
/third_party/ffmpeg/libavfilter/ |
H A D | colorspacedsp.c | 31 #define BIT_DEPTH 8 macro 34 #undef BIT_DEPTH macro 35 #define BIT_DEPTH 10 macro 38 #undef BIT_DEPTH macro 39 #define BIT_DEPTH 12 macro 48 #undef BIT_DEPTH macro 49 #define BIT_DEPTH 8 macro 52 #undef BIT_DEPTH macro 53 #define BIT_DEPTH 10 macro 56 #undef BIT_DEPTH macro 57 #define BIT_DEPTH global() macro 66 #undef BIT_DEPTH global() macro 67 #define BIT_DEPTH global() macro 70 #undef BIT_DEPTH global() macro 71 #define BIT_DEPTH global() macro 74 #undef BIT_DEPTH global() macro 75 #define BIT_DEPTH global() macro [all...] |
H A D | colorspacedsp_template.c | 42 #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 yuv2rgb() 69 const int uv_offset = 128 << (BIT_DEPTH - 8); in yuv2rgb() 139 const int sh = 29 - BIT_DEPTH; in rgb2yuv() 150 const int uv_offset = 128 << (BIT_DEPTH - 8); in rgb2yuv() 218 const int sh = 29 - BIT_DEPTH; in rgb2yuv_fsb() 229 const int uv_offset = 128 << (BIT_DEPTH - 8); in rgb2yuv_fsb() 332 #define OUT_BIT_DEPTH BIT_DEPTH [all...] |
/third_party/ffmpeg/libavcodec/ppc/ |
H A D | hevcdsp.c | 101 #define BIT_DEPTH 8 macro 103 #undef BIT_DEPTH macro 105 #define BIT_DEPTH 10 macro 107 #undef BIT_DEPTH macro
|
H A D | hevcdsp_template.c | 21 static void FUNC(ff_hevc_idct_4x4, BIT_DEPTH)(int16_t *coeffs, int col_limit) in FUNC() 24 const int shift2 = 20 - BIT_DEPTH; in FUNC()
|
/third_party/ffmpeg/tests/ |
H A D | tiny_ssim.c | 39 #define BIT_DEPTH 8 macro 40 #define PIXEL_MAX ((1 << BIT_DEPTH)-1) 80 #if BIT_DEPTH > 9 in ssim_end1()
|
/third_party/ffmpeg/libavcodec/mips/ |
H A D | mpegvideoencdsp_init_mips.c | 32 #if BIT_DEPTH == 8 in ff_mpegvideoencdsp_init_mips()
|
H A D | me_cmp_init_mips.c | 30 #if BIT_DEPTH == 8 in ff_me_cmp_init_mips()
|