/third_party/openh264/codec/decoder/core/src/ |
D | au_parser.cpp | 911 int32_t ParseSps (PWelsDecoderContext pCtx, PBitStringAux pBsAux, int32_t* pPicWidth, int32_t* pPic… in ParseSps() argument 913 PBitStringAux pBs = pBsAux; in ParseSps() 1143 int iRetVui = ParseVui (pCtx, pSps, pBsAux); in ParseSps() 1326 int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, uint8_t* pSrcNal, in ParsePps() argument 1336 WELS_READ_VERIFY (BsGetUe (pBsAux, &uiCode)); //pic_parameter_set_id in ParsePps() 1345 WELS_READ_VERIFY (BsGetUe (pBsAux, &uiCode)); //seq_parameter_set_id in ParsePps() 1352 WELS_READ_VERIFY (BsGetOneBit (pBsAux, &uiCode)); //entropy_coding_mode_flag in ParsePps() 1354 WELS_READ_VERIFY (BsGetOneBit (pBsAux, &uiCode)); //bottom_field_pic_order_in_frame_present_flag in ParsePps() 1357 WELS_READ_VERIFY (BsGetUe (pBsAux, &uiCode)); //num_slice_groups_minus1 in ParsePps() 1365 WELS_READ_VERIFY (BsGetUe (pBsAux, &uiCode)); //slice_group_map_type in ParsePps() [all …]
|
D | cabac_decoder.cpp | 71 int32_t InitCabacDecEngineFromBS (PWelsCabacDecEngine pDecEngine, PBitStringAux pBsAux) { in InitCabacDecEngineFromBS() argument 72 int32_t iRemainingBits = - pBsAux->iLeftBits; //pBsAux->iLeftBits < 0 in InitCabacDecEngineFromBS() 76 pCurr = pBsAux->pCurBuf - iRemainingBytes; in InitCabacDecEngineFromBS() 77 if (pCurr >= (pBsAux->pEndBuf - 1)) { in InitCabacDecEngineFromBS() 87 pDecEngine->pBuffStart = pBsAux->pStartBuf; in InitCabacDecEngineFromBS() 88 pDecEngine->pBuffEnd = pBsAux->pEndBuf; in InitCabacDecEngineFromBS() 89 pBsAux->iLeftBits = 0; in InitCabacDecEngineFromBS() 93 void RestoreCabacDecEngineToBS (PWelsCabacDecEngine pDecEngine, PBitStringAux pBsAux) { in RestoreCabacDecEngineToBS() argument 97 pBsAux->iLeftBits = 0; in RestoreCabacDecEngineToBS() 98 pBsAux->pStartBuf = pDecEngine->pBuffStart; in RestoreCabacDecEngineToBS() [all …]
|
D | decode_slice.cpp | 648 PBitStringAux pBsAux = pCurDqLayer->pBitStringAux; in WelsDecodeMbCabacISliceBaseMode0() local 691 … WELS_READ_VERIFY (ParseIntra8x8Mode (pCtx, &sNeighAvail, pIntraPredMode, pBsAux, pCurDqLayer)); in WelsDecodeMbCabacISliceBaseMode0() 694 … WELS_READ_VERIFY (ParseIntra4x4Mode (pCtx, &sNeighAvail, pIntraPredMode, pBsAux, pCurDqLayer)); in WelsDecodeMbCabacISliceBaseMode0() 711 WELS_READ_VERIFY (ParseIntra16x16Mode (pCtx, &sNeighAvail, pBsAux, pCurDqLayer)); in WelsDecodeMbCabacISliceBaseMode0() 745 …WELS_READ_VERIFY (ParseResidualBlockCabac (&sNeighAvail, pNonZeroCount, pBsAux, 0, 16, g_kuiLumaDc… in WelsDecodeMbCabacISliceBaseMode0() 750 WELS_READ_VERIFY (ParseResidualBlockCabac (&sNeighAvail, pNonZeroCount, pBsAux, i, in WelsDecodeMbCabacISliceBaseMode0() 769 … WELS_READ_VERIFY (ParseResidualBlockCabac8x8 (&sNeighAvail, pNonZeroCount, pBsAux, (iId8x8 << 2), in WelsDecodeMbCabacISliceBaseMode0() 787 …WELS_READ_VERIFY (ParseResidualBlockCabac (&sNeighAvail, pNonZeroCount, pBsAux, iIdx, iScanIdxEnd … in WelsDecodeMbCabacISliceBaseMode0() 810 …WELS_READ_VERIFY (ParseResidualBlockCabac (&sNeighAvail, pNonZeroCount, pBsAux, 16 + (i << 2), 4, … in WelsDecodeMbCabacISliceBaseMode0() 821 WELS_READ_VERIFY (ParseResidualBlockCabac (&sNeighAvail, pNonZeroCount, pBsAux, iIdx, in WelsDecodeMbCabacISliceBaseMode0() [all …]
|
D | parse_mb_syn_cabac.cpp | 1399 …dualBlockCabac8x8 (PWelsNeighAvail pNeighAvail, uint8_t* pNonZeroCountCache, SBitStringAux* pBsAux, in ParseResidualBlockCabac8x8() argument 1439 …esidualBlockCabac (PWelsNeighAvail pNeighAvail, uint8_t* pNonZeroCountCache, SBitStringAux* pBsAux, in ParseResidualBlockCabac() argument 1506 SBitStringAux* pBsAux = pCtx->pCurDqLayer->pBitStringAux; in ParseIPCMInfoCabac() local 1524 RestoreCabacDecEngineToBS (pCabacDecEngine, pBsAux); in ParseIPCMInfoCabac() 1525 intX_t iBytesLeft = pBsAux->pEndBuf - pBsAux->pCurBuf; in ParseIPCMInfoCabac() 1529 pPtrSrc = pBsAux->pCurBuf; in ParseIPCMInfoCabac() 1548 pBsAux->pCurBuf += 384; in ParseIPCMInfoCabac() 1555 WELS_READ_VERIFY (InitReadBits (pBsAux, 1)); in ParseIPCMInfoCabac() 1556 WELS_READ_VERIFY (InitCabacDecEngineFromBS (pCabacDecEngine, pBsAux)); in ParseIPCMInfoCabac()
|
/third_party/openh264/codec/decoder/core/inc/ |
D | au_parser.h | 117 int32_t ParseSps (PWelsDecoderContext pCtx, PBitStringAux pBsAux, int32_t* pPicWidth, int32_t* pPic… 134 int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, uint8_t* pSrcNal, 151 int32_t ParseVui (PWelsDecoderContext pCtx, PSps pSps, PBitStringAux pBsAux); 167 PBitStringAux pBsAux); 183 int32_t ParseSei (void* pSei, PBitStringAux pBsAux); // reserved Sei_Msg type
|
D | dec_golomb.h | 239 static inline bool CheckMoreRBSPData (PBitStringAux pBsAux) { in CheckMoreRBSPData() argument 240 if ((pBsAux->iBits - ((pBsAux->pCurBuf - pBsAux->pStartBuf - 2) << 3) - pBsAux->iLeftBits) > 1) { in CheckMoreRBSPData()
|
D | cabac_decoder.h | 87 int32_t InitCabacDecEngineFromBS (PWelsCabacDecEngine pDecEngine, SBitStringAux* pBsAux); 88 void RestoreCabacDecEngineToBS (PWelsCabacDecEngine pDecEngine, SBitStringAux* pBsAux);
|
D | parse_mb_syn_cabac.h | 73 …esidualBlockCabac (PWelsNeighAvail pNeighAvail, uint8_t* pNonZeroCountCache, SBitStringAux* pBsAux, 76 …dualBlockCabac8x8 (PWelsNeighAvail pNeighAvail, uint8_t* pNonZeroCountCache, SBitStringAux* pBsAux,
|