Home
last modified time | relevance | path

Searched refs:coeff_shift (Results 1 – 12 of 12) sorted by relevance

/external/libaom/libaom/av1/common/
Dcdef_block.c40 int coeff_shift) { in cdef_find_dir_c() argument
56 x = (img[i * stride + j] >> coeff_shift) - 128; in cdef_find_dir_c()
117 int coeff_shift) { in cdef_filter_block_c() argument
120 const int *pri_taps = cdef_pri_taps[(pri_strength >> coeff_shift) & 1]; in cdef_filter_block_c()
181 int sec_strength, int damping, int coeff_shift) { in av1_cdef_filter_fb() argument
185 const int pri_strength = level << coeff_shift; in av1_cdef_filter_fb()
186 sec_strength <<= coeff_shift; in av1_cdef_filter_fb()
187 damping += coeff_shift - (pli != AOM_PLANE_Y); in av1_cdef_filter_fb()
214 CDEF_BSTRIDE, &var[by][bx], coeff_shift); in av1_cdef_filter_fb()
241 damping, damping, bsize, coeff_shift); in av1_cdef_filter_fb()
[all …]
Dcdef_block_simd.h162 int coeff_shift) { in SIMD_FUNC()
171 v128_sub_16(v128_shr_s16(lines[i], coeff_shift), v128_dup_16(128)); in SIMD_FUNC()
229 int coeff_shift) { in SIMD_FUNC()
240 const int *pri_taps = cdef_pri_taps[(pri_strength >> coeff_shift) & 1]; in SIMD_FUNC()
395 int coeff_shift) { in SIMD_FUNC()
407 const int *pri_taps = cdef_pri_taps[(pri_strength >> coeff_shift) & 1]; in SIMD_FUNC()
542 int coeff_shift) { in SIMD_FUNC()
553 const int *pri_taps = cdef_pri_taps[(pri_strength >> coeff_shift) & 1]; in SIMD_FUNC()
699 int coeff_shift) { in SIMD_FUNC()
710 const int *pri_taps = cdef_pri_taps[(pri_strength >> coeff_shift) & 1]; in SIMD_FUNC()
[all …]
Dcdef_block.h48 int coeff_shift);
57 int sec_strength, int damping, int coeff_shift);
Dcdef.c138 int coeff_shift = AOMMAX(cm->seq_params.bit_depth - 8, 0); in av1_cdef_frame() local
362 sec_strength, damping, coeff_shift); in av1_cdef_frame()
372 sec_strength, damping, coeff_shift); in av1_cdef_frame()
/external/libgav1/libgav1/src/dsp/
Dcdef.cc133 constexpr int coeff_shift = bitdepth - 8; in CdefFilter_C() local
135 assert(primary_strength >= 0 && primary_strength <= 15 << coeff_shift); in CdefFilter_C()
136 assert(secondary_strength >= 0 && secondary_strength <= 4 << coeff_shift && in CdefFilter_C()
137 secondary_strength != 3 << coeff_shift); in CdefFilter_C()
140 assert((damping >= 3 && damping <= 6 + coeff_shift) || in CdefFilter_C()
141 (damping >= 2 && damping <= 5 + coeff_shift)); in CdefFilter_C()
172 kCdefPrimaryTaps[(primary_strength >> coeff_shift) & 1][k]; in CdefFilter_C()
/external/libaom/libaom/av1/encoder/
Dpickcdef.c198 BLOCK_SIZE bsize, int coeff_shift,
262 BLOCK_SIZE bsize, int coeff_shift, in compute_cdef_dist_highbd() argument
280 return sum >> 2 * coeff_shift; in compute_cdef_dist_highbd()
285 BLOCK_SIZE bsize, int coeff_shift, int row, in compute_cdef_dist() argument
303 return sum >> 2 * coeff_shift; in compute_cdef_dist()
435 const int coeff_shift = AOMMAX(cm->seq_params.bit_depth - 8, 0); in av1_cdef_search() local
501 sec_strength + (sec_strength == 3), damping, coeff_shift); in av1_cdef_search()
504 bsize[pli], coeff_shift, row, col); in av1_cdef_search()
/external/libaom/libaom/test/
Dcdef_test.cc187 int coeff_shift);
209 int coeff_shift), in test_finddir() argument
211 int32_t *var, int coeff_shift)) { in test_finddir()
251 int32_t *var, int coeff_shift), in test_finddir_speed() argument
253 int32_t *var, int coeff_shift)) { in test_finddir_speed()
/external/libaom/config/x86/config/
Dav1_rtcd.h355 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
356 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
357 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
360 int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
361 int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
362 int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
/external/libaom/config/x86_64/config/
Dav1_rtcd.h358 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
359 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
360 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
363 int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
364 int cdef_find_dir_sse2(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
365 int cdef_find_dir_ssse3(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
/external/libaom/config/arm64/config/
Dav1_rtcd.h352 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
353 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
356 int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
357 int cdef_find_dir_neon(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
/external/libaom/config/arm/config/
Dav1_rtcd.h352 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
353 …strength, int sec_strength, int dir, int pri_damping, int sec_damping, int bsize, int coeff_shift);
356 int cdef_find_dir_c(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
357 int cdef_find_dir_neon(const uint16_t *img, int stride, int32_t *var, int coeff_shift);
/external/libgav1/libgav1/src/
Dobu_parser.cc1102 const int coeff_shift = sequence_header_.color_config.bitdepth - 8; in ParseCdefParameters() local
1105 frame_header_.cdef.damping = 3 + coeff_shift; in ParseCdefParameters()
1111 cdef->damping = scratch + 3 + coeff_shift; in ParseCdefParameters()
1116 cdef->y_primary_strength[i] = scratch << coeff_shift; in ParseCdefParameters()
1120 cdef->y_secondary_strength[i] <<= coeff_shift; in ParseCdefParameters()
1123 cdef->uv_primary_strength[i] = scratch << coeff_shift; in ParseCdefParameters()
1127 cdef->uv_secondary_strength[i] <<= coeff_shift; in ParseCdefParameters()