Home
last modified time | relevance | path

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

/third_party/openh264/codec/processing/src/downsample/
Ddownsamplefuncs.cpp123 int32_t fScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kuiScaleWidth); in GeneralBilinearFastDownsampler_c()
124 int32_t fScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kuiScaleHeight); in GeneralBilinearFastDownsampler_c()
192 int32_t iScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kiScale); in GeneralBilinearAccurateDownsampler_c()
193 int32_t iScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kiScale); in GeneralBilinearAccurateDownsampler_c()
259 uint32_t uiScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kuiScaleWidth); in GeneralBilinearDownsamplerWrap()
260 uint32_t uiScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kuiScaleHeight); in GeneralBilinearDownsamplerWrap()
/third_party/openh264/test/processing/
DProcessUT_DownSample.cpp59 int32_t fScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kuiScaleWidth); in GeneralBilinearFastDownsampler_ref()
60 int32_t fScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kuiScaleHeight); in GeneralBilinearFastDownsampler_ref()
128 int32_t iScalex = WELS_ROUND ((float)kiSrcWidth / (float)kiDstWidth * kiScale); in GeneralBilinearAccurateDownsampler_ref()
129 int32_t iScaley = WELS_ROUND ((float)kiSrcHeight / (float)kiDstHeight * kiScale); in GeneralBilinearAccurateDownsampler_ref()
/third_party/openh264/codec/common/inc/
Dmacros.h119 #ifndef WELS_ROUND
120 #define WELS_ROUND(x) ((int32_t)(0.5+(x))) macro
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp98 …int32_t iLayerBsSize = WELS_ROUND (((3 * pLayerCfg->iVideoWidth * pLayerCfg->iVideoHeight) >> 1) *… in InitParamForSizeLimitSlcMode()
263 …int32_t iLayerBsSize = WELS_ROUND (((3 * pLayerCfg->iVideoWidth * pLayerCfg->iVideoHeight) >> 1) *… in InitFrameBsBuffer()
349 …iLayerBsSize = WELS_ROUND (((3 * pLayerCfg->iVideoWidth * pLayerCfg->iVideoHeight) >> 1) * COMPRES… in InitLayerSliceBuffer()
/third_party/openh264/codec/encoder/core/src/
Dratectl.cpp100 return WELS_ROUND ((6 * log (iQpStep * 1.0f / INT_MULTIPLY) / log (2.0) + 4.0)); in RcConvertQStep2Qp()
346 iVGopBitrate = WELS_ROUND (iTotalBits / iFrameInVGop * pWelsSvcRc->fFrameRate); in RcTraceVGopBitrate()
1326 …int64_t iTargetBits = WELS_ROUND (((float)iBitRate / pDLayerParamInternal->fOutputFrameRate)); //i… in WelRcPictureInitScc()
Dencoder_ext.cpp1591 …iLayerBsSize = WELS_ROUND (((3 * fDlp->iVideoWidth * fDlp->iVideoHeight) >> 1) * fCompressRatioThr… in RequestMemorySvc()
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp949 pSrcPic->uiTimeStamp = WELS_ROUND (iFrameIdx * (1000 / sSvcParam.fMaxFrameRate)); in ProcessEncoding()