History

remove unused function

Licai Guo committed 12 years ago

Commit 8a7a9191 parent 4260a9b2 files · +0 −15Browse files

Showing the changes to codec/decoder (2 of 2 files). Show all

Unified · Split

2 files
  1. codec/decoder/core/inc/decode_slice.h +0 −3
  2. codec/decoder/core/src/decode_slice.cpp +0 −12
codec/decoder/core/inc/decode_slice.h+0−3
@@ -59,9 +59,6 @@ int32_t WelsMbInterSampleConstruction (PWelsDecoderContext pCtx, PDqLayer pCurLa · 58 unmodified lines
59int32_t WelsMbInterConstruction (PWelsDecoderContext pCtx, PDqLayer pCurLayer);59int32_t WelsMbInterConstruction (PWelsDecoderContext pCtx, PDqLayer pCurLayer);
60void WelsLumaDcDequantIdct (int16_t* pBlock, int32_t iQp);60void WelsLumaDcDequantIdct (int16_t* pBlock, int32_t iQp);
61int32_t WelsMbInterPrediction (PWelsDecoderContext pCtx, PDqLayer pCurLayer);61int32_t WelsMbInterPrediction (PWelsDecoderContext pCtx, PDqLayer pCurLayer);
62void WelsMbCopy (uint8_t* pDst, int32_t iStrideDst, uint8_t* pSrc, int32_t iStrideSrc,
63 int32_t iHeight, int32_t iWidth);
64
65void WelsChromaDcIdct (int16_t* pBlock);62void WelsChromaDcIdct (int16_t* pBlock);
66 63
67#ifdef __cplusplus64#ifdef __cplusplus
codec/decoder/core/src/decode_slice.cpp+0−12
@@ -270,18 +270,6 @@ int32_t WelsMbInterPrediction (PWelsDecoderContext pCtx, PDqLayer pCurLayer) { · 269 unmodified lines
270 return 0;270 return 0;
271}271}
272 272
273void WelsMbCopy (uint8_t* pDst, int32_t iStrideDst, uint8_t* pSrc, int32_t iStrideSrc,
274 int32_t iHeight, int32_t iWidth) {
275 int32_t i;
276 int32_t iOffsetDst = 0, iOffsetSrc = 0;
277 for (i = 0; i < iHeight; i++) {
278 memcpy (pDst + iOffsetDst, pSrc + iOffsetSrc, iWidth);
279 iOffsetDst += iStrideDst;
280 iOffsetSrc += iStrideSrc;
281 }
282}
283
284
285int32_t WelsTargetMbConstruction (PWelsDecoderContext pCtx) {273int32_t WelsTargetMbConstruction (PWelsDecoderContext pCtx) {
286 PDqLayer pCurLayer = pCtx->pCurDqLayer;274 PDqLayer pCurLayer = pCtx->pCurDqLayer;
287 if (MB_TYPE_INTRA_PCM == pCurLayer->pMbType[pCurLayer->iMbXyIndex]) {275 if (MB_TYPE_INTRA_PCM == pCurLayer->pMbType[pCurLayer->iMbXyIndex]) {

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