IC4_IMAGE_TYPE Struct Reference

Represents an image type, including pixel format and image dimensions. More...

Data Fields

enum IC4_PIXEL_FORMAT  pixel_format

Specifies the pixel format of the image.

uint32_t width

Specifies the width of the image.

uint32_t height

Specifies the height of the image.

Detailed Description

Represents an image type, including pixel format and image dimensions.

Using a partially-specified image type is allowed when defining the buffer format of a sink. The sink will fill the other fields with data from the device automatically.

Field Documentation

◆ height

uint32_t height

Specifies the height of the image.

Setting height to 0 creates a partially-specified image type.

◆ pixel_format

enum IC4_PIXEL_FORMAT pixel_format

Specifies the pixel format of the image.

Setting pixel_format to IC4_PIXEL_FORMAT_Unspecified creates a partially-specified image type.

◆ width

uint32_t width

Specifies the width of the image.

Setting width to 0 creates a partially-specified image type.