History

interface clean and inside modification

clean and comment some API. move the SKIP mv pred location remove the unused buffer in intra construction.

huili2 committed 12 years ago

Commit 32fd2c41 parent 42389009 files · +162 −185Browse files

Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 9 files). Show all

Unified · Split

codec/decoder/core/src/decode_slice.cpp+3−13
@@ -247,27 +247,17 @@ int32_t WelsMbIntraPredictionConstruction (PWelsDecoderContext pCtx, PDqLayer pC · 246 unmodified lines
247247 //seems IPCM should not enter this path
248248 int32_t iMbXy = pCurLayer->iMbXyIndex;
249249
250− FORCE_STACK_ALIGN_1D (int16_t, pTempScaledTCoeff, MB_COEFF_LIST_SIZE, 16);
251−
252− memcpy (pTempScaledTCoeff, pCurLayer->pScaledTCoeff[iMbXy], 384 * sizeof (pCurLayer->pScaledTCoeff[iMbXy][0]));
253−
254250 WelsFillRecNeededMbInfo (pCtx, bOutput, pCurLayer);
255251
256252 if (IS_INTRA16x16 (pCurLayer->pMbType[iMbXy])) {
257− int32_t i, j;
258− // really need?
259− for (i = 0; i < 16; i++) {
260− j = g_kuiLumaDcZigzagScan[i];
261− pTempScaledTCoeff[j] = pCurLayer->pScaledTCoeff[iMbXy][j];
262− }
263− WelsLumaDcDequantIdct (pTempScaledTCoeff, pCurLayer->pLumaQp[iMbXy]);
264− RecI16x16Mb (iMbXy, pCtx, pTempScaledTCoeff, pCurLayer);
253+ WelsLumaDcDequantIdct (pCurLayer->pScaledTCoeff[iMbXy], pCurLayer->pLumaQp[iMbXy]);
254+ RecI16x16Mb (iMbXy, pCtx, pCurLayer->pScaledTCoeff[iMbXy], pCurLayer);
265255
266256 return 0;
267257 }
268258
269259 if (IS_INTRA4x4 (pCurLayer->pMbType[iMbXy]))
270− RecI4x4Mb (iMbXy, pCtx, pTempScaledTCoeff, pCurLayer);
260+ RecI4x4Mb (iMbXy, pCtx, pCurLayer->pScaledTCoeff[iMbXy], pCurLayer);
271261
272262 return 0;
273263 }

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