| /external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/ |
| D | frontend.c | 35 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/libaom/common/ |
| D | tools_common.c | 306 int input_shift) { in highbd_img_upshift() argument 308 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in highbd_img_upshift() 313 input_shift < 0) { in highbd_img_upshift() 335 for (x = 0; x < w; x++) *p_dst++ = (*p_src++ << input_shift) + offset; in highbd_img_upshift() 341 int input_shift) { in lowbd_img_upshift() argument 343 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in lowbd_img_upshift() 348 dst->fmt != src->fmt + AOM_IMG_FMT_HIGHBITDEPTH || input_shift < 0) { in lowbd_img_upshift() 371 *p_dst++ = (*p_src++ << input_shift) + offset; in lowbd_img_upshift() 378 int input_shift) { in aom_img_upshift() argument 380 highbd_img_upshift(dst, src, input_shift); in aom_img_upshift() [all …]
|
| D | tools_common.h | 189 void aom_img_upshift(aom_image_t *dst, const aom_image_t *src, int input_shift);
|
| /external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/ |
| D | log_softmax.h | 25 inline void LogSoftmax(int32_t input_multiplier, int32_t input_shift, in LogSoftmax() argument 60 input_diff, input_multiplier, input_shift); in LogSoftmax() 89 input_diff, input_multiplier, input_shift); in LogSoftmax()
|
| D | tanh.h | 28 int32_t input_multiplier, int32_t input_shift, in Tanh() argument 49 MultiplyByQuantizedMultiplier(input, input_multiplier, input_shift); in Tanh()
|
| /external/libvpx/vpx_dsp/ |
| D | psnr.c | 108 int height, unsigned int input_shift) { in highbd_get_sse_shift() argument 116 diff = (a[x] >> input_shift) - (b[x] >> input_shift); in highbd_get_sse_shift() 192 const unsigned int input_shift = bit_depth - in_bit_depth; in vpx_calc_highbd_psnr() local 200 if (input_shift) { in vpx_calc_highbd_psnr() 202 b_strides[i], w, h, input_shift); in vpx_calc_highbd_psnr()
|
| /external/libvpx/ |
| D | tools_common.c | 369 int input_shift) { in highbd_img_upshift() argument 371 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in highbd_img_upshift() 376 input_shift < 0) { in highbd_img_upshift() 399 for (x = 0; x < w; x++) *p_dst++ = (*p_src++ << input_shift) + offset; in highbd_img_upshift() 405 int input_shift) { in lowbd_img_upshift() argument 407 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in lowbd_img_upshift() 412 dst->fmt != src->fmt + VPX_IMG_FMT_HIGHBITDEPTH || input_shift < 0) { in lowbd_img_upshift() 435 *p_dst++ = (*p_src++ << input_shift) + offset; in lowbd_img_upshift() 441 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift) { in vpx_img_upshift() argument 443 highbd_img_upshift(dst, src, input_shift); in vpx_img_upshift() [all …]
|
| D | tools_common.h | 182 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift);
|
| D | vpxenc.c | 1688 int input_shift = 0; in main() local 1874 input_shift = 0; in main() 1876 input_shift = (int)stream->config.cfg.g_bit_depth - in main() 1919 if (input_shift || (use_16bit_internal && input.bit_depth == 8)) { in main() 1928 vpx_img_upshift(&raw_shift, &raw, input_shift); in main()
|
| /external/webrtc/modules/audio_coding/neteq/ |
| D | merge.cc | 229 const int input_shift = factor == 0 ? 0 : 31 - WebRtcSpl_NormW32(factor); in SignalScaling() local 231 input, input, mod_input_length, input_shift); in SignalScaling() 234 if (input_shift > expanded_shift) { in SignalScaling() 235 energy_expanded = energy_expanded >> (input_shift - expanded_shift); in SignalScaling() 237 energy_input = energy_input >> (expanded_shift - input_shift); in SignalScaling()
|
| /external/libaom/aom_dsp/ |
| D | psnr.c | 113 int height, unsigned int input_shift) { in highbd_get_sse_shift() argument 121 diff = (a[x] >> input_shift) - (b[x] >> input_shift); in highbd_get_sse_shift() 366 const unsigned int input_shift = bit_depth - in_bit_depth; in aom_calc_highbd_psnr() local 374 if (input_shift) { in aom_calc_highbd_psnr() 376 b_strides[i], w, h, input_shift); in aom_calc_highbd_psnr()
|
| /external/libaom/examples/ |
| D | aom_cx_set_ref.c | 319 int input_shift = 0; in main() local 325 aom_img_upshift(&raw_shift, &raw, input_shift); in main()
|
| D | lightfield_encoder.c | 124 int input_shift = 0; in get_raw_image() local 125 aom_img_upshift(raw_shift, raw, input_shift); in get_raw_image()
|
| /external/libaom/apps/ |
| D | aomenc.c | 1990 int input_shift = 0; in main() local 2432 input_shift = (int)stream->config.cfg.g_bit_depth - in main() 2478 if (input_shift || (do_16bit_internal && input.bit_depth == 8)) { in main() 2487 aom_img_upshift(&raw_shift, &raw, input_shift); in main()
|
| /external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
| D | legalize_tfl.cc | 528 int32_t input_shift = (output_qtype.getStorageTypeIntegralWidth() == 16) in matchAndRewriteAddSub() local 533 static_cast<double>(1 << input_shift) * in_lhs_scale / max_scale_2x; in matchAndRewriteAddSub() 535 static_cast<double>(1 << input_shift) * in_rhs_scale / max_scale_2x; in matchAndRewriteAddSub() 537 max_scale_2x / (output_scale * static_cast<double>(1 << input_shift)); in matchAndRewriteAddSub()
|
| D | legalize_common.cc | 2848 int32_t input_shift = 20; in convertReduceSumOp() local 2851 static_cast<double>(1 << input_shift) * input_qtype.getScale(); in convertReduceSumOp() 2853 1.0 / (output_qtype.getScale() * static_cast<double>(1 << input_shift)); in convertReduceSumOp()
|
| /external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/ |
| D | legalization.md | 3362 float64 lhs_scale = float64(1 << input_shift) * %lhs.scale / max_scale_2x 3363 float64 rhs_scale = float64(1 << input_shift) * %rhs.scale / max_scale_2x 3364 float64 output_scale = max_scale_2x / (%output.scale * float64(1 << input_shift))
|