Home
last modified time | relevance | path

Searched refs:pTask (Results 1 – 7 of 7) sorted by relevance

/third_party/openh264/codec/common/src/
DWelsThreadPool.cpp134 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStart() argument
140 WELS_THREAD_ERROR_CODE CWelsThreadPool::OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) { in OnTaskStop() argument
146 if (pTask && pTask->GetSink()) { in OnTaskStop()
148 pTask->GetSink()->OnTaskExecuted(); in OnTaskStop()
232 IWelsTask* pTask = NULL; in ExecuteTask() local
241 pTask = GetWaitedTask(); in ExecuteTask()
243 if (pTask) { in ExecuteTask()
244 pThread->SetTask (pTask); in ExecuteTask()
251 WELS_THREAD_ERROR_CODE CWelsThreadPool::QueueTask (IWelsTask* pTask) { in QueueTask() argument
260 pThread->SetTask (pTask); in QueueTask()
[all …]
DWelsTaskThread.cpp72 WELS_THREAD_ERROR_CODE CWelsTaskThread::SetTask (WelsCommon::IWelsTask* pTask) { in SetTask() argument
79 m_pTask = pTask; in SetTask()
/third_party/openh264/codec/encoder/core/src/
Dwels_task_management.cpp144 CWelsBaseTask* pTask = NULL; in CreateTasks() local
155 pTask = WELS_NEW_OP (CWelsUpdateMbMapTask (this, pEncCtx, idx), CWelsUpdateMbMapTask); in CreateTasks()
156 WELS_VERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, NULL == pTask) in CreateTasks()
157 …FY_RETURN_IF (ENC_RETURN_MEMALLOCERR, true != m_cPreEncodingTaskList[kiCurDid]->push_back (pTask)); in CreateTasks()
162 pTask = WELS_NEW_OP (CWelsConstrainedSizeSlicingEncodingTask (this, pEncCtx, idx), in CreateTasks()
166pTask = WELS_NEW_OP (CWelsLoadBalancingSlicingEncodingTask (this, pEncCtx, idx), CWelsLoadBalancin… in CreateTasks()
168 pTask = WELS_NEW_OP (CWelsSliceEncodingTask (this, pEncCtx, idx), CWelsSliceEncodingTask); in CreateTasks()
171 WELS_VERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, NULL == pTask) in CreateTasks()
172 …ERIFY_RETURN_IF (ENC_RETURN_MEMALLOCERR, true != m_cEncodingTaskList[kiCurDid]->push_back (pTask)); in CreateTasks()
182 CWelsBaseTask* pTask = pTargetTaskList->begin(); in DestroyTaskList() local
[all …]
/third_party/openh264/codec/common/inc/
DWelsThreadPool.h67 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask);
68 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask);
73 WELS_THREAD_ERROR_CODE QueueTask (IWelsTask* pTask);
88 bool AddTaskToWaitedList (IWelsTask* pTask);
DWelsTaskThread.h55 virtual WELS_THREAD_ERROR_CODE OnTaskStart (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;
56 virtual WELS_THREAD_ERROR_CODE OnTaskStop (CWelsTaskThread* pThread, IWelsTask* pTask) = 0;
64 WELS_THREAD_ERROR_CODE SetTask (IWelsTask* pTask);
/third_party/openh264/test/common/
DWelsThreadPoolTest.h17 virtual int32_t OnTaskExecuted (IWelsTask* pTask) { in OnTaskExecuted() argument
24 virtual int32_t OnTaskCancelled (IWelsTask* pTask) { in OnTaskCancelled() argument
/third_party/sqlite/src/
Dsqlite3.c99821 SortSubtask *pTask; /* Used by this thread only */
99960 SortSubtask *pTask; /* Task that owns this merger */
100176 static int vdbeSorterMapFile(SortSubtask *pTask, SorterFile *pFile, u8 **pp){
100178 if( pFile->iEof<=(i64)(pTask->pSorter->db->nMaxSorterMmap) ){
100194 SortSubtask *pTask, /* Task context */
100212 rc = vdbeSorterMapFile(pTask, pFile, &pReadr->aMap);
100214 int pgsz = pTask->pSorter->pgsz;
100252 pIncr->pTask, pReadr, &pIncr->aFile[0], pIncr->iStartOff
100288 SortSubtask *pTask, /* Task context */
100301 rc = vdbePmaReaderSeek(pTask, pReadr, pFile, iStart);
[all …]