diff options
Diffstat (limited to 'video/zimg.h')
-rw-r--r-- | video/zimg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/zimg.h b/video/zimg.h index 01e731cc36..a4f1954402 100644 --- a/video/zimg.h +++ b/video/zimg.h @@ -20,6 +20,7 @@ struct zimg_opts { double scaler_chroma_params[2]; int dither; int fast; + int threads; }; extern const struct zimg_opts zimg_opts_defaults; @@ -42,6 +43,8 @@ struct mp_zimg_context { struct m_config_cache *opts_cache; struct mp_zimg_state **states; int num_states; + struct mp_thread_pool *tp; + int current_thread_count; }; // Allocate a zimg context. Always succeeds. Returns a talloc pointer (use |