History

Rename data types in the decoder to match the name used in the encoder

Martin Storsjö committed 12 years ago

Commit 57806031 parent eb7cdf28 files · +13 −13Browse files

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

Unified · Split

codec/decoder/core/src/decoder_core.cpp+3−3
@@ -161,7 +161,7 @@ inline int32_t WelsDecodeConstructSlice (PWelsDecoderContext pCtx, PNalUnit pCu · 160 unmodified lines
161161 */
162162 int32_t ParseRefPicListReordering (PBitStringAux pBs, PSliceHeader pSh) {
163163 int32_t iList = 0;
164− const ESliceType keSt = pSh->eSliceType;
164+ const EWelsSliceType keSt = pSh->eSliceType;
165165 PRefPicListReorderSyn pRefPicListReordering = &pSh->pRefPicListReordering;
166166 PSps pSps = pSh->pSps;
167167 uint32_t uiCode;
@@ -446,7 +446,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 278 unmodified lines
446446 PSubsetSps pSubsetSps = NULL;
447447 PSps pSps = NULL;
448448 PPps pPps = NULL;
449− ENalUnitType eNalType = static_cast<ENalUnitType> (0);
449+ EWelsNalUnitType eNalType = static_cast<EWelsNalUnitType> (0);
450450 int32_t iPpsId = 0;
451451 int32_t iRet = ERR_NONE;
452452 uint8_t uiSliceType = 0;
@@ -508,7 +508,7 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 55 unmodified lines
508508 }
509509 }
510510
511− pSliceHead->eSliceType = static_cast <ESliceType> (uiSliceType);
511+ pSliceHead->eSliceType = static_cast <EWelsSliceType> (uiSliceType);
512512
513513 WELS_READ_VERIFY (BsGetUe (pBs, &uiCode)); //pic_parameter_set_id
514514 iPpsId = uiCode;

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