Home
last modified time | relevance | path

Searched refs:winterface (Results 1 – 10 of 10) sorted by relevance

/external/libvpx/libvpx/vpx_util/
Dvpx_thread.c169 int vpx_set_worker_interface(const VPxWorkerInterface* const winterface) { in vpx_set_worker_interface() argument
170 if (winterface == NULL || in vpx_set_worker_interface()
171 winterface->init == NULL || winterface->reset == NULL || in vpx_set_worker_interface()
172 winterface->sync == NULL || winterface->launch == NULL || in vpx_set_worker_interface()
173 winterface->execute == NULL || winterface->end == NULL) { in vpx_set_worker_interface()
176 g_worker_interface = *winterface; in vpx_set_worker_interface()
Dvpx_thread.h212 int vpx_set_worker_interface(const VPxWorkerInterface *const winterface);
/external/libvpx/libvpx/test/
Dvp9_thread_test.cc138 VPxWorkerInterface winterface = *vpx_get_worker_interface(); in TEST() local
141 case 0: winterface.init = NULL; break; in TEST()
142 case 1: winterface.reset = NULL; break; in TEST()
143 case 2: winterface.sync = NULL; break; in TEST()
144 case 3: winterface.launch = NULL; break; in TEST()
145 case 4: winterface.execute = NULL; break; in TEST()
146 case 5: winterface.end = NULL; break; in TEST()
148 EXPECT_EQ(0, vpx_set_worker_interface(&winterface)); in TEST()
/external/webp/src/utils/
Dthread.c343 int WebPSetWorkerInterface(const WebPWorkerInterface* const winterface) { in WebPSetWorkerInterface() argument
344 if (winterface == NULL || in WebPSetWorkerInterface()
345 winterface->Init == NULL || winterface->Reset == NULL || in WebPSetWorkerInterface()
346 winterface->Sync == NULL || winterface->Launch == NULL || in WebPSetWorkerInterface()
347 winterface->Execute == NULL || winterface->End == NULL) { in WebPSetWorkerInterface()
350 g_worker_interface = *winterface; in WebPSetWorkerInterface()
Dthread.h82 const WebPWorkerInterface* const winterface);
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c70 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in vp9_encode_tiles_mt() local
99 winterface->init(worker); in vp9_encode_tiles_mt()
119 if (!winterface->reset(worker)) in vp9_encode_tiles_mt()
128 winterface->sync(worker); in vp9_encode_tiles_mt()
178 winterface->execute(worker); in vp9_encode_tiles_mt()
180 winterface->launch(worker); in vp9_encode_tiles_mt()
186 winterface->sync(worker); in vp9_encode_tiles_mt()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c315 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in init_decoder() local
353 winterface->init(worker); in init_decoder()
392 if (!winterface->reset(worker)) { in init_decoder()
420 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_one() local
452 winterface->execute(worker); in decode_one()
501 winterface->launch(worker); in decode_one()
510 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in wait_worker_and_cache_frame() local
516 winterface->sync(worker); in wait_worker_and_cache_frame()
702 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decoder_get_frame() local
712 if (winterface->sync(worker)) { in decoder_get_frame()
/external/libvpx/libvpx/vp9/common/
Dvp9_thread_common.c161 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in loop_filter_rows_mt() local
203 winterface->execute(worker); in loop_filter_rows_mt()
205 winterface->launch(worker); in loop_filter_rows_mt()
211 winterface->sync(&workers[i]); in loop_filter_rows_mt()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c330 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in vp9_receive_compressed_data() local
338 winterface->sync(&pbi->lf_worker); in vp9_receive_compressed_data()
340 winterface->sync(&pbi->tile_workers[i]); in vp9_receive_compressed_data()
Dvp9_decodeframe.c1430 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_tiles() local
1444 if (pbi->max_threads > 1 && !winterface->reset(&pbi->lf_worker)) { in decode_tiles()
1453 winterface->sync(&pbi->lf_worker); in decode_tiles()
1535 winterface->sync(&pbi->lf_worker); in decode_tiles()
1539 winterface->launch(&pbi->lf_worker); in decode_tiles()
1541 winterface->execute(&pbi->lf_worker); in decode_tiles()
1556 winterface->sync(&pbi->lf_worker); in decode_tiles()
1559 winterface->execute(&pbi->lf_worker); in decode_tiles()
1632 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_tiles_mt() local
1658 winterface->init(worker); in decode_tiles_mt()
[all …]