mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-12-02 06:43:02 -08:00
Pass offset for vulkan video encode
This commit is contained in:
1 parent
7c1ac06e4a
commit
5d3fc63306
1 file changed
+5
-3
@@ -457,9 +457,11 @@ void wivrn::video_encoder_vulkan::present_image(vk::Image src_yuv, vk::raii::Com
|
||||
.dstBuffer = output_buffer,
|
||||
.dstBufferOffset = 0,
|
||||
.dstBufferRange = output_buffer_size,
|
||||
.srcPictureResource = {.codedExtent = rect.extent,
|
||||
.baseArrayLayer = 0,
|
||||
.imageViewBinding = image_view},
|
||||
.srcPictureResource = {
|
||||
.codedOffset = rect.offset,
|
||||
.codedExtent = rect.extent,
|
||||
.baseArrayLayer = 0,
|
||||
.imageViewBinding = image_view},
|
||||
.pSetupReferenceSlot = &slot->info,
|
||||
};
|
||||
if (ref_slot)
|
||||
|
||||
Reference in new issue
Block a user