Home
last modified time | relevance | path

Searched refs:pBsBuf (Results 1 – 20 of 20) sorted by relevance

/third_party/openh264/test/api/
Dencode_decode_api_test.template29 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM];
45pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) …
46 EXPECT_TRUE (pBsBuf[iIdx] != NULL);
87 const int kiFirstNalType = ((* (layerInfo.pBsBuf + 4)) & 0x1f);
99 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char));
105 … memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char));
111 … memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char));
123 fwrite (pBsBuf[iIdx], aLen[iIdx], 1, fEnc[iIdx]);
125 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_);
137 free (pBsBuf[iIdx]);
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()
959 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; in TEST_F() local
974pBsBuf[iIdx] = static_cast<unsigned char*> (malloc (iWidth * iHeight * 3 * sizeof (unsigned char) … in TEST_F()
975 ASSERT_TRUE (pBsBuf[iIdx] != NULL); in TEST_F()
1014 … memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F()
1020 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F()
1030 fwrite (pBsBuf[iIdx], aLen[iIdx], 1, fEnc[iIdx]); in TEST_F()
1032 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); in TEST_F()
1049 if (pBsBuf[iIdx]) { in TEST_F()
[all …]
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()
193 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf + iTotalSliceSize, in TEST_P()
260 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
279 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
299 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
319 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
349 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_F()
[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()
396 rv = decoder_->DecodeFrame2 (info.sLayerInfo[0].pBsBuf, len, pData, &dstBufInfo_); in TEST_P()
468 …SimulateNALLoss (info.sLayerInfo[0].pBsBuf, len, &m_SLostSim, p.pLossSequence, p.bLostPara, iLossI… in TEST_P()
[all …]
Dencode_decode_api_test.cpp115 rv = decoder_->DecodeFrameNoDelay (info.sLayerInfo[0].pBsBuf, iLen, pData, &dstBufInfo_); in EncDecOneFrame()
118 fwrite (info.sLayerInfo[0].pBsBuf, iLen, 1, pfEnc); in EncDecOneFrame()
123 …tAPIBase::TestOneSimulcastAVC (SEncParamExt* pParam, ISVCDecoder** decoder, unsigned char** pBsBuf, in TestOneSimulcastAVC() argument
172 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TestOneSimulcastAVC()
181 fwrite (pBsBuf[iIdx], aLen[iIdx], 1, fEnc[iIdx]); in TestOneSimulcastAVC()
184 iResult = decoder[iIdx]->DecodeFrame2 (pBsBuf[iIdx], aLen[iIdx], pData, &dstBufInfo_); in TestOneSimulcastAVC()
282 const unsigned char* pSrc = pBsInfo->sLayerInfo[0].pBsBuf; in ExtractDidNal()
288 unsigned char* pSrcPtr = pBsInfo->sLayerInfo[0].pBsBuf; in ExtractDidNal()
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.cpp13 SHA1Input (ctx, layerInfo.pBsBuf, layerSize); in UpdateHashFromFrame()
Ddecode_encode_test.cpp16 SHA1Input (ctx, layerInfo.pBsBuf, layerSize); in UpdateHashFromFrame()
Dencode_decode_api_test.h141 …bool TestOneSimulcastAVC (SEncParamExt* pParam, ISVCDecoder** decoder, unsigned char** pBsBuf, int…
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp977 if (pUCArry[w] != pLayerBsInfo->pBsBuf[w]) { in ProcessEncoding()
989 … fwrite (pLayerBsInfo->pBsBuf, 1, iLayerSize, pFpBs[0]); // write pure bit stream into file in ProcessEncoding()
992 unsigned char five_bits = pLayerBsInfo->pBsBuf[4] & 0x1f; in ProcessEncoding()
995 fwrite (pLayerBsInfo->pBsBuf, 1, iLayerSize, pFpBs[i]); in ProcessEncoding()
998 fwrite (pLayerBsInfo->pBsBuf, 1, iLayerSize, pFpBs[0]); in ProcessEncoding()
1001 fwrite (pLayerBsInfo->pBsBuf, 1, iLayerSize, pFpBs[pLayerBsInfo->uiSpatialId]); in ProcessEncoding()
/third_party/ffmpeg/libavcodec/
Dlibopenh264enc.c357 memcpy(avctx->extradata, fbi.sLayerInfo[0].pBsBuf, size); in svc_encode_init()
423 memcpy(avpkt->data + size, fbi.sLayerInfo[layer].pBsBuf, layer_size[layer]); in svc_encode_frame()
/third_party/openh264/codec/api/svc/
Dcodec_app_def.h635 unsigned char* pBsBuf; ///< buffer of bitstream contained member
/third_party/openh264/codec/decoder/core/src/
Dau_parser.cpp1188 uint8_t* pBsBuf = static_cast<uint8_t*> (pMa->WelsMallocz (SPS_PPS_BS_SIZE + 4, in ParseSps() local
1190 if (NULL == pBsBuf) { in ParseSps()
1195 InitBits (&sSubsetSpsBs, pBsBuf, (int32_t) (pBs->pEndBuf - pBs->pStartBuf)); in ParseSps()
1238 if (pBsBuf) { in ParseSps()
1239 pMa->WelsFree (pBsBuf, "pBsBuf for parse only usage"); in ParseSps()
/third_party/openh264/module/
Dgmp-openh264.cpp539 uint8_t* tmp = encoded->sLayerInfo[i].pBsBuf; in Encode_m()
562 memcpy (tmp, encoded->sLayerInfo[i].pBsBuf, lengths[i]); in Encode_m()
/third_party/openh264/codec/encoder/core/src/
Dencoder_ext.cpp3084 pLayerBsInfo->pBsBuf = pCtx->pFrameBs; in WelsEncoderEncodeParameterSets()
3147 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in WriteSsvcParaset()
3192 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in WriteSavcParaset()
3227 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in WriteSavcParaset()
3283 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in WriteSavcParaset_Listing()
3317 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in WriteSavcParaset_Listing()
3370 pFbi->sLayerInfo[0].pBsBuf = pCtx->pFrameBs; in ClearFrameBsInfo()
3514 pLayerBsInfo->pBsBuf = pCtx->pFrameBs ; in WelsEncoderEncodeExt()
3729 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in WelsEncoderEncodeExt()
3755 pLbi->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in WelsEncoderEncodeExt()
[all …]
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp554 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in TEST_F()
654 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in TEST_F()
DEncUT_EncoderExt.cpp796 iNalType = GET_NAL_TYPE (pLayerBsInfo->pBsBuf); in TEST_F()
799 iNalType = GET_NAL_TYPE (pLayerBsInfo->pBsBuf + pLayerBsInfo->pNalLengthInByte[j]); in TEST_F()
/third_party/gstreamer/gstplugins_bad/ext/openh264/
Dgstopenh264enc.cpp1036 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/plus/src/
DwelsEncoderExt.cpp465 WelsFwrite (pLayer->pBsBuf, 1, iCurLayerBits, m_pFileBs); in EncodeFrameInternal()
/third_party/gstreamer/gstplugins_bad/
DChangeLog5884 bitstream buffer (pBsBuf) and not from the offset where the current