Searched refs:WELS_ROUND (Results 1 – 7 of 7) sorted by relevance
123 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()
59 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()
119 #ifndef WELS_ROUND120 #define WELS_ROUND(x) ((int32_t)(0.5+(x))) macro
98 …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()
100 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()
1591 …iLayerBsSize = WELS_ROUND (((3 * fDlp->iVideoWidth * fDlp->iVideoHeight) >> 1) * fCompressRatioThr… in RequestMemorySvc()
949 pSrcPic->uiTimeStamp = WELS_ROUND (iFrameIdx * (1000 / sSvcParam.fMaxFrameRate)); in ProcessEncoding()