Searched refs:winterface (Results 1 – 10 of 10) sorted by relevance
166 int vpx_set_worker_interface(const VPxWorkerInterface *const winterface) { in vpx_set_worker_interface() argument167 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()
404 int vpx_set_worker_interface(const VPxWorkerInterface *const winterface);
134 VPxWorkerInterface winterface = *vpx_get_worker_interface(); in TEST() local137 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()
344 int WebPSetWorkerInterface(const WebPWorkerInterface* const winterface) { in WebPSetWorkerInterface() argument345 if (winterface == NULL || in WebPSetWorkerInterface()346 winterface->Init == NULL || winterface->Reset == NULL || in WebPSetWorkerInterface()347 winterface->Sync == NULL || winterface->Launch == NULL || in WebPSetWorkerInterface()348 winterface->Execute == NULL || winterface->End == NULL) { in WebPSetWorkerInterface()351 g_worker_interface = *winterface; in WebPSetWorkerInterface()
79 const WebPWorkerInterface* const winterface);
80 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in create_enc_workers() local106 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() local160 winterface->execute(worker); in launch_enc_workers()162 winterface->launch(worker); in launch_enc_workers()168 winterface->sync(worker); in launch_enc_workers()
964 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in encode_tiles_mt() local1004 winterface->launch(worker); in encode_tiles_mt()1006 winterface->execute(worker); in encode_tiles_mt()1017 if (!winterface->sync(worker)) return 0; in encode_tiles_mt()
157 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in loop_filter_rows_mt() local199 winterface->execute(worker); in loop_filter_rows_mt()201 winterface->launch(worker); in loop_filter_rows_mt()207 winterface->sync(&workers[i]); in loop_filter_rows_mt()
312 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in vp9_receive_compressed_data() local320 winterface->sync(&pbi->lf_worker); in vp9_receive_compressed_data()322 winterface->sync(&pbi->tile_workers[i]); in vp9_receive_compressed_data()
1354 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_tiles() local1368 if (pbi->max_threads > 1 && !winterface->reset(&pbi->lf_worker)) { in decode_tiles()1377 winterface->sync(&pbi->lf_worker); in decode_tiles()1447 winterface->sync(&pbi->lf_worker); in decode_tiles()1451 winterface->launch(&pbi->lf_worker); in decode_tiles()1453 winterface->execute(&pbi->lf_worker); in decode_tiles()1462 winterface->sync(&pbi->lf_worker); in decode_tiles()1465 winterface->execute(&pbi->lf_worker); in decode_tiles()1537 const VPxWorkerInterface *const winterface = vpx_get_worker_interface(); in decode_tiles_mt() local1557 winterface->init(worker); in decode_tiles_mt()[all …]