| 1773 | } |
| 1774 | |
| 1775 | static void vulkan_device_uninit(AVHWDeviceContext *ctx) |
| 1776 | { |
| 1777 | VulkanDevicePriv *p = ctx->hwctx; |
| 1778 | |
| 1779 | for (uint32_t i = 0; i < p->nb_tot_qfs; i++) { |
| 1780 | pthread_mutex_destroy(p->qf_mutex[i]); |
| 1781 | av_freep(&p->qf_mutex[i]); |
| 1782 | } |
| 1783 | av_freep(&p->qf_mutex); |
| 1784 | |
| 1785 | ff_vk_uninit(&p->vkctx); |
| 1786 | } |
| 1787 | |
| 1788 | static int vulkan_device_create_internal(AVHWDeviceContext *ctx, |
| 1789 | VulkanDeviceSelection *dev_select, |
nothing calls this directly
no test coverage detected