ref: fcf345c20eed7664cce50d9fdd03b88ef093b4aa
parent: 7fe12a17b5c3523e56b9f6cd818eb4a58d8e7e55
parent: e6b9aa05e6f30e40e085e1d1c5bc55405852b703
author: guangwei <[email protected]>
date: Thu Apr 27 10:04:27 EDT 2017
Merge pull request #2730 from huili2/tc0_in_lf_bugfix tc0 update in lf bugfix
--- a/codec/decoder/core/src/deblocking.cpp
+++ b/codec/decoder/core/src/deblocking.cpp
@@ -787,6 +787,7 @@
GET_ALPHA_BETA_FROM_QP (pFilter->iChromaQP[0], pFilter->iSliceAlphaC0Offset, pFilter->iSliceBetaOffset, iIndexA, iAlpha,
iBeta);
if (iAlpha | iBeta) {
+ TC0_TBL_LOOKUP(iTc, iIndexA, uiBSx4, 1);
pFilter->pLoopf->pfChromaDeblockingLT4Ver (&pDestCb[ (2 << 1)*iLineSize], &pDestCr[ (2 << 1)*iLineSize], iLineSize,
iAlpha, iBeta, iTc);
}
@@ -796,6 +797,7 @@
GET_ALPHA_BETA_FROM_QP (pFilter->iChromaQP[i], pFilter->iSliceAlphaC0Offset, pFilter->iSliceBetaOffset, iIndexA, iAlpha,
iBeta);
if (iAlpha | iBeta) {
+ TC0_TBL_LOOKUP(iTc, iIndexA, uiBSx4, 1);
uint8_t* pDestCbCr = (i == 0) ? &pDestCb[ (2 << 1) * iLineSize] : &pDestCr[ (2 << 1) * iLineSize];
pFilter->pLoopf->pfChromaDeblockingLT4Ver2 (pDestCbCr, iLineSize,
iAlpha, iBeta, iTc);