Home
last modified time | relevance | path

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

/third_party/openh264/codec/processing/src/downsample/
Ddownsamplefuncs.cpp190 const int32_t kiScaleBit = 15; in GeneralBilinearAccurateDownsampler_c() local
191 const int32_t kiScale = (1 << kiScaleBit); in GeneralBilinearAccurateDownsampler_c()
200 iYInverse = 1 << (kiScaleBit - 1); in GeneralBilinearAccurateDownsampler_c()
202 int32_t iYy = iYInverse >> kiScaleBit; in GeneralBilinearAccurateDownsampler_c()
208 iXInverse = 1 << (kiScaleBit - 1); in GeneralBilinearAccurateDownsampler_c()
210 int32_t iXx = iXInverse >> kiScaleBit; in GeneralBilinearAccurateDownsampler_c()
223 ((int64_t)iFu) * iFv * d + (int64_t) (1 << (2 * kiScaleBit - 1))) >> (2 * kiScaleBit); in GeneralBilinearAccurateDownsampler_c()
229 *pByDst = * (pBySrc + (iXInverse >> kiScaleBit)); in GeneralBilinearAccurateDownsampler_c()
236 int32_t iYy = iYInverse >> kiScaleBit; in GeneralBilinearAccurateDownsampler_c()
240 iXInverse = 1 << (kiScaleBit - 1); in GeneralBilinearAccurateDownsampler_c()
[all …]
/third_party/openh264/test/processing/
DProcessUT_DownSample.cpp126 const int32_t kiScaleBit = 15; in GeneralBilinearAccurateDownsampler_ref() local
127 const int32_t kiScale = (1 << kiScaleBit); in GeneralBilinearAccurateDownsampler_ref()
136 iYInverse = 1 << (kiScaleBit - 1); in GeneralBilinearAccurateDownsampler_ref()
138 int32_t iYy = iYInverse >> kiScaleBit; in GeneralBilinearAccurateDownsampler_ref()
144 iXInverse = 1 << (kiScaleBit - 1); in GeneralBilinearAccurateDownsampler_ref()
146 int32_t iXx = iXInverse >> kiScaleBit; in GeneralBilinearAccurateDownsampler_ref()
159 ((int64_t)iFu) * iFv * d + (int64_t) (1 << (2 * kiScaleBit - 1))) >> (2 * kiScaleBit); in GeneralBilinearAccurateDownsampler_ref()
165 *pByDst = * (pBySrc + (iXInverse >> kiScaleBit)); in GeneralBilinearAccurateDownsampler_ref()
172 int32_t iYy = iYInverse >> kiScaleBit; in GeneralBilinearAccurateDownsampler_ref()
176 iXInverse = 1 << (kiScaleBit - 1); in GeneralBilinearAccurateDownsampler_ref()
[all …]