Home
last modified time | relevance | path

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

/third_party/openh264/codec/processing/src/downsample/
Ddownsamplefuncs.cpp121 const uint32_t kuiScaleBitWidth = 16, kuiScaleBitHeight = 15; in GeneralBilinearFastDownsampler_c() local
122 const uint32_t kuiScaleWidth = (1 << kuiScaleBitWidth), kuiScaleHeight = (1 << kuiScaleBitHeight); in GeneralBilinearFastDownsampler_c()
139 iXInverse = 1 << (kuiScaleBitWidth - 1); in GeneralBilinearFastDownsampler_c()
141 int32_t iXx = iXInverse >> kuiScaleBitWidth; in GeneralBilinearFastDownsampler_c()
152 … x = (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (kuiScaleHeight - 1 - fv) >> kuiScaleBitWidth) * a; in GeneralBilinearFastDownsampler_c()
153 x += (((uint32_t) (iFu)) * (kuiScaleHeight - 1 - fv) >> kuiScaleBitWidth) * b; in GeneralBilinearFastDownsampler_c()
154 x += (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (fv) >> kuiScaleBitWidth) * c; in GeneralBilinearFastDownsampler_c()
155 x += (((uint32_t) (iFu)) * (fv) >> kuiScaleBitWidth) * d; in GeneralBilinearFastDownsampler_c()
166 *pByDst = * (pBySrc + (iXInverse >> kuiScaleBitWidth)); in GeneralBilinearFastDownsampler_c()
177 iXInverse = 1 << (kuiScaleBitWidth - 1); in GeneralBilinearFastDownsampler_c()
[all …]
/third_party/openh264/test/processing/
DProcessUT_DownSample.cpp57 const uint32_t kuiScaleBitWidth = 16, kuiScaleBitHeight = 15; in GeneralBilinearFastDownsampler_ref() local
58 const uint32_t kuiScaleWidth = (1 << kuiScaleBitWidth), kuiScaleHeight = (1 << kuiScaleBitHeight); in GeneralBilinearFastDownsampler_ref()
75 iXInverse = 1 << (kuiScaleBitWidth - 1); in GeneralBilinearFastDownsampler_ref()
77 int32_t iXx = iXInverse >> kuiScaleBitWidth; in GeneralBilinearFastDownsampler_ref()
88 … x = (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (kuiScaleHeight - 1 - fv) >> kuiScaleBitWidth) * a; in GeneralBilinearFastDownsampler_ref()
89 x += (((uint32_t) (iFu)) * (kuiScaleHeight - 1 - fv) >> kuiScaleBitWidth) * b; in GeneralBilinearFastDownsampler_ref()
90 x += (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (fv) >> kuiScaleBitWidth) * c; in GeneralBilinearFastDownsampler_ref()
91 x += (((uint32_t) (iFu)) * (fv) >> kuiScaleBitWidth) * d; in GeneralBilinearFastDownsampler_ref()
102 *pByDst = * (pBySrc + (iXInverse >> kuiScaleBitWidth)); in GeneralBilinearFastDownsampler_ref()
113 iXInverse = 1 << (kuiScaleBitWidth - 1); in GeneralBilinearFastDownsampler_ref()
[all …]