Skip to content

Commit

Permalink
HEVCでのvbr/cbrモードでのVBAQを許可。
Browse files Browse the repository at this point in the history
  • Loading branch information
rigaya committed Feb 1, 2017
1 parent 9f278e2 commit aa79d6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VCECore/VCECore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -678,9 +678,9 @@ AMF_RESULT VCECore::checkParam(VCEParam *prm) {
PrintMes(VCE_LOG_WARN, _T("Maximum Delta QP for Bframes is %d.\n"), VCE_MAX_B_DELTA_QP);
prm->nDeltaQPBFrameRef = clamp(prm->nDeltaQPBFrameRef, -1 * VCE_MAX_B_DELTA_QP, VCE_MAX_B_DELTA_QP);
}
if (prm->bVBAQ && prm->nCodecId == VCE_CODEC_HEVC) {
if (prm->bVBAQ && prm->nCodecId == VCE_CODEC_HEVC && prm->nRateControl == AMF_VIDEO_ENCODER_HEVC_RATE_CONTROL_METHOD_CONSTANT_QP) {
#ifndef VCE_AUO
PrintMes(VCE_LOG_WARN, _T("VBAQ is not supported with HEVC encoding, disabled.\n"));
PrintMes(VCE_LOG_WARN, _T("VBAQ is not supported with CQP + HEVC encoding, disabled.\n"));
#endif
prm->bVBAQ = 0;
}
Expand Down

0 comments on commit aa79d6f

Please sign in to comment.