Home
last modified time | relevance | path

Searched refs:INT_MULTIPLY (Results 1 – 5 of 5) sorted by relevance

/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()
241 …ufferSizeSkip = WELS_DIV_ROUND (pWelsSvcRc->iBitRate * pWelsSvcRc->iSkipBufferRatio, INT_MULTIPLY); in RcUpdateBitrateFps()
242 …c->iBufferSizePadding = WELS_DIV_ROUND (pWelsSvcRc->iBitRate * PADDING_BUFFER_RATIO, INT_MULTIPLY); in RcUpdateBitrateFps()
436 int64_t iCmplxRatio = WELS_DIV_ROUND64 (iFrameComplexity * INT_MULTIPLY, in RcCalculateIdrQp()
438 …iCmplxRatio = WELS_CLIP3 (iCmplxRatio, INT_MULTIPLY - FRAME_CMPLX_RATIO_RANGE, INT_MULTIPLY + FRAM… in RcCalculateIdrQp()
440 (pWelsSvcRc->iTargetBits * INT_MULTIPLY)); in RcCalculateIdrQp()
480 int64_t iCmplxRatio = WELS_DIV_ROUND64 (iFrameComplexity * INT_MULTIPLY, in RcCalculatePictureQp()
482 …iCmplxRatio = WELS_CLIP3 (iCmplxRatio, INT_MULTIPLY - FRAME_CMPLX_RATIO_RANGE, INT_MULTIPLY + FRAM… in RcCalculatePictureQp()
484 … WELS_DIV_ROUND ((pTOverRc->iLinearCmplx * iCmplxRatio), (pWelsSvcRc->iTargetBits * INT_MULTIPLY)); in RcCalculatePictureQp()
509 …iLumaQp = WELS_DIV_ROUND (iLumaQp * INT_MULTIPLY - pEncCtx->pVaa->sAdaptiveQuantParam.iAverMotion… in RcCalculatePictureQp()
[all …]
Dslice_multi_threading.cpp100 iAvI[iSliceIdx] = WELS_DIV_ROUND (INT_MULTIPLY * ppSliceInLayer[iSliceIdx]->iCountMbNumInSlice, in CalcSliceComplexRatio()
110 …ppSliceInLayer[iSliceIdx]->iSliceComplexRatio = WELS_DIV_ROUND (INT_MULTIPLY * iAvI[iSliceIdx], iS… in CalcSliceComplexRatio()
214 …ning = WELS_DIV_ROUND (kiCountNumMb * ppSliceInLayer[iSliceIdx]->iSliceComplexRatio, INT_MULTIPLY); in DynamicAdjustSlicing()
237 iSliceIdx, ppSliceInLayer[iSliceIdx]->iSliceComplexRatio * 1.0f / INT_MULTIPLY, in DynamicAdjustSlicing()
246 iSliceIdx, ppSliceInLayer[iSliceIdx]->iSliceComplexRatio * 1.0f / INT_MULTIPLY, in DynamicAdjustSlicing()
Dsvc_enc_slice_segment.cpp280 …int32_t iNumMbAssigning = WELS_DIV_ROUND (INT_MULTIPLY * kiMbNumPerSlice, iGomSize * INT_MULTIPLY)… in GomValidCheckSliceMbNum()
Dsvc_encode_slice.cpp1298 int32_t iIncreaseSlicNum = (iLeftMBNum * INT_MULTIPLY / iMBNumInPatition) * iMaxSliceNumOld; in CalculateNewSliceNum()
1300 …iIncreaseSlicNum = (0 == (iIncreaseSlicNum / INT_MULTIPLY)) ? 1 : (iIncreaseSlicNum / INT_MULTIPL… in CalculateNewSliceNum()
/third_party/openh264/codec/encoder/core/inc/
Drc.h116 #define INT_MULTIPLY 100 // use to multiply in Double to Int Conversion, should be same as AQ_QSTEP… macro