Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 4261cbd

Browse files
author
lijing0010
authored
skip AC energy(contour) for low latency use (#350)
Signed-off-by: Jing Li <[email protected]>
1 parent 4bcbb0c commit 4261cbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/Lib/Codec/EbSourceBasedOperationsProcess.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ static void CalculateAcEnergy(
316316
EB_U8 *meanPtr = pictureControlSetPtr->yMean[lcuIndex];
317317
inputOriginIndex = (lcuParams->originY + inputPicturePtr->originY) * inputLumaStride + (lcuParams->originX + inputPicturePtr->originX);
318318

319-
if (lcuParams->isCompleteLcu && pictureControlSetPtr->sliceType == EB_I_PICTURE){
319+
if (lcuParams->isCompleteLcu && pictureControlSetPtr->sliceType == EB_I_PICTURE &&
320+
pictureControlSetPtr->predStructure != EB_PRED_LOW_DELAY_P) {
320321

321322
EB_U32 inputCuOriginIndex;
322323
EB_U32 cuNum, cuSize;

0 commit comments

Comments
 (0)