Home
last modified time | relevance | path

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

/third_party/openh264/codec/processing/src/downsample/
Ddownsamplefuncs.cpp122 const uint32_t kuiScaleWidth = (1 << kuiScaleBitWidth), kuiScaleHeight = (1 << kuiScaleBitHeight); in GeneralBilinearFastDownsampler_c() local
124 int32_t fScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kuiScaleHeight); in GeneralBilinearFastDownsampler_c()
134 int32_t fv = iYInverse & (kuiScaleHeight - 1); 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()
257 const uint32_t kuiScaleWidth = (1 << kiScaleBitWidth), kuiScaleHeight = (1 << kiScaleBitHeight); in GeneralBilinearDownsamplerWrap() local
260 uint32_t uiScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kuiScaleHeight); in GeneralBilinearDownsamplerWrap()
/third_party/openh264/test/processing/
DProcessUT_DownSample.cpp58 const uint32_t kuiScaleWidth = (1 << kuiScaleBitWidth), kuiScaleHeight = (1 << kuiScaleBitHeight); in GeneralBilinearFastDownsampler_ref() local
60 int32_t fScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kuiScaleHeight); in GeneralBilinearFastDownsampler_ref()
70 int32_t fv = iYInverse & (kuiScaleHeight - 1); 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()