x265_qp2qScale 433 source/common/common.h double x265_qp2qScale(double qp); x265_qp2qScale 964 source/encoder/encoder.cpp outFrame->m_rcData->qScale = outFrame->m_rcData->newQScale = x265_qp2qScale(outFrame->m_encData->m_avgQpRc); x265_qp2qScale 1365 source/encoder/frameencoder.cpp curEncData.m_rowStat[row].rowQpScale = x265_qp2qScale(curEncData.m_avgQpRc); x265_qp2qScale 1545 source/encoder/frameencoder.cpp curEncData.m_rowStat[row].rowQpScale = x265_qp2qScale(qpBase); x265_qp2qScale 1594 source/encoder/frameencoder.cpp curEncData.m_rowStat[row].rowQpScale = x265_qp2qScale(qpBase); x265_qp2qScale 185 source/encoder/ratecontrol.cpp x265_qp2qScale(m_param->rc.rfConstant + mbtree_offset); x265_qp2qScale 288 source/encoder/ratecontrol.cpp m_lastQScaleFor[i] = x265_qp2qScale(m_param->rc.rateControlMode == X265_RC_CRF ? CRF_INIT_QP : ABR_INIT_QP_MIN); x265_qp2qScale 289 source/encoder/ratecontrol.cpp m_lmin[i] = x265_qp2qScale(m_param->rc.qpMin); x265_qp2qScale 290 source/encoder/ratecontrol.cpp m_lmax[i] = x265_qp2qScale(m_param->rc.qpMax); x265_qp2qScale 374 source/encoder/ratecontrol.cpp m_lastQScaleFor[i] = x265_qp2qScale(m_param->rc.rateControlMode == X265_RC_CRF ? CRF_INIT_QP : ABR_INIT_QP_MIN); x265_qp2qScale 548 source/encoder/ratecontrol.cpp rce->qScale = rce->newQScale = x265_qp2qScale(20); x265_qp2qScale 615 source/encoder/ratecontrol.cpp rce->qScale = rce->newQScale = x265_qp2qScale(qpRc); x265_qp2qScale 719 source/encoder/ratecontrol.cpp x265_qp2qScale(m_param->rc.rfConstant + mbtree_offset); x265_qp2qScale 985 source/encoder/ratecontrol.cpp targetBits += qScale2bits(rce, x265_qp2qScale(rce->qpNoVbv)); x265_qp2qScale 1020 source/encoder/ratecontrol.cpp targetBits += qScale2bits(rce, x265_qp2qScale(rce->qpNoVbv)); x265_qp2qScale 1088 source/encoder/ratecontrol.cpp double qScaleMin = x265_qp2qScale(m_param->rc.qpMin); x265_qp2qScale 1089 source/encoder/ratecontrol.cpp double qScaleMax = x265_qp2qScale(m_param->rc.qpMax); x265_qp2qScale 1385 source/encoder/ratecontrol.cpp m_lastQScaleFor[m_sliceType] = x265_qp2qScale(rce->qpaRc); x265_qp2qScale 1423 source/encoder/ratecontrol.cpp double pq = x265_qp2qScale(m_accumPQp / m_accumPNorm); x265_qp2qScale 1606 source/encoder/ratecontrol.cpp double qScaleAvg = x265_qp2qScale(m_avgPFrameQp); x265_qp2qScale 1613 source/encoder/ratecontrol.cpp q = abs(projectedBitrate - m_bitrate) < abs (curBitrate - m_bitrate) ? x265_qp2qScale(newQp) : m_lastQScaleFor[P_SLICE]; x265_qp2qScale 1709 source/encoder/ratecontrol.cpp double minScenecutQscale =x265_qp2qScale(ABR_SCENECUT_INIT_QP_MIN); x265_qp2qScale 1712 source/encoder/ratecontrol.cpp double qScale = x265_qp2qScale(q); x265_qp2qScale 1770 source/encoder/ratecontrol.cpp m_lastQScaleFor[P_SLICE] = x265_qp2qScale(m_avgPFrameQp); x265_qp2qScale 1806 source/encoder/ratecontrol.cpp q = x265_qp2qScale(zone->qp); x265_qp2qScale 1820 source/encoder/ratecontrol.cpp q = X265_MIN(x265_qp2qScale(ABR_INIT_QP_GRAIN_MAX), q); x265_qp2qScale 1887 source/encoder/ratecontrol.cpp q = x265_qp2qScale(zone->qp); x265_qp2qScale 1901 source/encoder/ratecontrol.cpp initialQScale = x265_qp2qScale(zone->qp); x265_qp2qScale 1924 source/encoder/ratecontrol.cpp q = x265_qp2qScale(m_accumPQp / m_accumPNorm); x265_qp2qScale 1946 source/encoder/ratecontrol.cpp q = x265_qp2qScale(CRF_INIT_QP) / fabs(m_param->rc.ipFactor); x265_qp2qScale 1951 source/encoder/ratecontrol.cpp lqmax = (m_isGrainEnabled && m_lstep) ? x265_qp2qScale(ABR_INIT_QP_GRAIN_MAX) : x265_qp2qScale 1952 source/encoder/ratecontrol.cpp x265_qp2qScale(ABR_INIT_QP_MAX); x265_qp2qScale 1959 source/encoder/ratecontrol.cpp double minScenecutQscale = x265_qp2qScale(ABR_SCENECUT_INIT_QP_MIN); x265_qp2qScale 2032 source/encoder/ratecontrol.cpp rce->rowCplxrSum = rce->rowTotalBits * x265_qp2qScale(rce->qpaRc) / rce->qRceq; x265_qp2qScale 2034 source/encoder/ratecontrol.cpp rce->rowCplxrSum = rce->rowTotalBits * x265_qp2qScale(rce->qpaRc) / (rce->qRceq * fabs(m_param->rc.pbFactor)); x265_qp2qScale 2234 source/encoder/ratecontrol.cpp double qmax = X265_MIN(lmax,x265_qp2qScale(qpNoVbv + m_rateFactorMaxIncrement)); x265_qp2qScale 2255 source/encoder/ratecontrol.cpp double qScale = x265_qp2qScale(qpVbv); x265_qp2qScale 2336 source/encoder/ratecontrol.cpp double qScaleVbv = x265_qp2qScale(qpVbv); x265_qp2qScale 2542 source/encoder/ratecontrol.cpp updatePredictor(&m_pred[predType], x265_qp2qScale(rce->qpaRc), (double)rce->lastSatd, (double)bits); x265_qp2qScale 2643 source/encoder/ratecontrol.cpp double crfFactor = rce->qRceq /x265_qp2qScale(qpRef); x265_qp2qScale 2680 source/encoder/ratecontrol.cpp m_cplxrSum += (bits * x265_qp2qScale(rce->qpaRc) / rce->qRceq) - (rce->rowCplxrSum); x265_qp2qScale 2686 source/encoder/ratecontrol.cpp m_cplxrSum += (bits * x265_qp2qScale(rce->qpaRc) / (rce->qRceq * fabs(m_param->rc.pbFactor))) - (rce->rowCplxrSum); x265_qp2qScale 2707 source/encoder/ratecontrol.cpp m_expectedBitsSum += qScale2bits(rce, x265_qp2qScale(rce->newQp));