Skip to content

Commit

Permalink
[Encode] KW issue fix for encoder g10(CL#778304)
Browse files Browse the repository at this point in the history
KW issue fix for encoder g10

Change-Id: I1dab578014684a0cd98eea16f07fefd429c4f16f
  • Loading branch information
junyongs authored and oliver-sang committed Jun 29, 2018
1 parent 4e6e44c commit 81615ef
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2087,7 +2087,11 @@ MOS_STATUS CodechalEncodeMpeg2G10::SendMeSurfaces(
uint8_t scaledIdx = m_refList[refPicIdx]->ucScalingIdx;

// for 4xMe
refScaledSurface.OsResource = m_trackedBuf->Get4xDsSurface(scaledIdx)->OsResource;
MOS_SURFACE* p4xSurface = m_trackedBuf->Get4xDsSurface(scaledIdx);
if (p4xSurface != nullptr)
{
refScaledSurface.OsResource = p4xSurface->OsResource;
}
refScaledBottomFieldOffset = refBottomField ? (uint32_t)m_scaledBottomFieldOffset : 0;

// L1 Reference Picture Y - VME
Expand Down

0 comments on commit 81615ef

Please sign in to comment.