Home
last modified time | relevance | path

Searched refs:sLayerInfo (Results 1 – 25 of 40) sorted by relevance

12

/third_party/openh264/test/api/
Ddecoder_ec_test.cpp66 …iSkipedBytes = SimulateNALLoss (info.sLayerInfo[0].pBsBuf, len, &m_SLostSim, p.pLossSequence, p.bL… in TEST_P()
68 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
122 …iSkipedBytes = SimulateNALLoss (info.sLayerInfo[0].pBsBuf, len, &m_SLostSim, p.pLossSequence, p.bL… in TEST_P()
126 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
184 while (iPacketNum < info.sLayerInfo[0].iNalCount) { in TEST_P()
193 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf + iTotalSliceSize, in TEST_P()
194 … info.sLayerInfo[0].pNalLengthInByte[iPacketNum], pData, &dstBufInfo_); in TEST_P()
262 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
281 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
301 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
[all …]
Dencode_decode_api_test.cpp62 const SLayerBSInfo& layerInfo = info.sLayerInfo[i]; in encToDecData()
73 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayerNum]; in encToDecSliceData()
116 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in EncDecOneFrame()
119 fwrite (info.sLayerInfo[0].pBsBuf, iLen, 1, pfEnc); in EncDecOneFrame()
166 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TestOneSimulcastAVC()
283 const unsigned char* pSrc = pBsInfo->sLayerInfo[0].pBsBuf; in ExtractDidNal()
289 unsigned char* pSrcPtr = pBsInfo->sLayerInfo[0].pBsBuf; in ExtractDidNal()
291 for (int k = 0; k < pBsInfo->sLayerInfo[j].iNalCount; k++) { in ExtractDidNal()
304 memcpy (pDst + iDstLen, pSrcPtr, pBsInfo->sLayerInfo[j].pNalLengthInByte[k]); in ExtractDidNal()
305 iDstLen += (pBsInfo->sLayerInfo[j].pNalLengthInByte[k]); in ExtractDidNal()
[all …]
Ddecode_api_test.cpp42 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
78 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
129 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
176 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
213 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
268 …SimulateNALLoss (info.sLayerInfo[0].pBsBuf, len, &m_SLostSim, p.pLossSequence, p.bLostPara, iLossI… in TEST_P()
269 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
340 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
348 ASSERT_EQ (iTid, info.sLayerInfo[0].uiTemporalId); in TEST_P()
396 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
[all …]
Dltr_test.cpp147 …SimulateNALLoss (info.sLayerInfo[0].pBsBuf, len, &m_SLostSim, p.pLossSequence, p.bLostPara, iLossI… in TEST_P()
148 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
Dencoder_test.cpp8 const SLayerBSInfo& layerInfo = info.sLayerInfo[i]; in UpdateHashFromFrame()
Ddecode_encode_test.cpp11 const SLayerBSInfo& layerInfo = info.sLayerInfo[i]; in UpdateHashFromFrame()
Dencode_options_test.cpp336 iResult = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
381 iResult = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
1006 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F()
1131 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F()
1403 fwrite (info.sLayerInfo[0].pBsBuf, iLen, 1, pFile); in TEST_P()
1408 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in TEST_P()
1414 SLayerBSInfo* pLayerBsInfo = &info.sLayerInfo[iLayer]; in TEST_P()
1523 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F()
1858 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F()
2116 SLayerBSInfo* pLayerBsInfo = &info.sLayerInfo[iLayer]; in TEST_F()
Dencode_decode_api_test.template86 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer];
/third_party/openh264/test/decoder/
DDecUT_DeblockCommon.cpp577 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iFirstMbInSlice = 0; in TEST()
578 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice = 0; in TEST()
581 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.uiDisableDeblockingFilterIdc = 0; in TEST()
582 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iSliceAlphaC0Offset = 0; in TEST()
583 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iSliceBetaOffset = 0; in TEST()
585 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps = &sSPS; in TEST()
586 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps->uiTotalMbCount = 0; in TEST()
588 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pPps = &sPPS; in TEST()
590 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pPps->uiNumSliceGroups = 1; in TEST()
595 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice = 1 + rand() % 256; // at least one MB in TEST()
[all …]
DDecUT_ErrorConcealment.cpp130 && (pECCtx->pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt.bIdrFlag)) in DoAncErrorConSliceCopy()
250 pECCtx->pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt.bIdrFlag = (iIDR > 0); in TEST()
255 && (pECCtx->pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt.bIdrFlag))) in TEST()
285 pECCtx->pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt.bIdrFlag = (iIDR > 0); in TEST()
/third_party/ffmpeg/libavcodec/
Dlibopenh264enc.c351 for (i = 0; i < fbi.sLayerInfo[0].iNalCount; i++) in svc_encode_init()
352 size += fbi.sLayerInfo[0].pNalLengthInByte[i]; in svc_encode_init()
357 memcpy(avctx->extradata, fbi.sLayerInfo[0].pBsBuf, size); in svc_encode_init()
411 for (i = 0; i < fbi.sLayerInfo[layer].iNalCount; i++) in svc_encode_frame()
412 layer_size[layer] += fbi.sLayerInfo[layer].pNalLengthInByte[i]; in svc_encode_frame()
415 av_log(avctx, AV_LOG_DEBUG, "%d slices\n", fbi.sLayerInfo[fbi.iLayerNum - 1].iNalCount); in svc_encode_frame()
423 memcpy(avpkt->data + size, fbi.sLayerInfo[layer].pBsBuf, layer_size[layer]); in svc_encode_frame()
/third_party/openh264/codec/encoder/core/src/
Dsvc_encode_slice.cpp71 SNalUnitHeaderExt* pNalHeadExt = &pCurLayer->sLayerInfo.sNalHeaderExt; in WelsSliceHeaderScalExtInit()
104 pCurSliceHeader->uiRefCount <= pCurLayer->sLayerInfo.pSpsP->iNumRefFrames) { in WelsSliceHeaderExtInit()
114 pCurSliceHeader->iSliceQpDelta = pEncCtx->iGlobalQp - pCurLayer->sLayerInfo.pPpsP->iPicInitQp; in WelsSliceHeaderExtInit()
277 SWelsSPS* pSps = pCurLayer->sLayerInfo.pSpsP; in WelsSliceHeaderWrite()
278 SWelsPPS* pPps = pCurLayer->sLayerInfo.pPpsP; in WelsSliceHeaderWrite()
280 SNalUnitHeaderExt* pNalHead = &pCurLayer->sLayerInfo.sNalHeaderExt; in WelsSliceHeaderWrite()
343 SWelsSPS* pSps = pCurLayer->sLayerInfo.pSpsP; in WelsSliceHeaderExtWrite()
344 SWelsPPS* pPps = pCurLayer->sLayerInfo.pPpsP; in WelsSliceHeaderExtWrite()
345 SSubsetSps* pSubSps = pCurLayer->sLayerInfo.pSubsetSpsP; in WelsSliceHeaderExtWrite()
348 SNalUnitHeaderExt* pNalHead = &pCurLayer->sLayerInfo.sNalHeaderExt; in WelsSliceHeaderExtWrite()
[all …]
Dencoder.cpp418 pSpsTmp = pDqLayer->sLayerInfo.pSpsP; in DumpDependencyRec()
420 pSpsTmp = & (pDqLayer->sLayerInfo.pSubsetSpsP->pSps); in DumpDependencyRec()
485 SWelsSPS* pSpsTmp = (kiDid > BASE_DEPENDENCY_ID) ? & (pDqLayer->sLayerInfo.pSubsetSpsP->pSps) : in DumpRecFrame()
486 pDqLayer->sLayerInfo.pSpsP; in DumpRecFrame()
Dencoder_ext.cpp2537 SNalUnitHeaderExt* pNalHdExt = &pCurDq->sLayerInfo.sNalHeaderExt; in WelsInitCurrentLayer()
2557 pCurDq->sLayerInfo.pPpsP = in WelsInitCurrentLayer()
2562 pCurDq->sLayerInfo.pSubsetSpsP = &pCtx->pSubsetArray[iCurSpsId]; in WelsInitCurrentLayer()
2563 pCurDq->sLayerInfo.pSpsP = in WelsInitCurrentLayer()
2564 pBaseSlice->sSliceHeaderExt.sSliceHeader.pSps = &pCurDq->sLayerInfo.pSubsetSpsP->pSps; in WelsInitCurrentLayer()
2566 pCurDq->sLayerInfo.pSubsetSpsP = NULL; in WelsInitCurrentLayer()
2567 pCurDq->sLayerInfo.pSpsP = in WelsInitCurrentLayer()
2965 &pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt, in AddPrefixNal()
2981 &pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt, in AddPrefixNal()
3080 SLayerBSInfo* pLayerBsInfo = &pFbi->sLayerInfo[0]; in WelsEncoderEncodeParameterSets()
[all …]
Dsvc_set_mb_syn_cavlc.cpp263 …const uint8_t kuiChromaQpIndexOffset = pEncCtx->pCurDqLayer->sLayerInfo.pPpsP->uiChromaQpIndexOffs… in WelsSpatialWriteMbSyn()
301 … pEncCtx->pCurDqLayer->sLayerInfo.pPpsP->uiChromaQpIndexOffset)]; in WelsSpatialWriteMbSyn()
/third_party/openh264/codec/decoder/core/inc/
Ddec_frame.h62 SLayerInfo sLayerInfo; member
135 SLayerInfo sLayerInfo; member
/third_party/openh264/module/
Dgmp-openh264.cpp539 uint8_t* tmp = encoded->sLayerInfo[i].pBsBuf; in Encode_m()
540 for (int j = 0; j < encoded->sLayerInfo[i].iNalCount; ++j) { in Encode_m()
541 lengths[i] += encoded->sLayerInfo[i].pNalLengthInByte[j]; in Encode_m()
545 …* (reinterpret_cast<uint32_t*> (tmp)) = encoded->sLayerInfo[i].pNalLengthInByte[j] - sizeof (uint3… in Encode_m()
546 length += encoded->sLayerInfo[i].pNalLengthInByte[j]; in Encode_m()
547 tmp += encoded->sLayerInfo[i].pNalLengthInByte[j]; in Encode_m()
562 memcpy (tmp, encoded->sLayerInfo[i].pBsBuf, lengths[i]); in Encode_m()
/third_party/openh264/codec/decoder/core/src/
Ddecode_slice.cpp83 PSlice pCurSlice = &pCurDqLayer->sLayerInfo.sSliceInLayer; in WelsTargetSliceConstruction()
111 pCurDqLayer->pDec->uiQualityId = pCurDqLayer->sLayerInfo.sNalHeaderExt.uiQualityId; in WelsTargetSliceConstruction()
167 || pCtx->pCurDqLayer->sLayerInfo.sSliceInLayer.iTotalMbInCurSlice <= 0) { in WelsTargetSliceConstruction()
461 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra4x4Mode()
471 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra4x4Mode()
504 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra4x4Mode()
544 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra8x8Mode()
554 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra8x8Mode()
588 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra8x8Mode()
625 if (pCurDqLayer->sLayerInfo.pPps->bEntropyCodingModeFlag) { in ParseIntra16x16Mode()
[all …]
Dmanage_dec_ref.cpp212 …PSliceHeader pSliceHeader = &pCtx->pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHea… in WrapShortRefPicNum()
390 PNalUnitHeaderExt pNalHeaderExt = &pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt; in WelsReorderRefList()
391 …PSliceHeader pSliceHeader = &pCtx->pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHea… in WelsReorderRefList()
486 …PSliceHeader pSliceHeader = &pCtx->pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHea… in WelsReorderRefList2()
595 pDec->uiQualityId = pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt.uiQualityId; in WelsMarkAsRef()
596 pDec->uiTemporalId = pCtx->pCurDqLayer->sLayerInfo.sNalHeaderExt.uiTemporalId; in WelsMarkAsRef()
660 PSps pSps = pCtx->pCurDqLayer->sLayerInfo.pSps; in MMCO()
Ddecoder_core.cpp58 …memcpy (& (pCtx->sFrameCrop), & (pCurDq->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSp… in DecodeFrameConstruction()
200 } else if (pCurDq->sLayerInfo.sNalHeaderExt.bIdrFlag in DecodeFrameConstruction()
399 PSlice pSlice = &pCtx->pCurDqLayer->sLayerInfo.sSliceInLayer; in CreateImplicitWeightTable()
2376 memcpy (&pDqLayer->sLayerInfo, pLayerInfo, sizeof (SLayerInfo)); //confirmed_safe_unsafe_usage in InitDqLayerInfo()
2668 if (!dq_cur->sLayerInfo.pSps->bGapsInFrameNumValueAllowedFlag) { in DecodeCurrentAccessUnit()
2669 const bool kbIdrFlag = dq_cur->sLayerInfo.sNalHeaderExt.bIdrFlag in DecodeCurrentAccessUnit()
2670 … || (dq_cur->sLayerInfo.sNalHeaderExt.sNalUnitHeader.eNalUnitType == NAL_UNIT_CODED_SLICE_IDR); in DecodeCurrentAccessUnit()
2679 … pSh->iFrameNum != ((iPrevFrameNum + 1) & ((1 << dq_cur->sLayerInfo.pSps->uiLog2MaxFrameNum) - in DecodeCurrentAccessUnit()
2762 dq_cur->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iFrameNum, iCurrIdD); in DecodeCurrentAccessUnit()
2791 …pSh->iPicOrderCntLsb, pSh->iFrameNum, iCurrIdD, iCurrIdQ, dq_cur->sLayerInfo.sNalHeaderExt.uiTempo… in DecodeCurrentAccessUnit()
[all …]
Ddeblocking.cpp1142 PSlice pSlice = &pCurDqLayer->sLayerInfo.sSliceInLayer; in WelsDeblockingMb()
1217 PSliceHeaderExt pSliceHeaderExt = &pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt; in WelsDeblockingFilterSlice()
1225 int32_t iTotalNumMb = pCurDqLayer->sLayerInfo.sSliceInLayer.iTotalMbInCurSlice; in WelsDeblockingFilterSlice()
1228 …int32_t iFilterIdc = pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.uiDisableD… in WelsDeblockingFilterSlice()
1238 pFilter.eSliceType = (EWelsSliceType) pCurDqLayer->sLayerInfo.sSliceInLayer.eSliceType; in WelsDeblockingFilterSlice()
1290 PSliceHeaderExt pSliceHeaderExt = &pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt; in WelsDeblockingInitFilter()
1294 …iFilterIdc = pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.uiDisableDeblockin… in WelsDeblockingInitFilter()
1304 pFilter.eSliceType = (EWelsSliceType)pCurDqLayer->sLayerInfo.sSliceInLayer.eSliceType; in WelsDeblockingInitFilter()
Drec_mb.cpp481 …pMCRefMem.iPicWidth = (pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iMbWidth… in GetInterPred()
482 …pMCRefMem.iPicHeight = (pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iMbHeig… in GetInterPred()
686 …pMCRefMem.iPicWidth = (pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iMbWidth… in GetInterBPred()
687 …pMCRefMem.iPicHeight = (pCurDqLayer->sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iMbHeig… in GetInterBPred()
706 bool bWeightedBipredIdcIs1 = pCurDqLayer->sLayerInfo.pPps->uiWeightedBipredIdc == 1; in GetInterBPred()
/third_party/openh264/test/encoder/
DEncUT_EncoderExt.cpp687 if (sFbi.sLayerInfo[i].uiSpatialId == iLayerNum) { in TEST_F()
688 EXPECT_EQ (sFbi.sLayerInfo[i].eFrameType, static_cast<int> (videoFrameTypeIDR)); in TEST_F()
793 pLayerBsInfo = & (sFbi.sLayerInfo[i]); in TEST_F()
935 for (int j = 0; j < sFbi.sLayerInfo[i].iNalCount; ++j) { in TEST_F()
936 length += sFbi.sLayerInfo[i].pNalLengthInByte[j]; in TEST_F()
1170 for (int j = 0; j < sFbi.sLayerInfo[i].iNalCount; ++j) { in TEST_F()
1171 int length = sFbi.sLayerInfo[i].pNalLengthInByte[j]; in TEST_F()
1204 for (int j = 0; j < sFbi.sLayerInfo[i].iNalCount; ++j) { in TEST_F()
1205 int length = sFbi.sLayerInfo[i].pNalLengthInByte[j]; in TEST_F()
/third_party/gstreamer/gstplugins_bad/ext/openh264/
Dgstopenh264enc.cpp1021 for (j = 0; j < frame_info.sLayerInfo[i].iNalCount; j++) { in gst_openh264enc_handle_frame()
1022 buf_length += frame_info.sLayerInfo[i].pNalLengthInByte[j]; in gst_openh264enc_handle_frame()
1033 for (j = 0; j < frame_info.sLayerInfo[i].iNalCount; j++) { in gst_openh264enc_handle_frame()
1034 layer_size += frame_info.sLayerInfo[i].pNalLengthInByte[j]; in gst_openh264enc_handle_frame()
1036 gst_buffer_fill (frame->output_buffer, buf_length, frame_info.sLayerInfo[i].pBsBuf, layer_size); in gst_openh264enc_handle_frame()
/third_party/openh264/codec/encoder/core/inc/
Dsvc_enc_frame.h85 SLayerInfo sLayerInfo; member

12