Home
last modified time | relevance | path

Searched refs:kuiScaleWidth (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
123 int32_t fScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kuiScaleWidth); in GeneralBilinearFastDownsampler_c()
142 int32_t iFu = iXInverse & (kuiScaleWidth - 1); in GeneralBilinearFastDownsampler_c()
152 … x = (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (kuiScaleHeight - 1 - fv) >> kuiScaleBitWidth) * a; in GeneralBilinearFastDownsampler_c()
154 x += (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (fv) >> kuiScaleBitWidth) * c; in GeneralBilinearFastDownsampler_c()
257 const uint32_t kuiScaleWidth = (1 << kiScaleBitWidth), kuiScaleHeight = (1 << kiScaleBitHeight); in GeneralBilinearDownsamplerWrap() local
259 uint32_t uiScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kuiScaleWidth); in GeneralBilinearDownsamplerWrap()
/third_party/openh264/test/processing/
DProcessUT_DownSample.cpp58 const uint32_t kuiScaleWidth = (1 << kuiScaleBitWidth), kuiScaleHeight = (1 << kuiScaleBitHeight); in GeneralBilinearFastDownsampler_ref() local
59 int32_t fScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kuiScaleWidth); in GeneralBilinearFastDownsampler_ref()
78 int32_t iFu = iXInverse & (kuiScaleWidth - 1); in GeneralBilinearFastDownsampler_ref()
88 … x = (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (kuiScaleHeight - 1 - fv) >> kuiScaleBitWidth) * a; in GeneralBilinearFastDownsampler_ref()
90 x += (((uint32_t) (kuiScaleWidth - 1 - iFu)) * (fv) >> kuiScaleBitWidth) * c; in GeneralBilinearFastDownsampler_ref()