Home
last modified time | relevance | path

Searched refs:input_shift (Results 1 – 18 of 18) sorted by relevance

/external/libaom/libaom/common/
Dtools_common.c245 int input_shift) { in highbd_img_upshift() argument
247 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in highbd_img_upshift()
252 input_shift < 0) { in highbd_img_upshift()
274 for (x = 0; x < w; x++) *p_dst++ = (*p_src++ << input_shift) + offset; in highbd_img_upshift()
280 int input_shift) { in lowbd_img_upshift() argument
282 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in lowbd_img_upshift()
287 dst->fmt != src->fmt + AOM_IMG_FMT_HIGHBITDEPTH || input_shift < 0) { in lowbd_img_upshift()
310 *p_dst++ = (*p_src++ << input_shift) + offset; in lowbd_img_upshift()
317 int input_shift) { in aom_img_upshift() argument
319 highbd_img_upshift(dst, src, input_shift); in aom_img_upshift()
[all …]
Dtools_common.h250 void aom_img_upshift(aom_image_t *dst, const aom_image_t *src, int input_shift);
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfrontend.c35 int input_shift = in FrontendProcessSamples() local
37 FftCompute(&state->fft, state->window.output, input_shift); in FrontendProcessSamples()
46 uint32_t* scaled_filterbank = FilterbankSqrt(&state->filterbank, input_shift); in FrontendProcessSamples()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dlog_softmax.h23 inline void LogSoftmax(int32_t input_multiplier, int32_t input_shift, in LogSoftmax() argument
58 input_diff, input_multiplier, input_shift); in LogSoftmax()
87 input_diff, input_multiplier, input_shift); in LogSoftmax()
Dtanh.h27 int32_t input_multiplier, int32_t input_shift, in Tanh() argument
48 MultiplyByQuantizedMultiplier(input, input_multiplier, input_shift); in Tanh()
/external/libvpx/libvpx/vpx_dsp/
Dpsnr.c126 int height, unsigned int input_shift) { in highbd_get_sse_shift() argument
134 diff = (a[x] >> input_shift) - (b[x] >> input_shift); in highbd_get_sse_shift()
215 const unsigned int input_shift = bit_depth - in_bit_depth; in vpx_calc_highbd_psnr() local
223 if (input_shift) { in vpx_calc_highbd_psnr()
225 b_strides[i], w, h, input_shift); in vpx_calc_highbd_psnr()
/external/libvpx/libvpx/
Dtools_common.c360 int input_shift) { in highbd_img_upshift() argument
362 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in highbd_img_upshift()
367 input_shift < 0) { in highbd_img_upshift()
390 for (x = 0; x < w; x++) *p_dst++ = (*p_src++ << input_shift) + offset; in highbd_img_upshift()
396 int input_shift) { in lowbd_img_upshift() argument
398 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in lowbd_img_upshift()
403 dst->fmt != src->fmt + VPX_IMG_FMT_HIGHBITDEPTH || input_shift < 0) { in lowbd_img_upshift()
426 *p_dst++ = (*p_src++ << input_shift) + offset; in lowbd_img_upshift()
432 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift) { in vpx_img_upshift() argument
434 highbd_img_upshift(dst, src, input_shift); in vpx_img_upshift()
[all …]
Dtools_common.h164 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift);
Dvpxenc.c1609 int input_shift = 0; in main() local
1793 input_shift = 0; in main()
1795 input_shift = (int)stream->config.cfg.g_bit_depth - in main()
1838 if (input_shift || (use_16bit_internal && input.bit_depth == 8)) { in main()
1847 vpx_img_upshift(&raw_shift, &raw, input_shift); in main()
/external/webrtc/modules/audio_coding/neteq/
Dmerge.cc227 const int input_shift = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in SignalScaling() local
229 input, input, mod_input_length, input_shift); in SignalScaling()
232 if (input_shift > expanded_shift) { in SignalScaling()
233 energy_expanded = energy_expanded >> (input_shift - expanded_shift); in SignalScaling()
235 energy_input = energy_input >> (expanded_shift - input_shift); in SignalScaling()
/external/libaom/libaom/aom_dsp/
Dpsnr.c127 int height, unsigned int input_shift) { in highbd_get_sse_shift() argument
135 diff = (a[x] >> input_shift) - (b[x] >> input_shift); in highbd_get_sse_shift()
375 const unsigned int input_shift = bit_depth - in_bit_depth; in aom_calc_highbd_psnr() local
383 if (input_shift) { in aom_calc_highbd_psnr()
385 b_strides[i], w, h, input_shift); in aom_calc_highbd_psnr()
/external/libaom/libaom/examples/
Daom_cx_set_ref.c316 int input_shift = 0; in main() local
322 aom_img_upshift(&raw_shift, &raw, input_shift); in main()
Dlightfield_encoder.c122 int input_shift = 0; in get_raw_image() local
123 aom_img_upshift(raw_shift, raw, input_shift); in get_raw_image()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_tfl.cc573 int32_t input_shift = SHIFT_8_BIT; in matchAndRewrite() local
576 static_cast<double>(1 << input_shift) * in_lhs_scale / max_scale_2x; in matchAndRewrite()
578 static_cast<double>(1 << input_shift) * in_rhs_scale / max_scale_2x; in matchAndRewrite()
580 max_scale_2x / (output_scale * static_cast<double>(1 << input_shift)); in matchAndRewrite()
670 int32_t input_shift = SHIFT_8_BIT; in matchAndRewrite() local
673 static_cast<double>(1 << input_shift) * in_lhs_scale / max_scale_2x; in matchAndRewrite()
675 static_cast<double>(1 << input_shift) * in_rhs_scale / max_scale_2x; in matchAndRewrite()
677 max_scale_2x / (output_scale * static_cast<double>(1 << input_shift)); in matchAndRewrite()
Dlegalize_common.cc2479 int32_t input_shift = 20; in convertReduceSumOp() local
2482 static_cast<double>(1 << input_shift) * input_qtype.getScale(); in convertReduceSumOp()
2484 1.0 / (output_qtype.getScale() * static_cast<double>(1 << input_shift)); in convertReduceSumOp()
2550 int32_t input_shift = 20; in convertReduceMeanOp() local
2553 static_cast<double>(1 << input_shift) * input_qtype.getScale(); in convertReduceMeanOp()
2555 static_cast<double>(1 << input_shift)); in convertReduceMeanOp()
/external/libaom/libaom/apps/
Daomenc.c2240 int input_shift = 0; in main() local
2536 input_shift = (int)stream->config.cfg.g_bit_depth - in main()
2577 if (input_shift || (use_16bit_internal && input.bit_depth == 8)) { in main()
2586 aom_img_upshift(&raw_shift, &raw, input_shift); in main()
/external/tensorflow/tensorflow/lite/micro/kernels/ceva/
Dceva_tflm_lib.h305 int32_t input_multiplier, int32_t input_shift,
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md3178 int32_t input_shift = 20
3180 double lhs_scale = double(1 << input_shift) * %lhs.scale / max_scale_2x
3181 double rhs_scale = double(1 << input_shift) * %rhs.scale / max_scale_2x
3182 double output_scale = max_scale_2x / (%output.scale * double(1 << input_shift))