shithub: openh264

Download patch

ref: 7fe12a17b5c3523e56b9f6cd818eb4a58d8e7e55
parent: fa268249779551a81948f468f2deb9cedf4fdfe2
parent: f3df32f3c9c3c2d2549c9337f646770357cd4cb6
author: guangwei <GuangweiWang@users.noreply.github.com>
date: Thu Apr 27 10:04:17 EDT 2017

Merge pull request #2731 from huili2/qp_8x8_update_bugfix

qp update for I8x8 bugfix

--- a/codec/decoder/core/src/decode_slice.cpp
+++ b/codec/decoder/core/src/decode_slice.cpp
@@ -1378,7 +1378,7 @@
   ST32A4 (&pNzc[16], 0);
   ST32A4 (&pNzc[20], 0);
 
-  if (pCurLayer->pCbp[iMbXy] == 0 && IS_INTRA4x4 (pCurLayer->pMbType[iMbXy])) {
+  if (pCurLayer->pCbp[iMbXy] == 0 && IS_INTRANxN (pCurLayer->pMbType[iMbXy])) {
     pCurLayer->pLumaQp[iMbXy] = pSlice->iLastMbQp;
     for (i = 0; i < 2; i++) {
       pCurLayer->pChromaQp[iMbXy][i] = g_kuiChromaQpTable[WELS_CLIP3 (pCurLayer->pLumaQp[iMbXy] +