Program Listing for File bitmap_structs.h

Program Listing for File bitmap_structs.h#

Return to documentation for file (inc/bitmap_structs.h)

// SPDX-FileCopyrightText: 2025 Carl Zeiss Microscopy GmbH
//
// SPDX-License-Identifier: MIT

#pragma once

#include <cstdint>

#pragma pack(push, 4)

struct BitmapInfoInterop
{
    std::uint32_t width;
    std::uint32_t height;
    std::int32_t pixelType;
};

struct BitmapLockInfoInterop
{
    void* ptrData;
    void* ptrDataRoi;
    std::uint32_t stride;
    std::uint64_t size;
};

#pragma pack(pop)