| 414 | } |
| 415 | |
| 416 | int get_num_threads() const { |
| 417 | // For the host backend, the thread pool is not available until we see the first batch. |
| 418 | // this allows nvimgcodec accessing number of threads before the thread pool is available |
| 419 | return num_threads_; |
| 420 | } |
| 421 | |
| 422 | static nvimgcodecStatus_t static_schedule(void *instance, int device_id, int sample_idx, |
| 423 | void *task_context, |
no outgoing calls