/* Copyright (c) 2022-2024 The Khronos Group Inc. * Copyright (c) 2022-2024 RasterGrid Kft. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #pragma once #include "state_tracker/state_object.h" #include "utils/hash_util.h" #include <vulkan/utility/vk_safe_struct.hpp> #include <memory> #include <mutex> #include <vector> #include <functional> class ValidationStateTracker; namespace vvl { class Image; class ImageView; class VideoSession; SupportedVideoProfiles; // The VideoProfileDesc contains the entire video profile description, which includes all // parameters specified in VkVideoProfileInfoKHR and its pNext chain. This includes any // parameters specific to the coding operation type (e.g. decode/encode usage hints/modes) // and the codec. Accordingly, hashing and comparison takes into consideration all the // relevant parameters. class VideoProfileDesc : public std::enable_shared_from_this<VideoProfileDesc> { … }; class VideoPictureResource { … }; VideoPictureResources; BoundVideoPictureResources; struct VideoPictureID { … }; struct VideoReferenceSlot { … }; struct VideoEncodeRateControlLayerState { … }; struct VideoEncodeRateControlState { … }; class VideoSessionDeviceState { … }; class VideoSession : public StateObject { … }; class VideoSessionParameters : public StateObject { … }; VideoSessionUpdateList; VideoSessionUpdateMap; } // namespace vvl