mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
vulkan/video: drop unused function.
This looks to have been left over. Reviewed-by: Hyunjun Ko <zzoon@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27066>
This commit is contained in:
parent
7ed27bff0b
commit
57d83cb99c
1 changed files with 0 additions and 12 deletions
|
|
@ -415,18 +415,6 @@ vk_video_session_parameters_finish(struct vk_device *device,
|
|||
vk_object_base_finish(¶ms->base);
|
||||
}
|
||||
|
||||
static VkResult
|
||||
update_sps(struct vk_video_session_parameters *params,
|
||||
uint32_t count, const StdVideoH264SequenceParameterSet *adds)
|
||||
{
|
||||
if (params->h264_dec.std_sps_count + count >= params->h264_dec.max_std_sps_count)
|
||||
return VK_ERROR_TOO_MANY_OBJECTS;
|
||||
|
||||
typed_memcpy(¶ms->h264_dec.std_sps[params->h264_dec.std_sps_count], adds, count);
|
||||
params->h264_dec.std_sps_count += count;
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
static VkResult
|
||||
update_h264_dec_session_parameters(struct vk_video_session_parameters *params,
|
||||
const struct VkVideoDecodeH264SessionParametersAddInfoKHR *h264_add)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue