Lines Matching refs:swf
3815 const AVFrame *swf, int from) in vulkan_transfer_data() argument
3830 const int planes = av_pix_fmt_count_planes(swf->format); in vulkan_transfer_data()
3835 if ((swf->format != AV_PIX_FMT_NONE && !av_vkfmt_from_pixfmt(swf->format))) { in vulkan_transfer_data()
3840 if (swf->width > hwfc->width || swf->height > hwfc->height) in vulkan_transfer_data()
3849 map->format = swf->format; in vulkan_transfer_data()
3855 err = av_frame_copy((AVFrame *)(from ? swf : map), from ? map : swf); in vulkan_transfer_data()
3878 get_plane_wh(&p_w, &p_h, swf->format, swf->width, swf->height, i); in vulkan_transfer_data()
3880 tmp.linesize[i] = FFABS(swf->linesize[i]); in vulkan_transfer_data()
3883 if (map_host && swf->linesize[i] > 0) { in vulkan_transfer_data()
3885 offs = (uintptr_t)swf->data[i] % p->hprops.minImportedHostPointerAlignment; in vulkan_transfer_data()
3886 import_desc.pHostPointer = swf->data[i] - offs; in vulkan_transfer_data()
3927 get_plane_wh(&p_w, &p_h, swf->format, swf->width, swf->height, i); in vulkan_transfer_data()
3930 (const uint8_t *)swf->data[i], swf->linesize[i], in vulkan_transfer_data()
3931 FFMIN(tmp.linesize[i], FFABS(swf->linesize[i])), in vulkan_transfer_data()
3941 swf->width, swf->height, swf->format, from); in vulkan_transfer_data()
3952 get_plane_wh(&p_w, &p_h, swf->format, swf->width, swf->height, i); in vulkan_transfer_data()
3954 av_image_copy_plane_uc_from(swf->data[i], swf->linesize[i], in vulkan_transfer_data()
3956 FFMIN(tmp.linesize[i], FFABS(swf->linesize[i])), in vulkan_transfer_data()