Home
last modified time | relevance | path

Searched refs:pSrcPic (Results 1 – 10 of 10) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dencoder.cpp73 SSourcePicture* pSrcPic = (SSourcePicture*)kpSrc; in InitPic() local
75 if (NULL == pSrcPic || kiWidth == 0 || kiHeight == 0) in InitPic()
78 pSrcPic->iColorFormat = kiColorspace; in InitPic()
79 pSrcPic->iPicWidth = kiWidth; in InitPic()
80 pSrcPic->iPicHeight = kiHeight; in InitPic()
88 pSrcPic->pData[0] = NULL; in InitPic()
89 pSrcPic->pData[1] = NULL; in InitPic()
90 pSrcPic->pData[2] = NULL; in InitPic()
91 pSrcPic->pData[3] = NULL; in InitPic()
92 pSrcPic->iStride[0] = kiWidth; in InitPic()
[all …]
Dwels_preprocess.cpp351 SPicture* pSrcPic = NULL; // large in SingleLayerPreprocess() local
380pSrcPic = pScaledPicture->pScaledInputPicture ? pScaledPicture->pScaledInputPicture : GetCurrentOr… in SingleLayerPreprocess()
383 WelsMoveMemoryWrapper (pSvcParam, pSrcPic, kpSrc, iSrcWidth, iSrcHeight); in SingleLayerPreprocess()
386 BilateralDenoising (pSrcPic, iSrcWidth, iSrcHeight); in SingleLayerPreprocess()
391 pDstPic = pSrcPic; in SingleLayerPreprocess()
398 …DownsamplePadding (pSrcPic, pDstPic, iSrcWidth, iSrcHeight, iShrinkWidth, iShrinkHeight, iTargetWi… in SingleLayerPreprocess()
447 SPicture* pSrcPic = m_pLastSpatialPicture[iClosestDid][1]; // large in SingleLayerPreprocess() local
459 …DownsamplePadding (pSrcPic, pDstPic, iSrcWidth, iSrcHeight, iShrinkWidth, iShrinkHeight, iTargetWi… in SingleLayerPreprocess()
Dencoder_ext.cpp3441 int32_t WelsEncoderEncodeExt (sWelsEncCtx* pCtx, SFrameBSInfo* pFbi, const SSourcePicture* pSrcPic)… in WelsEncoderEncodeExt() argument
3483 pFbi->uiTimeStamp = GetTimestampForRc (pSrcPic->uiTimeStamp, pCtx->uiLastTimestamp, in WelsEncoderEncodeExt()
3490 iSpatialNum = pCtx->pVpp->BuildSpatialPicList (pCtx, pSrcPic); in WelsEncoderEncodeExt()
3509 pSrcPic->uiTimeStamp); in WelsEncoderEncodeExt()
/third_party/openh264/test/encoder/
DEncUT_EncoderExt.cpp39 pSrcPic = new SSourcePicture; in SetUp()
40 ASSERT_TRUE (pSrcPic != NULL); in SetUp()
56 delete pSrcPic; in TearDown()
76 SSourcePicture* pSrcPic; member in EncoderInterfaceTest
87 pSrcPic->iColorFormat = videoFormatI420; in PrepareOneSrcFrame()
88 pSrcPic->uiTimeStamp = 0; in PrepareOneSrcFrame()
89 pSrcPic->iPicWidth = pParamExt->iPicWidth; in PrepareOneSrcFrame()
90 pSrcPic->iPicHeight = pParamExt->iPicHeight; in PrepareOneSrcFrame()
91 pSrcPic->iPicWidth = VALID_SIZE (pParamExt->iPicWidth); in PrepareOneSrcFrame()
92 pSrcPic->iPicHeight = VALID_SIZE (pParamExt->iPicHeight); in PrepareOneSrcFrame()
[all …]
/third_party/openh264/codec/decoder/core/src/
Derror_concealment.cpp93 PPicture pSrcPic = pCtx->pLastDecPicInfo->pPreviousDecodedPictureInDpb; in DoErrorConFrameCopy() local
99 pSrcPic = NULL; //no cross IDR method, should fill in data instead of copy in DoErrorConFrameCopy()
100 if (pSrcPic == NULL) { //no ref pic, assign specific data to picture in DoErrorConFrameCopy()
104 } else if (pSrcPic == pDstPic) { in DoErrorConFrameCopy()
107 memcpy (pDstPic->pData[0], pSrcPic->pData[0], uiHeightInPixelY * iStrideY); in DoErrorConFrameCopy()
108 memcpy (pDstPic->pData[1], pSrcPic->pData[1], (uiHeightInPixelY >> 1) * iStrideUV); in DoErrorConFrameCopy()
109 memcpy (pDstPic->pData[2], pSrcPic->pData[2], (uiHeightInPixelY >> 1) * iStrideUV); in DoErrorConFrameCopy()
119 PPicture pSrcPic = pCtx->pLastDecPicInfo->pPreviousDecodedPictureInDpb; in DoErrorConSliceCopy() local
121 pSrcPic = NULL; //no cross IDR method, should fill in data instead of copy in DoErrorConSliceCopy()
130 if (pSrcPic == pDstPic) { in DoErrorConSliceCopy()
[all …]
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp221 int ParseConfig (CReadConfig& cRdCfg, SSourcePicture* pSrcPic, SEncParamExt& pSvcParam, SFilesSet& … in ParseConfig() argument
237 pSrcPic->iPicWidth = atoi (strTag[1].c_str()); in ParseConfig()
239 pSrcPic->iPicHeight = atoi (strTag[1].c_str()); in ParseConfig()
447 int ParseCommandLine (int argc, char** argv, SSourcePicture* pSrcPic, SEncParamExt& pSvcParam, SFil… in ParseCommandLine() argument
468 pSrcPic->iPicWidth = atoi (argv[n++]); in ParseCommandLine()
471 pSrcPic->iPicHeight = atoi (argv[n++]); in ParseCommandLine()
761 SSourcePicture* pSrcPic = NULL; in ProcessEncoding() local
783 pSrcPic = new SSourcePicture; in ProcessEncoding()
784 if (pSrcPic == NULL) { in ProcessEncoding()
789 pSrcPic->iColorFormat = videoFormatI420; in ProcessEncoding()
[all …]
/third_party/openh264/codec/encoder/plus/src/
DwelsEncoderExt.cpp404 int CWelsH264SVCEncoder ::EncodeFrameInternal (const SSourcePicture* pSrcPic, SFrameBSInfo* pBsInf… in EncodeFrameInternal() argument
406 if ((pSrcPic->iPicWidth < 16) || ((pSrcPic->iPicHeight < 16))) { in EncodeFrameInternal()
408 pSrcPic->iPicWidth, pSrcPic->iPicHeight); in EncodeFrameInternal()
413 const int32_t kiEncoderReturn = WelsEncoderEncodeExt (m_pEncContext, pBsInfo, pSrcPic); in EncodeFrameInternal()
473 DumpSrcPicture (pSrcPic, m_pEncContext->pSvcParam->iUsageType); in EncodeFrameInternal()
1310 void CWelsH264SVCEncoder::DumpSrcPicture (const SSourcePicture* pSrcPic, const int iUsageType) { in DumpSrcPicture() argument
1319 switch (pSrcPic->iColorFormat) { in DumpSrcPicture()
1325 fwrite (pSrcPic->pData[0], sizeof (uint8_t), pSrcPic->iStride[0]*m_iMaxPicHeight, pFile); in DumpSrcPicture()
1326 … fwrite (pSrcPic->pData[1], sizeof (uint8_t), pSrcPic->iStride[1] * (m_iMaxPicHeight >> 1), pFile); in DumpSrcPicture()
1327 … fwrite (pSrcPic->pData[2], sizeof (uint8_t), pSrcPic->iStride[2] * (m_iMaxPicHeight >> 1), pFile); in DumpSrcPicture()
[all …]
/third_party/openh264/test/decoder/
DDecUT_ErrorConcealment.cpp128 PPicture pSrcPic = pECCtx->pCtx->pLastDecPicInfo->pPreviousDecodedPictureInDpb; in DoAncErrorConSliceCopy() local
131 pSrcPic = NULL; in DoAncErrorConSliceCopy()
145 if (pSrcPic != NULL) { in DoAncErrorConSliceCopy()
148 pSrcData = pSrcPic->pData[0] + iMbY * 16 * iSrcStride + iMbX * 16; in DoAncErrorConSliceCopy()
156 pSrcData = pSrcPic->pData[1] + iMbY * 8 * iSrcStride / 2 + iMbX * 8; in DoAncErrorConSliceCopy()
164 pSrcData = pSrcPic->pData[2] + iMbY * 8 * iSrcStride / 2 + iMbX * 8; in DoAncErrorConSliceCopy()
/third_party/openh264/codec/encoder/core/inc/
Dencoder.h96 extern "C" void DumpDependencyRec (SPicture* pSrcPic, const char* kpFileName, const int8_t kiDid, b…
102 void DumpRecFrame (SPicture* pSrcPic, const char* kpFileName, const int8_t kiDid, bool bAppend, SDq…
/third_party/openh264/codec/encoder/plus/inc/
DwelsEncoderExt.h126 void DumpSrcPicture (const SSourcePicture* pSrcPic, const int iUsageType);