Skip to content

Commit

Permalink
[Encode] Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen, Bohan authored and gfxVPLsdm committed Oct 12, 2024
1 parent b81d892 commit 97f6ceb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ namespace Base
BitOffsets Offsets = {};
mfxU8 MinBaseQIndex = 0;
mfxU8 MaxBaseQIndex = 0;
mfxU8 AdaptiveTUEnabled = 0;

RefListType RefList = {};
DpbType DPB;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,7 @@ namespace MfxHwH264Encode
, m_vmeData(0)
, m_fwdRef(0)
, m_bwdRef(0)
, m_adaptiveTUEnabled(0)
, m_fieldPicFlag(0)
, m_singleFieldMode(false)
, m_fieldCounter(0)
Expand Down Expand Up @@ -1339,6 +1340,7 @@ namespace MfxHwH264Encode
DdiTask const * m_fwdRef;
DdiTask const * m_bwdRef;

mfxU8 m_adaptiveTUEnabled;
mfxU8 m_fieldPicFlag; // true for frames with interlaced content
bool m_singleFieldMode; // true for FEI single-field processing mode

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "mfx_h264_encode_hw_utils.h"
#include "mfx_common_int.h"
#include "ippi.h"

using namespace MfxHwH264Encode;


Expand Down Expand Up @@ -2201,7 +2200,6 @@ void MfxHwH264Encode::ConfigureTask(
task.m_encOrderIdr = prevIdrFrameFlag ? prevTask.m_encOrder : prevTask.m_encOrderIdr;
task.m_encOrderI = prevIFrameFlag ? prevTask.m_encOrder : prevTask.m_encOrderI;


task.m_isUseRawRef = IsOn(extOpt2.UseRawRef);
task.m_isSkipped = false;
if (task.m_isUseRawRef && extOpt2Runtime)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ namespace Base
mfxI8 m_minQP = 0;
mfxI8 m_maxQP = 0;

mfxU8 AdaptiveTUEnabled = 0;
mfxU8 SliceNUT = 0;
mfxU32 InsertHeaders = 0;
mfxU32 RepackHeaders = 0;
Expand Down

0 comments on commit 97f6ceb

Please sign in to comment.