Home
last modified time | relevance | path

Searched refs:input_shift (Results 1 – 5 of 5) 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.h157 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift);
Dvpxenc.c1877 int input_shift = 0; in main() local
2058 input_shift = 0; in main()
2060 input_shift = (int)stream->config.cfg.g_bit_depth - in main()
2103 if (input_shift || (use_16bit_internal && input.bit_depth == 8)) { in main()
2112 vpx_img_upshift(&raw_shift, &raw, input_shift); in main()
/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/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()