Module: Mesa Branch: main Commit: 57d83cb99cab81be58534c7d468c8bd7bb9f9e6f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=57d83cb99cab81be58534c7d468c8bd7bb9f9e6f
Author: Dave Airlie <airl...@redhat.com> Date: Mon Jan 15 15:23:13 2024 +1000 vulkan/video: drop unused function. This looks to have been left over. Reviewed-by: Hyunjun Ko <zz...@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27066> --- src/vulkan/runtime/vk_video.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/vulkan/runtime/vk_video.c b/src/vulkan/runtime/vk_video.c index f3153b4a1f6..167c5879120 100644 --- a/src/vulkan/runtime/vk_video.c +++ b/src/vulkan/runtime/vk_video.c @@ -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)