NVIDIA Holoscan SDK v2.0.0
Holoscan v2.0.0 Download PDF

Program Listing for File image_format.hpp

Return to documentation for file (modules/holoviz/src/holoviz/image_format.hpp)

Copy
Copied!
            

/* * SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * * 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. */ #ifndef HOLOSCAN_VIZ_HOLOVIZ_IMAGE_FORMAT_HPP #define HOLOSCAN_VIZ_HOLOVIZ_IMAGE_FORMAT_HPP #include <cstdint> namespace holoscan::viz { enum class ImageFormat { R8_UINT, R8_SINT, R8_UNORM, R8_SNORM, R8_SRGB, R16_UINT, R16_SINT, R16_UNORM, R16_SNORM, R16_SFLOAT, R32_UINT, R32_SINT, R32_SFLOAT, R8G8B8_UNORM, R8G8B8_SNORM, R8G8B8_SRGB, R8G8B8A8_UNORM, R8G8B8A8_SNORM, R8G8B8A8_SRGB, R16G16B16A16_UNORM, R16G16B16A16_SNORM, R16G16B16A16_SFLOAT, R32G32B32A32_SFLOAT, D16_UNORM, X8_D24_UNORM, D32_SFLOAT, }; enum class ComponentSwizzle { IDENTITY, ZERO, ONE, R, G, B, A }; } // namespace holoscan::viz #endif/* HOLOSCAN_VIZ_HOLOVIZ_IMAGE_FORMAT_HPP */

© Copyright 2022-2024, NVIDIA. Last updated on Jun 5, 2024.