Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx_util/
Dvpx_thread.c166 int vpx_set_worker_interface(const VPxWorkerInterface *const winterface) { in vpx_set_worker_interface() argument
167 if (winterface == NULL || winterface->init == NULL || in vpx_set_worker_interface()
168 winterface->reset == NULL || winterface->sync == NULL || in vpx_set_worker_interface()
169 winterface->launch == NULL || winterface->execute == NULL || in vpx_set_worker_interface()
170 winterface->end == NULL) { in vpx_set_worker_interface()
173 g_worker_interface = *winterface; in vpx_set_worker_interface()
Dvpx_thread.h404 int vpx_set_worker_interface(const VPxWorkerInterface *const winterface);
/external/libvpx/libvpx/test/
Dvp9_thread_test.cc134 VPxWorkerInterface winterface = *vpx_get_worker_interface(); in TEST() local
137 case 0: winterface.init = NULL; break; in TEST()
138 case 1: winterface.reset = NULL; break; in TEST()
139 case 2: winterface.sync = NULL; break; in TEST()
140 case 3: winterface.launch = NULL; break; in TEST()
141 case 4: winterface.execute = NULL; break; in TEST()
142 case 5: winterface.end = NULL; break; in TEST()
144 EXPECT_EQ(0, vpx_set_worker_interface(&winterface)); in TEST()
/external/webp/src/utils/
Dthread_utils.c341 int WebPSetWorkerInterface(const WebPWorkerInterface* const winterface) { in WebPSetWorkerInterface() argument
342 if (winterface == NULL || in WebPSetWorkerInterface()
343 winterface->Init == NULL || winterface->Reset == NULL || in WebPSetWorkerInterface()
344 winterface->Sync == NULL || winterface->Launch == NULL || in WebPSetWorkerInterface()
345 winterface->Execute == NULL || winterface->End == NULL) { in WebPSetWorkerInterface()
348 g_worker_interface = *winterface; in WebPSetWorkerInterface()
Dthread_utils.h82 const WebPWorkerInterface* const winterface);
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c72 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in create_enc_workers() local
98 winterface->init(worker); in create_enc_workers()
118 if (!winterface->reset(worker)) in create_enc_workers()
126 winterface->sync(worker); in create_enc_workers()
133 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in launch_enc_workers() local
152 winterface->execute(worker); in launch_enc_workers()
154 winterface->launch(worker); in launch_enc_workers()
160 winterface->sync(worker); in launch_enc_workers()
Dvp9_bitstream.c962 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in encode_tiles_mt() local
1002 winterface->launch(worker); in encode_tiles_mt()
1004 winterface->execute(worker); in encode_tiles_mt()
1015 if (!winterface->sync(worker)) return 0; in encode_tiles_mt()
/external/libvpx/libvpx/vp9/
Dvp9_dx_iface.c310 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in init_decoder() local
347 winterface->init(worker); in init_decoder()
386 if (!winterface->reset(worker)) { in init_decoder()
413 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_one() local
443 winterface->execute(worker); in decode_one()
492 winterface->launch(worker); in decode_one()
501 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in wait_worker_and_cache_frame() local
507 winterface->sync(worker); in wait_worker_and_cache_frame()
687 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decoder_get_frame() local
696 if (winterface->sync(worker)) { in decoder_get_frame()
/external/libvpx/libvpx/vp9/common/
Dvp9_thread_common.c156 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in loop_filter_rows_mt() local
198 winterface->execute(worker); in loop_filter_rows_mt()
200 winterface->launch(worker); in loop_filter_rows_mt()
206 winterface->sync(&workers[i]); in loop_filter_rows_mt()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c326 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in vp9_receive_compressed_data() local
334 winterface->sync(&pbi->lf_worker); in vp9_receive_compressed_data()
336 winterface->sync(&pbi->tile_workers[i]); in vp9_receive_compressed_data()
Dvp9_decodeframe.c1374 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_tiles() local
1388 if (pbi->max_threads > 1 && !winterface->reset(&pbi->lf_worker)) { in decode_tiles()
1397 winterface->sync(&pbi->lf_worker); in decode_tiles()
1467 winterface->sync(&pbi->lf_worker); in decode_tiles()
1471 winterface->launch(&pbi->lf_worker); in decode_tiles()
1473 winterface->execute(&pbi->lf_worker); in decode_tiles()
1487 winterface->sync(&pbi->lf_worker); in decode_tiles()
1490 winterface->execute(&pbi->lf_worker); in decode_tiles()
1562 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_tiles_mt() local
1582 winterface->init(worker); in decode_tiles_mt()
[all …]