ScImageDescription.h
Go to the documentation of this file.
306 void sc_image_description_set_first_plane_offset(ScImageDescription *description, uint32_t offset);
345 uint32_t sc_image_description_get_second_plane_row_bytes(ScImageDescription const *description);
383 void sc_image_description_set_second_plane_offset(ScImageDescription *description, uint32_t offset);
409 void sc_image_description_set_memory_size(ScImageDescription *description, uint32_t memory_size);
void sc_image_description_set_height(ScImageDescription *description, uint32_t height)
Set height of image.
uint32_t sc_image_description_get_width(ScImageDescription const *description)
Get width of image.
void sc_image_description_set_width(ScImageDescription *description, uint32_t width)
Set width of image.
uint32_t sc_image_description_get_height(ScImageDescription const *description)
Get height of image.
RGBA image with 8 bits per color channel.
Definition: ScImageDescription.h:49
void sc_image_description_set_second_plane_row_bytes(ScImageDescription *description, uint32_t row_bytes)
Set the number of bytes per row for the second data plane.
void sc_image_description_set_first_plane_row_bytes(ScImageDescription *description, uint32_t row_bytes)
Set the number of bytes per row for first data plane.
ScImageDescription * sc_image_description_new(void)
Create a new image description.
void sc_image_description_set_first_plane_offset(ScImageDescription *description, uint32_t offset)
Set the start offset of the first data plane.
uint32_t sc_image_description_get_second_plane_offset(ScImageDescription const *description)
Get the start offset of the second data plane.
ARGB image with 8 bits per color channel.
Definition: ScImageDescription.h:57
ScImageLayout
Specifies the format of the pixel data.
Definition: ScImageDescription.h:24
Describes dimensions as well as internal memory layout of an image buffer.
uint32_t sc_image_description_get_memory_size(ScImageDescription const *description)
Get the total memory size of the frame data.
uint32_t sc_image_description_get_first_plane_offset(ScImageDescription const *description)
Get start offset of the first data plane.
uint32_t sc_image_description_get_second_plane_row_bytes(ScImageDescription const *description)
Get the number of bytes per row for the second data plane.
Common definitions used throughout the ScanditSDK API.
uint32_t sc_image_description_get_first_plane_row_bytes(ScImageDescription const *description)
Get the number of bytes per row for the first data plane.
void sc_image_description_set_memory_size(ScImageDescription *description, uint32_t memory_size)
Set the total memory size of the frame data.
void sc_image_description_retain(ScImageDescription *description)
Increase reference count of image description by one.
I420 format with separate Y, U and V planes.
Definition: ScImageDescription.h:110
void sc_image_description_release(ScImageDescription *description)
Decrease reference count of image description by one.
void sc_image_description_set_layout(ScImageDescription *description, ScImageLayout layout)
Set the image layout.
ScImageLayout sc_image_description_get_layout(ScImageDescription const *description)
Get the image layout.
void sc_image_description_set_second_plane_offset(ScImageDescription *description, uint32_t offset)
Set the start offset of the second data plane.