Lines Matching refs:pSrcPic
221 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()
790 pSrcPic->uiTimeStamp = 0; in ProcessEncoding()
802 iRet = ParseConfig (cRdCfg, pSrcPic, sSvcParam, fs); in ProcessEncoding()
809 if (ParseCommandLine (argc - iParsedNum, argv + iParsedNum, pSrcPic, sSvcParam, fs) != 0) { in ProcessEncoding()
816 iSourceWidth = pSrcPic->iPicWidth; in ProcessEncoding()
817 iSourceHeight = pSrcPic->iPicHeight; in ProcessEncoding()
827 pSrcPic->iStride[0] = iSourceWidth; in ProcessEncoding()
828 pSrcPic->iStride[1] = pSrcPic->iStride[2] = pSrcPic->iStride[0] >> 1; in ProcessEncoding()
830 pSrcPic->pData[0] = pYUV; in ProcessEncoding()
831 pSrcPic->pData[1] = pSrcPic->pData[0] + (iSourceWidth * iSourceHeight); in ProcessEncoding()
832 pSrcPic->pData[2] = pSrcPic->pData[1] + (iSourceWidth * iSourceHeight >> 2); in ProcessEncoding()
949 pSrcPic->uiTimeStamp = WELS_ROUND (iFrameIdx * (1000 / sSvcParam.fMaxFrameRate)); in ProcessEncoding()
950 int iEncFrames = pPtrEnc->EncodeFrame (pSrcPic, &sFbi); in ProcessEncoding()
1059 if (pSrcPic) { in ProcessEncoding()
1060 delete pSrcPic; in ProcessEncoding()
1061 pSrcPic = NULL; in ProcessEncoding()