ScImageDescription.h File Reference

Go to the source code of this file.

Typedefs

typedef struct
ScOpaqueImageDescription 
ScImageDescription
 

Enumerations

enum  ScImageLayout {
  SC_IMAGE_LAYOUT_UNKNOWN = 0x0000, SC_IMAGE_LAYOUT_GRAY_8U = 0x0001, SC_IMAGE_LAYOUT_RGB_8U = 0x0002, SC_IMAGE_LAYOUT_RGBA_8U = 0x0004,
  SC_IMAGE_LAYOUT_ARGB_8U = 0x0100, SC_IMAGE_LAYOUT_YPCBCR_8U = 0x0008, SC_IMAGE_LAYOUT_YPCRCB_8U = 0x0010, SC_IMAGE_LAYOUT_YUYV_8U = 0x0020,
  SC_IMAGE_LAYOUT_UYVY_8U = 0x0040, SC_IMAGE_LAYOUT_I420_8U = 0x0080, SC_IMAGE_LAYOUT_BGR_8U = 0x0200, SC_IMAGE_LAYOUT_NV16_8U = 0x0800
}
 

Detailed Description

Image description interface.

Enumeration Type Documentation

Specifies the format of the pixel data.

Since
4.6.0
Enumerator
SC_IMAGE_LAYOUT_UNKNOWN 

Image layout is unknown.

SC_IMAGE_LAYOUT_GRAY_8U 

Single-channel 8-bit gray scale image.

When using this pixel layout the width/height and memory size properties of the ScImageDescription must be set.

SC_IMAGE_LAYOUT_RGB_8U 

RGB image with 8 bits per color channel.

When using this pixel layout the width/height and memory size properties of the ScImageDescription must be set.

SC_IMAGE_LAYOUT_RGBA_8U 

RGBA image with 8 bits per color channel.

When using this pixel layout the width/height and memory size properties of the ScImageDescription must be set.

SC_IMAGE_LAYOUT_ARGB_8U 

ARGB image with 8 bits per color channel.

When using this pixel layout the width/height and memory size properties of the ScImageDescription must be set.

SC_IMAGE_LAYOUT_YPCBCR_8U 

YpCbCr 4:2:0 image format.

A bi-planar format with separate Y and CbCr planes.

When using this pixel layout the width, height, memory size as well as the number of bytes per row and the offsets of both data planes must be set.

SC_IMAGE_LAYOUT_YPCRCB_8U 

YpCrCb 4:2:0 image format.

A bi-planar format with separate Y and CrCb planes.

When using this pixel layout the width, height, memory size as well as the number of bytes per row and the offsets of both data planes must be set.

SC_IMAGE_LAYOUT_YUYV_8U 

8-bit YUYV 4:2:2 image format.

The Y, U and V samples are packed together in one image plane. UV are shared between two adjacent pixels in a row.

When using this pixel layout the width/height and memory size properties of the ScImageDescription must be set.

SC_IMAGE_LAYOUT_UYVY_8U 

8-bit UYVY 4:2:2 image format.

The Y, U and V samples are packed together in one image plane. UV are shared between two adjacent pixels in a row.

When using this pixel layout the width/height and memory size properties of the ScImageDescription must be set.

SC_IMAGE_LAYOUT_I420_8U 

I420 format with separate Y, U and V planes.

The Y, U and V image planes are adjacent to each other. U and V are down-sampled by 2x2, e.g. the U and V are shared for a 2x2 macro-block.

When using this pixel layout the width/height and memory size properties of the ScImageDescription must be set.

SC_IMAGE_LAYOUT_BGR_8U 

BGR image with 8 bits per color channel.

Like RGB, but the order of R, G, B is reversed in memory.

When using this pixel layout the width/height and memory size properties of the ScImageDescription must be set.

SC_IMAGE_LAYOUT_NV16_8U 

YpCrCb 4:2:2 image format.

A bi-planar format with separate Y and CrCb planes.

When using this pixel layout the width, height, memory size as well as the number of bytes per row and the offsets of both data planes must be set.