/third_party/openh264/test/api/ |
D | encode_decode_api_test.template | 29 unsigned char* pBsBuf[MAX_SPATIAL_LAYER_NUM]; 45 …pBsBuf[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]);
|
D | encode_options_test.cpp | 336 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 974 …pBsBuf[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 …]
|
D | decoder_ec_test.cpp | 66 …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 …]
|
D | decode_api_test.cpp | 42 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 …]
|
D | encode_decode_api_test.cpp | 115 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()
|
D | ltr_test.cpp | 147 …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()
|
D | encoder_test.cpp | 13 SHA1Input (ctx, layerInfo.pBsBuf, layerSize); in UpdateHashFromFrame()
|
D | decode_encode_test.cpp | 16 SHA1Input (ctx, layerInfo.pBsBuf, layerSize); in UpdateHashFromFrame()
|
D | encode_decode_api_test.h | 141 …bool TestOneSimulcastAVC (SEncParamExt* pParam, ISVCDecoder** decoder, unsigned char** pBsBuf, int…
|
/third_party/openh264/codec/console/enc/src/ |
D | welsenc.cpp | 977 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/ |
D | libopenh264enc.c | 357 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/ |
D | codec_app_def.h | 635 unsigned char* pBsBuf; ///< buffer of bitstream contained member
|
/third_party/openh264/codec/decoder/core/src/ |
D | au_parser.cpp | 1188 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/ |
D | gmp-openh264.cpp | 539 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/ |
D | encoder_ext.cpp | 3084 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/ |
D | EncUT_SliceBufferReallocate.cpp | 554 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in TEST_F() 654 pLayerBsInfo->pBsBuf = pCtx->pFrameBs + pCtx->iPosBsBuffer; in TEST_F()
|
D | EncUT_EncoderExt.cpp | 796 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/ |
D | gstopenh264enc.cpp | 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/plus/src/ |
D | welsEncoderExt.cpp | 465 WelsFwrite (pLayer->pBsBuf, 1, iCurLayerBits, m_pFileBs); in EncodeFrameInternal()
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 5884 bitstream buffer (pBsBuf) and not from the offset where the current
|