/third_party/openh264/codec/encoder/core/src/ |
D | wels_task_encoder.cpp | 115 …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 …]
|
D | slice_multi_threading.cpp | 259 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 …]
|
D | wels_task_management.cpp | 100 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()
|
D | encoder_ext.cpp | 503 int32_t iReturn = 0; in ParamValidationExt() local 554 …iReturn = 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 2026 …iReturn = 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 …]
|
D | picture_handle.cpp | 115 … 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()
|
D | encoder.cpp | 158 int32_t iReturn = ENC_RETURN_SUCCESS; in InitFunctionPointers() local 229 return iReturn; in InitFunctionPointers()
|
/third_party/openh264/codec/common/src/ |
D | WelsThreadPool.cpp | 188 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/ |
D | EncUT_MotionEstimate.cpp | 498 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()
|
D | EncUT_EncoderExt.cpp | 154 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()
|