31 Aug 2021, 09:24 by wenbin.c...@intel.com:

> According to spec, if we use VkBindImagePlaneMemoryInfo to bind image
> we mush create image with disjoint flag.
> The offset in subresourcelayout is relative to the base address of
> the plane, but the offset in drm is relative to the drm objectis so
> I think this offset should be 0.
> Also, when I import vaapi frame to vulkan I got broken frame, and
> setting plane_data->offset to 0 makes command works.
>
> Signed-off-by: Wenbin Chen <wenbin.c...@intel.com>
>

I don't quite get the point of this. Is there some situation where
clients may want to change the modifier of the image they're allocating,
like maybe use a different modifier when allocating images that would
be used as framebuffers to be presented?
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to