Home
last modified time | relevance | path

Searched refs:winterface (Results 1 – 19 of 19) 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.h427 int vpx_set_worker_interface(const VPxWorkerInterface *const winterface);
/external/libaom/libaom/aom_util/
Daom_thread.c197 int aom_set_worker_interface(const AVxWorkerInterface *const winterface) { in aom_set_worker_interface() argument
198 if (winterface == NULL || winterface->init == NULL || in aom_set_worker_interface()
199 winterface->reset == NULL || winterface->sync == NULL || in aom_set_worker_interface()
200 winterface->launch == NULL || winterface->execute == NULL || in aom_set_worker_interface()
201 winterface->end == NULL) { in aom_set_worker_interface()
204 g_worker_interface = *winterface; in aom_set_worker_interface()
Daom_thread.h353 int aom_set_worker_interface(const AVxWorkerInterface *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.c354 int WebPSetWorkerInterface(const WebPWorkerInterface* const winterface) { in WebPSetWorkerInterface() argument
355 if (winterface == NULL || in WebPSetWorkerInterface()
356 winterface->Init == NULL || winterface->Reset == NULL || in WebPSetWorkerInterface()
357 winterface->Sync == NULL || winterface->Launch == NULL || in WebPSetWorkerInterface()
358 winterface->Execute == NULL || winterface->End == NULL) { in WebPSetWorkerInterface()
361 g_worker_interface = *winterface; in WebPSetWorkerInterface()
Dthread_utils.h79 const WebPWorkerInterface* const winterface);
/external/libaom/libaom/av1/encoder/
Dethread.c391 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in create_enc_workers() local
415 winterface->init(worker); in create_enc_workers()
496 if (!winterface->reset(worker)) in create_enc_workers()
507 winterface->sync(worker); in create_enc_workers()
512 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in launch_enc_workers() local
522 winterface->execute(worker); in launch_enc_workers()
524 winterface->launch(worker); in launch_enc_workers()
529 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in sync_enc_workers() local
535 had_error |= !winterface->sync(worker); in sync_enc_workers()
Dcnn.c361 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in convolve_layer_mt() local
367 winterface->reset(worker); in convolve_layer_mt()
379 winterface->execute(worker); in convolve_layer_mt()
381 winterface->launch(worker); in convolve_layer_mt()
387 winterface->sync(&thread_data->workers[th]); in convolve_layer_mt()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ethread.c80 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in create_enc_workers() local
106 winterface->init(worker); in create_enc_workers()
126 if (!winterface->reset(worker)) in create_enc_workers()
134 winterface->sync(worker); in create_enc_workers()
141 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in launch_enc_workers() local
160 winterface->execute(worker); in launch_enc_workers()
162 winterface->launch(worker); in launch_enc_workers()
168 winterface->sync(worker); in launch_enc_workers()
Dvp9_bitstream.c984 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in encode_tiles_mt() local
1024 winterface->launch(worker); in encode_tiles_mt()
1026 winterface->execute(worker); in encode_tiles_mt()
1037 if (!winterface->sync(worker)) return 0; in encode_tiles_mt()
/external/libaom/libaom/av1/common/
Dthread_common.c407 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in loop_filter_rows_mt() local
466 winterface->execute(worker); in loop_filter_rows_mt()
468 winterface->launch(worker); in loop_filter_rows_mt()
474 winterface->sync(&workers[i]); in loop_filter_rows_mt()
859 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in foreach_rest_unit_in_planes_mt() local
903 winterface->execute(worker); in foreach_rest_unit_in_planes_mt()
905 winterface->launch(worker); in foreach_rest_unit_in_planes_mt()
911 winterface->sync(&workers[i]); in foreach_rest_unit_in_planes_mt()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c2018 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_tiles() local
2032 if (pbi->max_threads > 1 && !winterface->reset(&pbi->lf_worker)) { in decode_tiles()
2041 winterface->sync(&pbi->lf_worker); in decode_tiles()
2133 winterface->sync(&pbi->lf_worker); in decode_tiles()
2137 winterface->launch(&pbi->lf_worker); in decode_tiles()
2139 winterface->execute(&pbi->lf_worker); in decode_tiles()
2148 winterface->sync(&pbi->lf_worker); in decode_tiles()
2151 winterface->execute(&pbi->lf_worker); in decode_tiles()
2285 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in init_mt() local
2295 winterface->init(worker); in init_mt()
[all …]
Dvp9_decoder.c365 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in release_fb_on_decoder_exit() local
373 winterface->sync(&pbi->lf_worker); in release_fb_on_decoder_exit()
375 winterface->sync(&pbi->tile_workers[i]); in release_fb_on_decoder_exit()
/external/libaom/libaom/av1/decoder/
Ddecoder.c451 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in av1_receive_compressed_data() local
458 winterface->sync(&pbi->lf_worker); in av1_receive_compressed_data()
460 winterface->sync(&pbi->tile_workers[i]); in av1_receive_compressed_data()
Ddecodeframe.c3399 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in reset_dec_workers() local
3413 winterface->sync(worker); in reset_dec_workers()
3429 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in launch_dec_workers() local
3439 winterface->execute(worker); in launch_dec_workers()
3441 winterface->launch(worker); in launch_dec_workers()
3447 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in sync_dec_workers() local
3452 aom_merge_corrupted_flag(&corrupted, !winterface->sync(worker)); in sync_dec_workers()
3460 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in decode_mt_init() local
3476 winterface->init(worker); in decode_mt_init()
3478 if (worker_idx < num_threads - 1 && !winterface->reset(worker)) { in decode_mt_init()
/external/libvpx/libvpx/vp9/common/
Dvp9_thread_common.c162 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in loop_filter_rows_mt() local
207 winterface->execute(worker); in loop_filter_rows_mt()
209 winterface->launch(worker); in loop_filter_rows_mt()
215 winterface->sync(&workers[i]); in loop_filter_rows_mt()
/external/libaom/libaom/av1/
Dav1_dx_iface.c417 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in init_decoder() local
441 winterface->init(worker); in init_decoder()
489 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in decode_one() local
521 winterface->execute(worker); in decode_one()
742 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in decoder_get_frame() local
749 if (winterface->sync(worker)) { in decoder_get_frame()
/external/libaom/libaom/test/
Dcnn_test.cc2223 const AVxWorkerInterface *const winterface = aom_get_worker_interface(); in TEST_F() local
2227 winterface->init(&workers[i]); in TEST_F()
2236 winterface->end(&workers[i]); in TEST_F()