Home
last modified time | relevance | path

Searched refs:iReturn (Results 1 – 9 of 9) sorted by relevance

/third_party/openh264/codec/encoder/core/src/
Dwels_task_encoder.cpp115 …int32_t iReturn = InitOneSliceInThread (m_pCtx, m_pSlice, m_iThreadIdx, m_pCtx->uiDependencyId, m_… in InitTask() local
116 WELS_VERIFY_RETURN_IFNEQ (iReturn, ENC_RETURN_SUCCESS) in InitTask()
119 iReturn = SetSliceBoundaryInfo (m_pCtx->pCurDqLayer, m_pSlice, m_iSliceIdx); in InitTask()
120 WELS_VERIFY_RETURN_IFNEQ (iReturn, ENC_RETURN_SUCCESS) in InitTask()
168 int32_t iReturn = WelsCodeOneSlice (m_pCtx, m_pSlice, m_eNalType); in ExecuteTask() local
169 if (ENC_RETURN_SUCCESS != iReturn) { in ExecuteTask()
170 return iReturn; in ExecuteTask()
175 iReturn = WriteSliceBs (m_pCtx, m_pSliceBs, m_iSliceIdx, m_iSliceSize); in ExecuteTask()
176 if (ENC_RETURN_SUCCESS != iReturn) { in ExecuteTask()
181 return iReturn; in ExecuteTask()
[all …]
Dslice_multi_threading.cpp259 int32_t iReturn = ENC_RETURN_SUCCESS; in RequestMtResource() local
333 iReturn = WelsMutexInit (&pSmt->mutexSliceNumUpdate); in RequestMtResource()
334 WELS_VERIFY_RETURN_IF (1, (WELS_THREAD_ERROR_OK != iReturn)) in RequestMtResource()
345 iReturn = WelsMutexInit (&pSmt->mutexThreadBsBufferUsage); in RequestMtResource()
346 WELS_VERIFY_RETURN_PROC_IF (1, (WELS_THREAD_ERROR_OK != iReturn), FreeMemorySvc (ppCtx)) in RequestMtResource()
348 iReturn = WelsMutexInit (&pSmt->mutexEvent); in RequestMtResource()
349 WELS_VERIFY_RETURN_PROC_IF (1, (WELS_THREAD_ERROR_OK != iReturn), FreeMemorySvc (ppCtx)); in RequestMtResource()
351 iReturn = WelsMutexInit (&pSmt->mutexThreadSlcBuffReallocate); in RequestMtResource()
352 WELS_VERIFY_RETURN_PROC_IF (1, (WELS_THREAD_ERROR_OK != iReturn), FreeMemorySvc (ppCtx)) in RequestMtResource()
354 iReturn = WelsMutexInit (& (*ppCtx)->mutexEncoderError); in RequestMtResource()
[all …]
Dwels_task_management.cpp100 int32_t iReturn = ENC_RETURN_SUCCESS; in Init() local
102 iReturn = CWelsThreadPool::SetThreadNum (m_iThreadNum); in Init()
104 if ((iReturn != ENC_RETURN_SUCCESS) && pEncCtx) { in Init()
111 iReturn = ENC_RETURN_SUCCESS; in Init()
115 iReturn |= CreateTasks (pEncCtx, iDid); in Init()
119 return iReturn; in Init()
Dencoder_ext.cpp503 int32_t iReturn = 0; in ParamValidationExt() local
554iReturn = SliceArgumentValidationFixedSliceMode (pLogCtx, &pSpatialLayer->sSliceArgument, pCodingP… in ParamValidationExt()
556 if (iReturn) in ParamValidationExt()
1129 …int32_t iReturn = RequestFeatureSearchPreparation (pMa, pDlayer->iVideoWidth, pDlayer->iVideoHeigh… in InitDqLayers()
1132 WELS_VERIFY_RETURN_IF (1, ENC_RETURN_SUCCESS != iReturn) in InitDqLayers()
2019 int32_t iReturn = 0; in InitSliceSettings() local
2026iReturn = SliceArgumentValidationFixedSliceMode (pLogCtx, &pDlp->sSliceArgument, pCodingParam->iRC… in InitSliceSettings()
2028 if (iReturn) in InitSliceSettings()
2832 int32_t iReturn = WelsEncodeNal (&pCtx->pOut->sNalList[iNal], NULL, in WelsWriteOneSPS() local
2836 WELS_VERIFY_RETURN_IFNEQ (iReturn, ENC_RETURN_SUCCESS) in WelsWriteOneSPS()
[all …]
Dpicture_handle.cpp115 … int32_t iReturn = RequestScreenBlockFeatureStorage (pMa, kiWidth, kiHeight, iNeedFeatureStorage, in AllocPicture() local
117 WELS_VERIFY_RETURN_PROC_IF (NULL, ENC_RETURN_SUCCESS != iReturn, FreePicture (pMa, &pPic)); in AllocPicture()
Dencoder.cpp158 int32_t iReturn = ENC_RETURN_SUCCESS; in InitFunctionPointers() local
229 return iReturn; in InitFunctionPointers()
/third_party/openh264/codec/common/src/
DWelsThreadPool.cpp188 WELS_THREAD_ERROR_CODE iReturn = WELS_THREAD_ERROR_OK; in StopAllRunning() local
198 iReturn = WELS_THREAD_ERROR_GENERAL; in StopAllRunning()
201 return iReturn; in StopAllRunning()
205 WELS_THREAD_ERROR_CODE iReturn = WELS_THREAD_ERROR_OK; in Uninit() local
208 iReturn = StopAllRunning(); in Uninit()
209 if (WELS_THREAD_ERROR_OK != iReturn) { in Uninit()
210 return iReturn; in Uninit()
226 return iReturn; in Uninit()
/third_party/openh264/test/encoder/
DEncUT_MotionEstimate.cpp498 int32_t iReturn; in TEST_F() local
500 iReturn = RequestFeatureSearchPreparation (m_pMa, m_iWidth, m_iHeight, kiNeedFeatureStorage, in TEST_F()
502 ASSERT_TRUE (ENC_RETURN_SUCCESS == iReturn); in TEST_F()
503 iReturn = RequestScreenBlockFeatureStorage (m_pMa, m_iWidth, m_iHeight, kiNeedFeatureStorage, in TEST_F()
505 ASSERT_TRUE (ENC_RETURN_SUCCESS == iReturn); in TEST_F()
DEncUT_EncoderExt.cpp154 int iResult, iValue, iReturn; in TEST_F() local
175 iResult = pPtrEnc->GetOption (eOptionId, &iReturn); in TEST_F()
177 EXPECT_EQ (iValue, iReturn); in TEST_F()
188 iResult = pPtrEnc->GetOption (eOptionId, &iReturn); in TEST_F()
192 EXPECT_EQ (iValue, iReturn); in TEST_F()