Home
last modified time | relevance | path

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

/external/libvpx/libvpx/
Dtools_common.c272 int input_shift) { in highbd_img_upshift() argument
274 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in highbd_img_upshift()
279 input_shift < 0) { in highbd_img_upshift()
302 for (x = 0; x < w; x++) *p_dst++ = (*p_src++ << input_shift) + offset; in highbd_img_upshift()
308 int input_shift) { in lowbd_img_upshift() argument
310 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in lowbd_img_upshift()
315 dst->fmt != src->fmt + VPX_IMG_FMT_HIGHBITDEPTH || input_shift < 0) { in lowbd_img_upshift()
338 *p_dst++ = (*p_src++ << input_shift) + offset; in lowbd_img_upshift()
344 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift) { in vpx_img_upshift() argument
346 highbd_img_upshift(dst, src, input_shift); in vpx_img_upshift()
[all …]
Dtools_common.h158 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift);
Dvpxenc.c1915 int input_shift = 0; in main() local
2099 input_shift = 0; in main()
2101 input_shift = (int)stream->config.cfg.g_bit_depth - in main()
2144 if (input_shift || (use_16bit_internal && input.bit_depth == 8)) { in main()
2153 vpx_img_upshift(&raw_shift, &raw, input_shift); in main()
/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.h167 void aom_img_upshift(aom_image_t *dst, const aom_image_t *src, int input_shift);
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dmerge.cc227 int input_shift = 6 + log_fs_mult - in SignalScaling() local
229 input_shift = std::max(input_shift, 0); in SignalScaling()
232 input_shift); in SignalScaling()
235 if (input_shift > expanded_shift) { in SignalScaling()
236 energy_expanded = energy_expanded >> (input_shift - expanded_shift); in SignalScaling()
238 energy_input = energy_input >> (expanded_shift - input_shift); in SignalScaling()
/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/experimental/micro/examples/micro_speech/micro_features/
Dfrontend.cc35 int input_shift = in FrontendProcessSamples() local
37 FftCompute(&state->fft, state->window.output, input_shift); in FrontendProcessSamples()
44 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.h25 int32_t input_multiplier, int32_t input_shift, in Tanh() argument
44 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/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()
318 const unsigned int input_shift = bit_depth - in_bit_depth; in aom_calc_highbd_psnr() local
326 if (input_shift) { in aom_calc_highbd_psnr()
328 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/libaom/libaom/apps/
Daomenc.c2123 int input_shift = 0; in main() local
2419 input_shift = (int)stream->config.cfg.g_bit_depth - in main()
2460 if (input_shift || (use_16bit_internal && input.bit_depth == 8)) { in main()
2469 aom_img_upshift(&raw_shift, &raw, input_shift); in main()