Home
last modified time | relevance | path

Searched refs:iRet (Results 1 – 25 of 27) sorted by relevance

12

/third_party/openh264/test/decoder/
DDecUT_DecExt.cpp230 int32_t iRet = ERR_NONE; in TestInitUninit() local
238 iRet = Init(); in TestInitUninit()
239 ASSERT_EQ (iRet, ERR_NONE); in TestInitUninit()
262 int iRet; in TestParseOnlyAPI() local
285 iRet = m_pDec->Initialize (&m_sDecParam); in TestParseOnlyAPI()
286 ASSERT_EQ (iRet, (int32_t) cmResultSuccess); in TestParseOnlyAPI()
287 iRet = m_pDec->GetOption (DECODER_OPTION_ERROR_CON_IDC, &iOutput); in TestParseOnlyAPI()
288 EXPECT_EQ (iRet, (int32_t) cmResultSuccess); in TestParseOnlyAPI()
291 iRet = (int32_t) m_pDec->DecodeParser (m_szBuffer, m_iBufLength, &m_sParserBsInfo); in TestParseOnlyAPI()
292 EXPECT_EQ (iRet, (int32_t) dsNoParamSets); in TestParseOnlyAPI()
[all …]
DDecUT_ParseSyntax.cpp100 int32_t iRet = DecoderConfigParam (pCtx, pParam); in InitDecoder() local
101 WELS_VERIFY_RETURN_IFNEQ (iRet, cmResultSuccess); in InitDecoder()
109 int iRet = ERR_NONE; in Initialize() local
115 iRet = InitDecoder (pParam, pCtx, pLogCtx); in Initialize()
116 if (iRet) in Initialize()
117 return iRet; in Initialize()
238 int iRet = 0; in DecodeBs() local
279 iRet |= DecodeFrame (pBuf + iBufPos, iSliceSize, m_pData, &m_sBufferInfo, m_pCtx); in DecodeBs()
283 EXPECT_TRUE (iRet == dsErrorFree); in DecodeBs()
285 …EXPECT_TRUE ((iRet & (dsBitstreamError | dsRefLost | dsDataErrorConcealed)) != 0) << "iRet = " << in DecodeBs()
[all …]
/third_party/openh264/test/encoder/
DEncUT_SliceBufferReallocate.cpp59 int32_t iRet = InitSliceInLayer (pCtx, pDqLayer, iLayerIdx, pCtx->pMemAlign); in AllocateLayerBuffer() local
60 if (ENC_RETURN_SUCCESS != iRet) { in AllocateLayerBuffer()
110 int32_t iRet = AllocateLayerBuffer (pCtx, iLayerIdx); in InitParamForSizeLimitSlcMode() local
111 WELS_VERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, (ENC_RETURN_SUCCESS != iRet)) in InitParamForSizeLimitSlcMode()
194 int32_t iRet = m_pEncoder->Uninitialize(); in UnInitParamForTestCase() local
195 ASSERT_TRUE (cmResultSuccess == iRet); in UnInitParamForTestCase()
269 …int32_t iRet = AcquireLayersNals (&pCtx, pCtx->pSvcParam, &pCtx->pSvcParam->iSpatialLayerNum, &iCo… in InitFrameBsBuffer() local
270 WELS_VERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, (0 != iRet)) in InitFrameBsBuffer()
440 int32_t iRet = 0; in TEST_F() local
442 iRet = InitParamForSizeLimitSlcModeCase (iLayerIdx); in TEST_F()
[all …]
DEncUT_ParameterSetStrategy.cpp62 int iRet = 0; in TEST_F() local
75iRet = WelsInitSps (m_pSpsArrayPointer, pDlayerParam, &sParam1.sDependencyLayers[iDlayerIndex], sP… in TEST_F()
95iRet = WelsInitSps (m_pSpsArrayPointer, pDlayerParam, &sParam2.sDependencyLayers[iDlayerIndex], sP… in TEST_F()
121 (void) iRet; // Not using iRet at the moment in TEST_F()
125 int32_t iRet = 0; in TEST_F() local
174 iRet = sSvcCodingParam.ParamTranscode(sParamExt); in TEST_F()
175 EXPECT_EQ (iRet, 0); in TEST_F()
192 iRet = WelsInitSps ( in TEST_F()
204 EXPECT_EQ (iRet, 0); in TEST_F()
217 (void) iRet; // Not using iRet at the moment in TEST_F()
DEncUT_SliceBufferReallocate.h17 int32_t iRet = WelsCreateSVCEncoder (&m_pEncoder); in SetUp() local
18 ASSERT_EQ (0, iRet); in SetUp()
31 iRet = m_pEncoder->GetDefaultParams (m_EncContext.pSvcParam); in SetUp()
32 ASSERT_EQ (0, iRet); in SetUp()
/third_party/openh264/test/common/
DWelsThreadPoolTest.cpp49 int iRet = CWelsThreadPool::SetThreadNum (8); in TEST() local
50 EXPECT_EQ (0, iRet); in TEST()
60 iRet = CWelsThreadPool::SetThreadNum (4); in TEST()
61 EXPECT_TRUE (0 != iRet); in TEST()
66 iRet = CWelsThreadPool::SetThreadNum (4); in TEST()
67 EXPECT_EQ (0, iRet); in TEST()
/third_party/openh264/codec/decoder/core/src/
Dmanage_dec_ref.cpp593 int32_t iRet = ERR_NONE; in WelsMarkAsRef() local
616 iRet = MMCO (pCtx, pRefPic, pRefPicMarking); in WelsMarkAsRef()
617 if (iRet != ERR_NONE) { in WelsMarkAsRef()
619 iRet = RemainOneBufferInDpbForEC (pCtx, pRefPic); in WelsMarkAsRef()
620 WELS_VERIFY_RETURN_IF (iRet, iRet); in WelsMarkAsRef()
622 return iRet; in WelsMarkAsRef()
632 iRet = SlidingWindow (pCtx, pRefPic); in WelsMarkAsRef()
633 if (iRet != ERR_NONE) { in WelsMarkAsRef()
635 iRet = RemainOneBufferInDpbForEC (pCtx, pRefPic); in WelsMarkAsRef()
636 WELS_VERIFY_RETURN_IF (iRet, iRet); in WelsMarkAsRef()
[all …]
Ddecode_slice.cpp1518 int32_t iRet; in WelsDecodeSlice() local
1595 iRet = pDecMbFunc (pCtx, pNalCur, uiEosFlag); in WelsDecodeSlice()
1597 if (iRet != ERR_NONE) { in WelsDecodeSlice()
1598 return iRet; in WelsDecodeSlice()
1624 int32_t iRet; in WelsDecodeAndConstructSlice() local
1710 iRet = pDecMbFunc (pCtx, pNalCur, uiEosFlag); in WelsDecodeAndConstructSlice()
1712 if (iRet != ERR_NONE) { in WelsDecodeAndConstructSlice()
1713 return iRet; in WelsDecodeAndConstructSlice()
1802 int32_t iRet = ERR_NONE; in WelsActualDecodeMbCavlcISlice() local
1962 …if ((iRet = WelsResidualBlockCavlc (pVlcTable, pNonZeroCount, pBs, 0, 16, g_kuiLumaDcZigzagScan, I… in WelsActualDecodeMbCavlcISlice()
[all …]
Dfmo.cpp263 int32_t iRet = ERR_NONE; in FmoParamUpdate() local
265 iRet = InitFmo (pFmo, pPps, kuiMbWidth, kuiMbHeight, pMa); in FmoParamUpdate()
266 WELS_VERIFY_RETURN_IF (iRet, iRet); in FmoParamUpdate()
273 return iRet; in FmoParamUpdate()
Dmemmgr_nal_unit.cpp104 int32_t iRet = ERR_NONE; in ExpandNalUnitList() local
105 …if ((iRet = MemInitNalList (&pTmp, kiExpSize, pMa)) != ERR_NONE) // request new list with expanding in ExpandNalUnitList()
106 return iRet; in ExpandNalUnitList()
Ddecoder_core.cpp311 int32_t iRet = WelsTargetSliceConstruction (pCtx); in WelsDecodeConstructSlice() local
313 if (iRet) { in WelsDecodeConstructSlice()
317 return iRet; in WelsDecodeConstructSlice()
887 int32_t iRet = ERR_NONE; in ParseSliceHeaderSyntaxs() local
1160 iRet = ParseRefPicListReordering (pBs, pSliceHead); in ParseSliceHeaderSyntaxs()
1161 if (iRet != ERR_NONE) { in ParseSliceHeaderSyntaxs()
1163 return iRet; in ParseSliceHeaderSyntaxs()
1167 iRet = ParsePredWeightedTable (pBs, pSliceHead); in ParseSliceHeaderSyntaxs()
1168 if (iRet != ERR_NONE) { in ParseSliceHeaderSyntaxs()
1170 return iRet; in ParseSliceHeaderSyntaxs()
[all …]
Ddecoder.cpp600 int iRet = ERR_NONE; in WelsOpenDecoder() local
608 iRet = WelsInitStaticMemory (pCtx); in WelsOpenDecoder()
609 if (ERR_NONE != iRet) { in WelsOpenDecoder()
612 return iRet; in WelsOpenDecoder()
624 return iRet; in WelsOpenDecoder()
749 int32_t iRet = 0; in WelsDecodeBs() local
816iRet = ParseNonVclNal (pCtx, pNalPayload, iDstIdx - iConsumedBytes, pSrcNal - 3, iSrcIdx + 3); in WelsDecodeBs()
839 if (iRet) { in WelsDecodeBs()
840 iRet = 0; in WelsDecodeBs()
878iRet = ParseNonVclNal (pCtx, pNalPayload, iDstIdx - iConsumedBytes, pSrcNal - 3, iSrcIdx + 3); in WelsDecodeBs()
[all …]
Derror_concealment.cpp441 int32_t iRet = WelsMarkAsRef (pCtx); in MarkECFrameAsRef() local
443 if (iRet != ERR_NONE) { in MarkECFrameAsRef()
444 return iRet; in MarkECFrameAsRef()
/third_party/openh264/codec/encoder/core/src/
Dsvc_encode_slice.cpp939 int32_t iRet = 0; in InitSliceList() local
956 iRet = InitSliceBsBuffer (pSlice, in InitSliceList()
961 if (ENC_RETURN_SUCCESS != iRet) { in InitSliceList()
962 return iRet; in InitSliceList()
965 iRet = AllocateSliceMBBuffer (pSlice, pMa); in InitSliceList()
967 if (ENC_RETURN_SUCCESS != iRet) { in InitSliceList()
968 return iRet; in InitSliceList()
1027 int32_t iRet = 0; in InitSliceThreadInfo() local
1050 iRet = InitSliceList (pDqLayer->sSliceBufferInfo[iIdx].pSliceBuffer, in InitSliceThreadInfo()
1056 if (ENC_RETURN_SUCCESS != iRet) { in InitSliceThreadInfo()
[all …]
Dwels_preprocess.cpp146 int32_t iRet = -1; in WelsPreprocessReset() local
156 return iRet; in WelsPreprocessReset()
160 iRet = InitLastSpatialPictures (pCtx); in WelsPreprocessReset()
161 iRet = WelsInitScaledPic (pCtx->pSvcParam, &m_sScaledPicture, pCtx->pMemAlign); in WelsPreprocessReset()
164 return iRet; in WelsPreprocessReset()
613 int32_t iRet = m_pInterfaceVp->Process (iMethodIdx, &sSrcPixMap, &sRefPixMap); in DetectSceneChange() local
614 if (iRet == 0) { in DetectSceneChange()
627 int32_t iRet = 0; in DownsamplePadding() local
657 iRet = m_pInterfaceVp->Process (iMethodIdx, &sSrcPixMap, &sDstPicMap); in DownsamplePadding()
673 return iRet; in DownsamplePadding()
[all …]
Dencoder_ext.cpp2286 int32_t iRet = 0; in WelsInitEncoderExt() local
2296 iRet = ParamValidationExt (pLogCtx, pCodingParam); in WelsInitEncoderExt()
2297 if (iRet != 0) { in WelsInitEncoderExt()
2298 …sLog (pLogCtx, WELS_LOG_ERROR, "WelsInitEncoderExt(), ParamValidationExt failed return %d.", iRet); in WelsInitEncoderExt()
2299 return iRet; in WelsInitEncoderExt()
2301 iRet = pCodingParam->DetermineTemporalSettings(); in WelsInitEncoderExt()
2302 if (iRet != ENC_RETURN_SUCCESS) { in WelsInitEncoderExt()
2305 iRet); in WelsInitEncoderExt()
2306 return iRet; in WelsInitEncoderExt()
2308 iRet = GetMultipleThreadIdc (pLogCtx, pCodingParam, iSliceNum, iCacheLineSize, uiCpuFeatureFlags); in WelsInitEncoderExt()
[all …]
Dparaset_strategy.cpp81 int32_t iRet = 0; in WelsGenerateNewSps() local
94iRet = WelsInitSps (pSps, pDlayerParam, &pParam->sDependencyLayers[iDlayerIndex], pParam->uiIntraP… in WelsGenerateNewSps()
99iRet = WelsInitSubsetSps (pSubsetSps, pDlayerParam, &pParam->sDependencyLayers[iDlayerIndex], pPar… in WelsGenerateNewSps()
103 return iRet; in WelsGenerateNewSps()
/third_party/openh264/codec/build/windowsphone/all/
DCodecRTComponent.cpp38 int iRet = 0; in Encode() local
109 iRet = EncMain (argc, argv); in Encode()
111 return iRet; in Encode()
126 int iRet = 0; in Decode() local
178 iRet = DecMain (argc, argv); in Decode()
180 return iRet; in Decode()
/third_party/openh264/codec/console/enc/src/
Dwelsenc.cpp223 int32_t iRet = 0; in ParseConfig() local
291 iRet = 1; in ParseConfig()
355 iRet = 1; in ParseConfig()
385 iRet = 1; in ParseConfig()
390 return iRet; in ParseConfig()
755 int iRet = 0; in ProcessEncoding() local
794 iRet = 1; in ProcessEncoding()
808 iRet = 1; in ProcessEncoding()
811 iRet = ParseConfig (cRdCfg, pSrcPic, sSvcParam, fs); in ProcessEncoding()
812 if (iRet) { in ProcessEncoding()
[all …]
/third_party/openh264/test/api/
Dencode_options_test.cpp2086 int iRet; in TEST_F() local
2106 iRet = encoder_->InitializeExt (&sParam); in TEST_F()
2107 …ASSERT_TRUE (iRet == cmResultSuccess) << "InitializeExt: iRet = " << iRet << " at " << sParam.iPic… in TEST_F()
2132 iRet = encoder_->Uninitialize(); in TEST_F()
2133 ASSERT_TRUE (iRet == cmResultSuccess) << "rv = " << iRet; in TEST_F()
2142 int iRet; in TEST_F() local
2154 iRet = encoder_->InitializeExt (&sParam); in TEST_F()
2155 …ASSERT_TRUE (iRet == cmResultSuccess) << "InitializeExt: iRet = " << iRet << " at " << sParam.iPic… in TEST_F()
2162 iRet = encoder_->EncodeFrame (&EncPic, &info); in TEST_F()
2163 ASSERT_TRUE (iRet == cmUnsupportedData) << "rv = " << iRet; in TEST_F()
[all …]
Ddecoder_test.cpp22 int iRet = WelsGetDecoderCapability (&sDecCap); in TEST_F() local
23 ASSERT_TRUE (iRet == 0); in TEST_F()
Dthread_decoder_test.cpp22 int iRet = WelsGetDecoderCapability (&sDecCap); in TEST_F() local
23 ASSERT_TRUE (iRet == 0); in TEST_F()
/third_party/openh264/test/build/windowsphone/codec_ut/
DCodec_UT_RTComponent.cpp18 int iRet = 0; in TestAllCases() local
60 iRet = pUTHandler(argc, argv); in TestAllCases()
62 return iRet; in TestAllCases()
/third_party/openh264/codec/decoder/plus/src/
DwelsDecoderExt.cpp100 int iRet = dsErrorFree; in ConstructAccessUnit() local
111iRet |= pWelsDecoder->DecodeFrame2WithCtx (pThrCtx->pCtx, NULL, 0, pThrCtx->ppDst, &pThrCtx->sDstI… in ConstructAccessUnit()
114 return (DECODING_STATE)iRet; in ConstructAccessUnit()
260 int iRet = ERR_NONE; in Initialize() local
271 iRet = InitDecoder (pParam); in Initialize()
272 if (iRet) in Initialize()
273 return iRet; in Initialize()
426 int32_t iRet = DecoderConfigParam (pCtx, pParam); in InitDecoderCtx() local
427 WELS_VERIFY_RETURN_IFNEQ (iRet, cmResultSuccess); in InitDecoderCtx()
694 int iRet = dsErrorFree; in DecodeFrameNoDelay() local
[all …]
/third_party/openh264/codec/console/dec/src/
Dd3d9_utils.cpp561 int iRet = 0; in Process() local
591 iRet = !SUCCEEDED (hResult); in Process()
598 return iRet; in Process()

12