History

merge common part of wels_common_basis

huili2 committed 11 years ago

Commit 403cc571 parent b66703112 files · +97 −155Browse files

Showing the changes to codec/encoder/core/src/svc_encode_slice.cpp (1 of 12 files). Show all

Unified · Split

codec/encoder/core/src/svc_encode_slice.cpp+5−3
@@ -292,7 +292,8 @@ void WelsSliceHeaderWrite (sWelsEncCtx* pCtx, SBitStringAux* pBs, SDqLayer* pCur · 291 unmodified lines
292292 BsWriteUE (pBs, 2);
293293 break;
294294 default:
295− WelsLog(&pCtx->sLogCtx, WELS_LOG_ERROR, "Invalid uiDisableDeblockingFilterIdc %d", pSliceHeader->uiDisableDeblockingFilterIdc);
295+ WelsLog (&pCtx->sLogCtx, WELS_LOG_ERROR, "Invalid uiDisableDeblockingFilterIdc %d",
296+ pSliceHeader->uiDisableDeblockingFilterIdc);
296297 break;
297298 }
298299 if (1 != pSliceHeader->uiDisableDeblockingFilterIdc) {
@@ -455,7 +456,8 @@ void WelsPMbChromaEncode (sWelsEncCtx* pEncCtx, SSlice* pSlice, SMB* pCurMb) { · 156 unmodified lines
455456 }
456457
457458 void OutputPMbWithoutConstructCsRsNoCopy (sWelsEncCtx* pCtx, SDqLayer* pDq, SSlice* pSlice, SMB* pMb) {
458− if (IS_INTER (pMb->uiMbType) || IS_I_BL (pMb->uiMbType)) { //intra have been reconstructed, NO COPY from CS to pDecPic--
459+ if ((IS_INTER (pMb->uiMbType) && !IS_SKIP (pMb->uiMbType))
460+ || IS_I_BL (pMb->uiMbType)) { //intra have been reconstructed, NO COPY from CS to pDecPic--
459461 SMbCache* pMbCache = &pSlice->sMbCacheInfo;
460462 uint8_t* pDecY = pMbCache->SPicData.pDecMb[0];
461463 uint8_t* pDecU = pMbCache->SPicData.pDecMb[1];
@@ -843,7 +845,7 @@ void AddSliceBoundary (sWelsEncCtx* pEncCtx, SSlice* pCurSlice, SSliceCtx* pSlic · 381 unmodified lines
843845
844846 pSliceCtx->pFirstMbInSlice[iNextSliceIdc] = iFirstMbIdxOfNextSlice;
845847 WelsSetMemMultiplebytes_c (pSliceCtx->pOverallMbMap + iFirstMbIdxOfNextSlice, iNextSliceIdc,
846− (kiLastMbIdxInPartition - iFirstMbIdxOfNextSlice + 1), sizeof(uint16_t));
848+ (kiLastMbIdxInPartition - iFirstMbIdxOfNextSlice + 1), sizeof (uint16_t));
847849
848850 //DYNAMIC_SLICING_ONE_THREAD: update pMbList slice_neighbor_info
849851 UpdateMbNeighbourInfoForNextSlice (pSliceCtx, pMbList, iFirstMbIdxOfNextSlice, kiLastMbIdxInPartition);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t