Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dy4minput.c143 #define OC_MINI(_a,_b) ((_a)>(_b)?(_b):(_a)) macro
145 #define OC_CLAMPI(_a,_b,_c) (OC_MAXI(_a,OC_MINI(_b,_c)))
195 for (x = 0; x < OC_MINI(_c_w, 2); x++) { in y4m_42xmpeg2_42xjpeg_helper()
197 … 114 * _src[x] + 35 * _src[OC_MINI(x + 1, _c_w - 1)] - 9 * _src[OC_MINI(x + 2, _c_w - 1)] + in y4m_42xmpeg2_42xjpeg_helper()
198 _src[OC_MINI(x + 3, _c_w - 1)] + 64) >> 7, 255); in y4m_42xmpeg2_42xjpeg_helper()
206 … 114 * _src[x] + 35 * _src[OC_MINI(x + 1, _c_w - 1)] - 9 * _src[OC_MINI(x + 2, _c_w - 1)] + in y4m_42xmpeg2_42xjpeg_helper()
304 for (y = 0; y < OC_MINI(c_h, 3); y++) { in y4m_convert_42xpaldv_42xjpeg()
307 … + 114 * tmp[y * c_w] - 17 * tmp[OC_MINI(y + 1, c_h - 1) * c_w] in y4m_convert_42xpaldv_42xjpeg()
308 … + 4 * tmp[OC_MINI(y + 2, c_h - 1) * c_w] + 64) >> 7, 255); in y4m_convert_42xpaldv_42xjpeg()
318 … - 17 * tmp[OC_MINI(y + 1, c_h - 1) * c_w] + 4 * tmp[(c_h - 1) * c_w] + 64) >> 7, 255); in y4m_convert_42xpaldv_42xjpeg()
[all …]