Searched refs:eNalType (Results 1 – 11 of 11) sorted by relevance
/third_party/openh264/codec/api/svc/ |
D | codec_def.h | 115 #define IS_PARAMETER_SET_NAL(eNalRefIdc, eNalType) \ argument 116 ( (eNalRefIdc == NAL_PRIORITY_HIGHEST) && (eNalType == (NAL_SPS|NAL_PPS) || eNalType == NAL_SPS) ) 118 #define IS_IDR_NAL(eNalRefIdc, eNalType) \ argument 119 ( (eNalRefIdc == NAL_PRIORITY_HIGHEST) && (eNalType == NAL_SLICE_IDR) )
|
/third_party/openh264/test/api/ |
D | encode_decode_api_test.cpp | 268 bool ToRemainDidNal (const unsigned char* pSrc, EWelsNalUnitType eNalType, int iTarDid) { in ToRemainDidNal() argument 270 if (IS_NEW_INTRODUCED_SVC_NAL (eNalType)) { in ToRemainDidNal() 273 } else if ((IS_VCL_NAL_AVC_BASE (eNalType)) && iTarDid != 0) { in ToRemainDidNal() 298 tmpSLostSim.eNalType = (EWelsNalUnitType) ((* (pSrcPtr + iPrefix)) & 0x1f); // eNalUnitType in ExtractDidNal() 299 … bLost = (ToRemainDidNal ((pSrcPtr + iPrefix + 2), tmpSLostSim.eNalType, iTarDid)) ? false : true; in ExtractDidNal() 331 …tmpSLostSim.eNalType = (EWelsNalUnitType) ((* (pSrc + iBufPos + ilastprefixlen)) & 0x1f); // eNalU… in SimulateNALLoss() 333 bLost = (!bLossPara) && (IS_PARAM_SETS_NALS (tmpSLostSim.eNalType)) ? false : bLost; in SimulateNALLoss() 341 bVCLLoss = (IS_VCL_NAL (tmpSLostSim.eNalType, 1)) ? true : bVCLLoss; in SimulateNALLoss() 350 …tmpSLostSim.eNalType = (EWelsNalUnitType) ((* (pSrc + iBufPos + ilastprefixlen)) & 0x1f); // eNalU… in SimulateNALLoss() 352 bLost = (!bLossPara) && (IS_PARAM_SETS_NALS (tmpSLostSim.eNalType)) ? false : bLost; in SimulateNALLoss() [all …]
|
D | encode_decode_api_test.h | 45 WelsCommon::EWelsNalUnitType eNalType; member 157 bool ToRemainDidNal (const unsigned char* pSrc, EWelsNalUnitType eNalType, int iTarDid);
|
D | decode_api_test.cpp | 282 if (IS_VCL_NAL (iter->eNalType, 0) && iter->isLost == false) { in TEST_P()
|
/third_party/openh264/codec/encoder/core/src/ |
D | encoder.cpp | 292 pEncCtx->eNalType = NAL_UNIT_CODED_SLICE; in InitFrameCoding() 301 pEncCtx->eNalType = NAL_UNIT_CODED_SLICE_IDR; in InitFrameCoding() 319 pEncCtx->eNalType = NAL_UNIT_CODED_SLICE; in InitFrameCoding()
|
D | encoder_ext.cpp | 2571 pBaseSlice->bSliceHeaderExtFlag = (NAL_UNIT_CODED_SLICE_EXT == pCtx->eNalType); in WelsInitCurrentLayer() 2581 pNalHd->eNalUnitType = pCtx->eNalType; in WelsInitCurrentLayer() 2586 && ((pCtx->eNalType == NAL_UNIT_CODED_SLICE_IDR) in WelsInitCurrentLayer() 3353 pEncCtx->eNalType = NAL_UNIT_CODED_SLICE; in StackBackEncoderStatus() 3466 EWelsNalUnitType eNalType = NAL_UNIT_UNSPEC_0; in WelsEncoderEncodeExt() local 3609 eNalType = bAvcBased ? NAL_UNIT_CODED_SLICE : NAL_UNIT_CODED_SLICE_EXT; in WelsEncoderEncodeExt() 3611 eNalType = bAvcBased ? NAL_UNIT_CODED_SLICE_IDR : NAL_UNIT_CODED_SLICE_EXT; in WelsEncoderEncodeExt() 3623 pCtx->eNalType = eNalType; in WelsEncoderEncodeExt() 3668 … = AddPrefixNal (pCtx, pLayerBsInfo, &pLayerBsInfo->pNalLengthInByte[0], &iNalIdxInLayer, eNalType, in WelsEncoderEncodeExt() 3675 WelsLoadNal (pCtx->pOut, eNalType, eNalRefIdc); in WelsEncoderEncodeExt() [all …]
|
D | wels_task_encoder.cpp | 98 m_eNalType = m_pCtx->eNalType; in InitTask()
|
/third_party/openh264/codec/encoder/core/inc/ |
D | encoder_context.h | 158 EWelsNalUnitType eNalType; // NAL type member
|
/third_party/openh264/codec/decoder/plus/src/ |
D | welsDecoderExt.cpp | 806 EWelsNalUnitType eNalType = in DecodeFrame2WithCtx() local 809 eNalType = pDecContext->sCurNalHead.eNalUnitType; in DecodeFrame2WithCtx() 825 if ((IS_PARAM_SETS_NALS (eNalType) || NAL_UNIT_CODED_SLICE_IDR == eNalType) || in DecodeFrame2WithCtx()
|
/third_party/openh264/codec/decoder/core/src/ |
D | au_parser.cpp | 578 EWelsNalUnitType eNalType = NAL_UNIT_UNSPEC_0; // make initial value as unspecified in ParseNonVclNal() local 588 eNalType = pCtx->sCurNalHead.eNalUnitType; in ParseNonVclNal() 590 switch (eNalType) { in ParseNonVclNal()
|
D | decoder_core.cpp | 885 EWelsNalUnitType eNalType = static_cast<EWelsNalUnitType> (0); in ParseSliceHeaderSyntaxs() local 902 eNalType = pNalHeaderExt->sNalUnitHeader.eNalUnitType; in ParseSliceHeaderSyntaxs() 933 if ((NAL_UNIT_CODED_SLICE_IDR == eNalType) && (I_SLICE != uiSliceType)) { in ParseSliceHeaderSyntaxs() 1025 …bIdrFlag = (!kbExtensionFlag && eNalType == NAL_UNIT_CODED_SLICE_IDR) || (kbExtensionFlag && pNalH… in ParseSliceHeaderSyntaxs()
|