Home
last modified time | relevance | path

Searched refs:worker (Results 1 – 6 of 6) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_thread.c30 VP9Worker* const worker = (VP9Worker*)ptr; in thread_loop() local
33 pthread_mutex_lock(&worker->mutex_); in thread_loop()
34 while (worker->status_ == OK) { // wait in idling mode in thread_loop()
35 pthread_cond_wait(&worker->condition_, &worker->mutex_); in thread_loop()
37 if (worker->status_ == WORK) { in thread_loop()
38 vp9_worker_execute(worker); in thread_loop()
39 worker->status_ = OK; in thread_loop()
40 } else if (worker->status_ == NOT_OK) { // finish the worker in thread_loop()
44 pthread_cond_signal(&worker->condition_); in thread_loop()
45 pthread_mutex_unlock(&worker->mutex_); in thread_loop()
[all …]
Dvp9_thread.h181 void vp9_worker_init(VP9Worker* const worker);
184 int vp9_worker_reset(VP9Worker* const worker);
187 int vp9_worker_sync(VP9Worker* const worker);
191 void vp9_worker_launch(VP9Worker* const worker);
196 void vp9_worker_execute(VP9Worker* const worker);
199 void vp9_worker_end(VP9Worker* const worker);
Dvp9_dthread.c175 VP9Worker *const worker = &pbi->tile_workers[i]; in vp9_loop_filter_frame_mt() local
176 TileWorkerData *const tile_data = (TileWorkerData*)worker->data1; in vp9_loop_filter_frame_mt()
179 worker->hook = (VP9WorkerHook)loop_filter_row_worker; in vp9_loop_filter_frame_mt()
194 vp9_worker_execute(worker); in vp9_loop_filter_frame_mt()
196 vp9_worker_launch(worker); in vp9_loop_filter_frame_mt()
Dvp9_decoder.c163 VP9Worker *const worker = &pbi->tile_workers[i]; in vp9_remove_decompressor() local
164 vp9_worker_end(worker); in vp9_remove_decompressor()
165 vpx_free(worker->data1); in vp9_remove_decompressor()
166 vpx_free(worker->data2); in vp9_remove_decompressor()
Dvp9_decodeframe.c893 VP9Worker *const worker = &pbi->tile_workers[i]; in decode_tiles_mt() local
896 vp9_worker_init(worker); in decode_tiles_mt()
897 CHECK_MEM_ERROR(cm, worker->data1, in decode_tiles_mt()
899 CHECK_MEM_ERROR(cm, worker->data2, vpx_malloc(sizeof(TileInfo))); in decode_tiles_mt()
900 if (i < num_workers - 1 && !vp9_worker_reset(worker)) { in decode_tiles_mt()
953 VP9Worker *const worker = &pbi->tile_workers[i]; in decode_tiles_mt() local
954 TileWorkerData *const tile_data = (TileWorkerData*)worker->data1; in decode_tiles_mt()
955 TileInfo *const tile = (TileInfo*)worker->data2; in decode_tiles_mt()
967 worker->had_error = 0; in decode_tiles_mt()
969 vp9_worker_execute(worker); in decode_tiles_mt()
[all …]
/hardware/intel/common/utils/ISV/include/
Disv_bufmanager.h73 ISVBuffer(sp<ISVWorker> worker, in ISVBuffer() argument
78 :mWorker(worker), in ISVBuffer()
91 ISVBuffer(sp<ISVWorker> worker, in ISVBuffer() argument
95 :mWorker(worker), in ISVBuffer()
160 void setWorker(sp<ISVWorker> worker) { mWorker = worker; } in setWorker() argument