History

Convert tabs to spaces before comments

Martin Storsjö committed 11 years ago

Commit 78e0ec61 parent 3052b7a57 files · +278 −278Browse files

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

Unified · Split

codec/decoder/core/src/au_parser.cpp+5−5
@@ -603,7 +603,7 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 602 unmodified lines
603 }603 }
604 }604 }
605 iErr = ParseSps (pCtx, pBs, &iPicWidth, &iPicHeight, pSrcNal, kSrcNalLen);605 iErr = ParseSps (pCtx, pBs, &iPicWidth, &iPicHeight, pSrcNal, kSrcNalLen);
606 if (ERR_NONE != iErr) { // modified for pSps/pSubsetSps invalid, 12/1/2009606 if (ERR_NONE != iErr) { // modified for pSps/pSubsetSps invalid, 12/1/2009
607 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE)607 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE)
608 pCtx->iErrorCode |= dsNoParamSets;608 pCtx->iErrorCode |= dsNoParamSets;
609 else609 else
@@ -625,7 +625,7 @@ int32_t ParseNonVclNal (PWelsDecoderContext pCtx, uint8_t* pRbsp, const int32_t · 15 unmodified lines
625 }625 }
626 }626 }
627 iErr = ParsePps (pCtx, &pCtx->sPpsBuffer[0], pBs, pSrcNal, kSrcNalLen);627 iErr = ParsePps (pCtx, &pCtx->sPpsBuffer[0], pBs, pSrcNal, kSrcNalLen);
628 if (ERR_NONE != iErr) { // modified for pps invalid, 12/1/2009628 if (ERR_NONE != iErr) { // modified for pps invalid, 12/1/2009
629 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE)629 if (pCtx->eErrorConMethod == ERROR_CON_DISABLE)
630 pCtx->iErrorCode |= dsNoParamSets;630 pCtx->iErrorCode |= dsNoParamSets;
631 else631 else
@@ -934,7 +934,7 @@ int32_t ParseSps (PWelsDecoderContext pCtx, PBitStringAux pBsAux, int32_t* pPicW · 302 unmodified lines
934 WELS_READ_VERIFY (BsGetBits (pBs, 8, &uiCode)); // level_idc934 WELS_READ_VERIFY (BsGetBits (pBs, 8, &uiCode)); // level_idc
935 uiLevelIdc = uiCode;935 uiLevelIdc = uiCode;
936 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //seq_parameter_set_id936 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //seq_parameter_set_id
937 if (uiCode >= MAX_SPS_COUNT) { // Modified to check invalid negative iSpsId, 12/1/2009937 if (uiCode >= MAX_SPS_COUNT) { // Modified to check invalid negative iSpsId, 12/1/2009
938 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, " iSpsId is out of range! \n");938 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING, " iSpsId is out of range! \n");
939 return GENERATE_ERROR_NO (ERR_LEVEL_PARAM_SETS, ERR_INFO_SPS_ID_OVERFLOW);939 return GENERATE_ERROR_NO (ERR_LEVEL_PARAM_SETS, ERR_INFO_SPS_ID_OVERFLOW);
940 }940 }
@@ -1451,7 +1451,7 @@ int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, · 510 unmodified lines
1451 * \note Call it in case eNalUnitType is NAL_UNIT_SEI.1451 * \note Call it in case eNalUnitType is NAL_UNIT_SEI.
1452 *************************************************************************************1452 *************************************************************************************
1453 */1453 */
1454int32_t ParseSei (void* pSei, PBitStringAux pBsAux) { // reserved Sei_Msg type1454int32_t ParseSei (void* pSei, PBitStringAux pBsAux) { // reserved Sei_Msg type
1455 1455
1456 1456
1457 return ERR_NONE;1457 return ERR_NONE;
@@ -1470,7 +1470,7 @@ int32_t ParseSei (void* pSei, PBitStringAux pBsAux) { // reserved Sei_Msg type · 12 unmodified lines
1470 *************************************************************************************1470 *************************************************************************************
1471 */1471 */
1472int32_t SetScalingListValue (uint8_t* pScalingList, int iScalingListNum, bool* bUseDefaultScalingMatrixFlag,1472int32_t SetScalingListValue (uint8_t* pScalingList, int iScalingListNum, bool* bUseDefaultScalingMatrixFlag,
1473 PBitStringAux pBsAux) { // reserved Sei_Msg type1473 PBitStringAux pBsAux) { // reserved Sei_Msg type
1474 int iLastScale = 8;1474 int iLastScale = 8;
1475 int iNextScale = 8;1475 int iNextScale = 8;
1476 int iDeltaScale;1476 int iDeltaScale;

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