vpi.Format
- class vpi.Format
Define the format of an
image
.An image format defines how image pixels are interpreted.
These image formats are guaranteed to work with algorithms that explicitly support them.
Attributes
Number of planes in the image format.
Number of channels in the image format.
Enumeration values
Invalid format, used when no format is selected.
Single plane with one 8-bit unsigned integer channel.
Single plane with one block-linear 8-bit unsigned integer channel.
Single plane with one 8-bit signed integer channel.
Single plane with one 16-bit unsigned integer channel.
Single plane with one 32-bit unsigned integer channel.
Single plane with one 32-bit signed integer channel.
Single plane with one 16-bit signed integer channel.
Single plane with one block-linear 16-bit signed integer channel.
Single plane with two interleaved 16-bit signed integer channel.
Single plane with two interleaved block-linear 16-bit signed integer channel.
Single plane with one 32-bit floating point channel.
Single plane with one 64-bit floating point channel.
Single plane with two interleaved 32-bit floating point channels.
Single plane with one pitch-linear 8-bit unsigned integer channel with limited-range luma (grayscale) information. Values range from 16 to 235. Below this range is considered black, above is considered white.
Single plane with one block-linear 8-bit unsigned integer channel with limited-range luma (grayscale) information. Values range from 16 to 235. Below this range is considered black, above is considered white.
Single plane with one pitch-linear 8-bit unsigned integer channel with full-range luma (grayscale) information. Values range from 0 to 255.
Single plane with one block-linear 8-bit unsigned integer channel with full-range luma (grayscale) information. Values range from 0 to 255.
Single plane with one pitch-linear 16-bit unsigned integer channel with limited-range luma (grayscale) information. Values range from 4096 to 60160. Below this range is considered black, above is considered white.
Single plane with one block-linear 16-bit unsigned integer channel with limited-range luma (grayscale) information. Values range from 4096 to 60160. Below this range is considered black, above is considered white.
Single plane with one pitch-linear 16-bit unsigned integer channel with full-range luma (grayscale) information. Values range from 0 to 65535.
Single plane with one block-linear 16-bit unsigned integer channel with full-range luma (grayscale) information. Values range from 0 to 65535.
YUV420 8-bit pitch-linear format with limited range.
YUV420 8-bit block-linear format with limited range.
YUV420 8-bit pitch-linear format with full range.
YUV420 8-bit block-linear format with full range.
YUV444 8-bit pitch-linear format with limited range.
YUV444 8-bit block-linear format with limited range.
YUV444 8-bit pitch-linear format with full range.
YUV444 8-bit block-linear format with full range.
YUV422 8-bit pitch-linear format in one plane with UYVY ordering and limited range.
YUV422 8-bit block-linear format in one plane with UYVY ordering and limited range.
YUV422 8-bit pitch-linear format in one plane with UYVY ordering and full range.
YUV422 8-bit block-linear format in one plane with UYVY ordering and full range.
YUV422 8-bit pitch-linear format in one plane with YUYV ordering and limited range. Also known as YUY2 format.
YUV422 8-bit block-linear format in one plane with YUYV ordering and limited range. Also known as YUY2 format.
YUV422 8-bit pitch-linear format in one plane with YUYV ordering and full range. Also known as YUY2 format.
YUV422 8-bit block-linear format in one plane with YUYV ordering and full range. Also known as YUY2 format.
Single plane with interleaved RGB 8-bit channel.
Single plane with interleaved BGR 8-bit channel.
Single plane with interleaved RGBA 8-bit channel.
Single plane with interleaved BGRA 8-bit channel.