Home
last modified time | relevance | path

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

/external/libvpx/libvpx/
Dtools_common.c291 int input_shift) { in highbd_img_upshift() argument
293 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in highbd_img_upshift()
298 dst->fmt != src->fmt || input_shift < 0) { in highbd_img_upshift()
325 *p_dst++ = (*p_src++ << input_shift) + offset; in highbd_img_upshift()
331 int input_shift) { in lowbd_img_upshift() argument
333 const int offset = input_shift > 0 ? (1 << (input_shift - 1)) - 1 : 0; in lowbd_img_upshift()
339 input_shift < 0) { in lowbd_img_upshift()
365 *p_dst++ = (*p_src++ << input_shift) + offset; in lowbd_img_upshift()
372 int input_shift) { in vpx_img_upshift() argument
374 highbd_img_upshift(dst, src, input_shift); in vpx_img_upshift()
[all …]
Dtools_common.h155 void vpx_img_upshift(vpx_image_t *dst, vpx_image_t *src, int input_shift);
Dvpxenc.c1920 int input_shift = 0; in main() local
2113 input_shift = 0; in main()
2115 input_shift = (int)stream->config.cfg.g_bit_depth - in main()
2161 if (input_shift || (use_16bit_internal && input.bit_depth == 8)) { in main()
2170 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/vp9/encoder/
Dvp9_encoder.c2208 unsigned int input_shift) { in highbd_get_sse_shift() argument
2216 diff = (a[x] >> input_shift) - (b[x] >> input_shift); in highbd_get_sse_shift()
2286 const unsigned int input_shift = bit_depth - in_bit_depth; in calc_highbd_psnr() local
2294 if (input_shift) { in calc_highbd_psnr()
2297 input_shift); in calc_highbd_psnr()