| 88 | } |
| 89 | |
| 90 | av_cold AVRefStructPool *ff_mpv_alloc_pic_pool(int init_progress) |
| 91 | { |
| 92 | return av_refstruct_pool_alloc_ext(sizeof(MPVPicture), |
| 93 | AV_REFSTRUCT_POOL_FLAG_FREE_ON_INIT_ERROR, |
| 94 | (void*)(uintptr_t)init_progress, |
| 95 | mpv_pic_init, mpv_pic_reset, mpv_pic_free, NULL); |
| 96 | } |
| 97 | |
| 98 | void ff_mpv_unref_picture(MPVWorkPicture *pic) |
| 99 | { |
no test coverage detected