mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-25 16:48:11 +00:00
vkh265dec: add missing VPS parameter
and fix coded size Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6400>
This commit is contained in:
parent
a6608d72e6
commit
fc0ef6ede6
1 changed files with 2 additions and 1 deletions
|
@ -1307,6 +1307,7 @@ _update_parameters (GstVulkanH265Decoder * self, const GstH265PPS * pps)
|
||||||
/* .pNext = */
|
/* .pNext = */
|
||||||
.maxStdSPSCount = params.stdSPSCount,
|
.maxStdSPSCount = params.stdSPSCount,
|
||||||
.maxStdPPSCount = params.stdPPSCount,
|
.maxStdPPSCount = params.stdPPSCount,
|
||||||
|
.maxStdVPSCount = params.stdVPSCount,
|
||||||
.pParametersAddInfo = ¶ms,
|
.pParametersAddInfo = ¶ms,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -1387,7 +1388,7 @@ _fill_ref_slot (GstVulkanH265Decoder * self, GstH265Picture * picture,
|
||||||
*res = (VkVideoPictureResourceInfoKHR) {
|
*res = (VkVideoPictureResourceInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR,
|
||||||
.codedOffset = { self->x, self->y },
|
.codedOffset = { self->x, self->y },
|
||||||
.codedExtent = { self->width, self->height },
|
.codedExtent = { self->coded_width, self->coded_height },
|
||||||
.baseArrayLayer = self->decoder->layered_dpb ? pic->slot_idx : 0,
|
.baseArrayLayer = self->decoder->layered_dpb ? pic->slot_idx : 0,
|
||||||
.imageViewBinding = pic->base.img_view_ref->view,
|
.imageViewBinding = pic->base.img_view_ref->view,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue