Home
last modified time | relevance | path

Searched refs:filter_params (Results 1 – 15 of 15) sorted by relevance

/external/libgav1/src/dsp/
Dwarp.h57 WarpFilterParams filter_params; in GetWarpFilterParams() local
65 filter_params.x4 = dst_x >> subsampling_x; in GetWarpFilterParams()
66 filter_params.y4 = dst_y >> subsampling_y; in GetWarpFilterParams()
67 filter_params.ix4 = in GetWarpFilterParams()
68 static_cast<int>(filter_params.x4 >> kWarpedModelPrecisionBits); in GetWarpFilterParams()
69 filter_params.iy4 = in GetWarpFilterParams()
70 static_cast<int>(filter_params.y4 >> kWarpedModelPrecisionBits); in GetWarpFilterParams()
71 return filter_params; in GetWarpFilterParams()
Dwarp.cc114 const WarpFilterParams filter_params = GetWarpFilterParams( in Warp_C() local
169 if (filter_params.ix4 - 7 >= source_width - 1 || in Warp_C()
170 filter_params.ix4 + 7 <= 0) { in Warp_C()
174 (filter_params.ix4 + 7 <= 0) ? src : src + source_width - 1; in Warp_C()
181 if (filter_params.iy4 - 7 >= source_height - 1 || in Warp_C()
182 filter_params.iy4 + 7 <= 0) { in Warp_C()
186 const int row = (filter_params.iy4 + 7 <= 0) ? 0 : source_height - 1; in Warp_C()
219 const int row = filter_params.iy4 + y; in Warp_C()
226 int sy4 = (filter_params.y4 & ((1 << kWarpedModelPrecisionBits) - 1)) - in Warp_C()
268 if (filter_params.iy4 - 7 >= source_height - 1 || in Warp_C()
[all …]
/external/libgav1/src/dsp/arm/
Dwarp_neon.cc150 const WarpFilterParams filter_params = GetWarpFilterParams( in Warp_NEON() local
204 if (filter_params.ix4 - 7 >= source_width - 1 || in Warp_NEON()
205 filter_params.ix4 + 7 <= 0) { in Warp_NEON()
209 (filter_params.ix4 + 7 <= 0) ? src : src + source_width - 1; in Warp_NEON()
216 if (filter_params.iy4 - 7 >= source_height - 1 || in Warp_NEON()
217 filter_params.iy4 + 7 <= 0) { in Warp_NEON()
221 const int row = (filter_params.iy4 + 7 <= 0) ? 0 : source_height - 1; in Warp_NEON()
255 const int row = filter_params.iy4 + y; in Warp_NEON()
262 int sy4 = (filter_params.y4 & ((1 << kWarpedModelPrecisionBits) - 1)) - in Warp_NEON()
340 if (filter_params.iy4 - 7 >= source_height - 1 || in Warp_NEON()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dkernel_util_test.cc388 auto* filter_params = reinterpret_cast<TfLiteAffineQuantization*>( in TEST_F() local
390 filter_params->scale = TfLiteFloatArrayCreate(3); in TEST_F()
391 filter_params->scale->data[0] = 0.25; in TEST_F()
392 filter_params->scale->data[1] = 0.125; in TEST_F()
393 filter_params->scale->data[2] = 0.25; in TEST_F()
394 filter_params->zero_point = TfLiteIntArrayCreate(3); in TEST_F()
395 filter_params->zero_point->data[0] = 0; in TEST_F()
396 filter_params->zero_point->data[1] = 0; in TEST_F()
397 filter_params->zero_point->data[2] = 0; in TEST_F()
398 filter_params->quantized_dimension = 0; in TEST_F()
[all …]
/external/libgav1/src/dsp/x86/
Dwarp_sse4.cc383 const WarpFilterParams filter_params = GetWarpFilterParams( in HandleWarpBlock() local
437 if (filter_params.ix4 - 7 >= source_width - 1 || filter_params.ix4 + 7 <= 0) { in HandleWarpBlock()
438 if ((filter_params.iy4 - 7 >= source_height - 1 || in HandleWarpBlock()
439 filter_params.iy4 + 7 <= 0)) { in HandleWarpBlock()
442 src, source_stride, source_width, source_height, filter_params.ix4, in HandleWarpBlock()
443 filter_params.iy4, dst_row, dest_stride); in HandleWarpBlock()
448 src, source_stride, source_width, filter_params.y4, filter_params.ix4, in HandleWarpBlock()
449 filter_params.iy4, gamma, delta, intermediate_result_column, dst_row, in HandleWarpBlock()
454 if ((filter_params.iy4 - 7 >= source_height - 1 || in HandleWarpBlock()
455 filter_params.iy4 + 7 <= 0)) { in HandleWarpBlock()
[all …]
/external/libaom/av1/common/
Dfilter.h266 const InterpFilterParams *const filter_params, const int subpel) { in av1_get_interp_filter_subpel_kernel() argument
267 return filter_params->filter_ptr + filter_params->taps * subpel; in av1_get_interp_filter_subpel_kernel()
298 const InterpFilterParams *const filter_params, int subpel_qn) { in get_filter_tap() argument
300 filter_params, subpel_qn & SUBPEL_MASK); in get_filter_tap()
301 if (filter_params->taps == 12) { in get_filter_tap()
/external/libaom/av1/common/x86/
Dav1_convolve_scale_sse4.c25 const InterpFilterParams *filter_params, int round) { in hfilter8() argument
41 av1_get_interp_filter_subpel_kernel(filter_params, filter_idx); in hfilter8()
109 int y_step_qn, const InterpFilterParams *filter_params, in vfilter8() argument
142 av1_get_interp_filter_subpel_kernel(filter_params, filter_idx); in vfilter8()
263 const InterpFilterParams *filter_params, int round, in highbd_hfilter8() argument
279 av1_get_interp_filter_subpel_kernel(filter_params, filter_idx); in highbd_hfilter8()
335 const InterpFilterParams *filter_params, in highbd_vfilter8() argument
373 av1_get_interp_filter_subpel_kernel(filter_params, filter_idx); in highbd_vfilter8()
Dconvolve_sse2.c21 static INLINE void prepare_coeffs(const InterpFilterParams *const filter_params, in prepare_coeffs() argument
25 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_coeffs()
/external/webrtc/modules/audio_processing/test/py_quality_assessment/
Dapm_quality_assessment_boxplot.py61 def FilterScoresByParams(data_frame, filter_params, score_name, config_dir): argument
93 x for x in filter_params if '-' + x in config_json
/external/libaom/aom_dsp/x86/
Dconvolve_avx2.h611 const InterpFilterParams *const filter_params, const int subpel_q4, in prepare_coeffs_lowbd() argument
614 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_coeffs_lowbd()
639 const InterpFilterParams *const filter_params, const int subpel_q4, in prepare_coeffs_6t_lowbd() argument
642 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_coeffs_6t_lowbd()
665 const InterpFilterParams *const filter_params, const int subpel_q4, in prepare_coeffs_6t() argument
668 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_coeffs_6t()
681 static INLINE void prepare_coeffs(const InterpFilterParams *const filter_params, in prepare_coeffs() argument
685 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_coeffs()
701 const InterpFilterParams *const filter_params, const int subpel_q4, in prepare_coeffs_12taps() argument
704 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_coeffs_12taps()
Dconvolve_common_intrin.h31 static INLINE void prepare_coeffs_12tap(const InterpFilterParams *filter_params, in prepare_coeffs_12tap() argument
35 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_coeffs_12tap()
Dconvolve_sse2.h19 static INLINE void prepare_coeffs(const InterpFilterParams *const filter_params, in prepare_coeffs() argument
23 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_coeffs()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_driver.cc1086 auto filter_params = in SetBiasParamsWithAdjustments() local
1089 std::vector<double> new_filter_scales = filter_params.getScales().vec(); in SetBiasParamsWithAdjustments()
1116 filter_op->getLoc(), filter_params.getFlags(), in SetBiasParamsWithAdjustments()
1117 filter_params.getStorageType(), filter_params.getExpressedType(), in SetBiasParamsWithAdjustments()
1118 new_filter_scales, filter_params.getZeroPoints(), in SetBiasParamsWithAdjustments()
1119 filter_params.getQuantizedDimension(), in SetBiasParamsWithAdjustments()
1120 filter_params.getStorageTypeMin(), in SetBiasParamsWithAdjustments()
1121 filter_params.getStorageTypeMax()), in SetBiasParamsWithAdjustments()
/external/libaom/third_party/SVT-AV1/
Dconvolve_avx2.h60 const InterpFilterParams *const filter_params, const int32_t subpel_q4, in prepare_half_coeffs_2tap_ssse3() argument
63 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_half_coeffs_2tap_ssse3()
81 const InterpFilterParams *const filter_params, const int32_t subpel_q4, in prepare_half_coeffs_4tap_ssse3() argument
84 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_half_coeffs_4tap_ssse3()
104 const InterpFilterParams *const filter_params, const int32_t subpel_q4, in prepare_half_coeffs_6tap_ssse3() argument
107 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_half_coeffs_6tap_ssse3()
129 const InterpFilterParams *const filter_params, const int32_t subpel_q4, in prepare_half_coeffs_8tap_ssse3() argument
132 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_half_coeffs_8tap_ssse3()
156 const InterpFilterParams *const filter_params, const int32_t subpel_q4, in prepare_half_coeffs_2tap_avx2() argument
159 filter_params, subpel_q4 & SUBPEL_MASK); in prepare_half_coeffs_2tap_avx2()
[all …]
/external/libaom/test/
Dav1_convolve_test.cc1258 const InterpFilterParams *filter_params = in Convolve() local
1263 test_func(src1, width, dst, kOutputStride, width, height, filter_params, in Convolve()
1267 test_func(src2, width, dst, kOutputStride, width, height, filter_params, in Convolve()
1349 const InterpFilterParams *filter_params = in Convolve() local
1353 test_func(src1, width, dst, kOutputStride, width, height, filter_params, in Convolve()
1357 test_func(src2, width, dst, kOutputStride, width, height, filter_params, in Convolve()