SqueezeBrains SDK 1.13
sb_t_image Struct Reference

Defines an image. More...

#include <sb.h>

Collaboration diagram for sb_t_image:

Data Fields

unsigned char * data
 Pointer to the data.
 
unsigned char * free_data
 
int width
 Width, in pixel, of the image.
 
int height
 Height, in pixel, of the image.
 
int width_step
 Number of bytes to move the pointer to one row to the next one.
 
int size
 Dimension, in bytes, of the vector sb_t_image::data .
 
int free_data_size
 
sb_t_image_format format
 Format of the image pixel.
 
int bytes_per_pixel
 Number of bytes of each pixel. More...
 
sb_t_image_compress_type compression
 Image compression type.
 
int free_rle
 
sb_t_rle rle
 Image rle data (valid in case the image compression type is SB_IMAGE_COMPRESS_RLE)
 

Detailed Description

Defines an image.

Definition at line 7309 of file sb.h.

Field Documentation

◆ bytes_per_pixel

int sb_t_image::bytes_per_pixel

Number of bytes of each pixel.

The values are:

Definition at line 7328 of file sb.h.

◆ free_data

unsigned char* sb_t_image::free_data

If different than NULL, it is the pointer data to be freed.

Warning
This field must be set only by the functions of the library.

Definition at line 7312 of file sb.h.

◆ free_data_size

int sb_t_image::free_data_size

Dimension, in bytes, of the vector sb_t_image::free_data .

Warning
This field must be set only by the functions of the library.

Definition at line 7318 of file sb.h.

◆ free_rle

int sb_t_image::free_rle

If different than 0, the rle must be freed.

Warning
This field must be set only by the functions of the library.

Definition at line 7331 of file sb.h.


The documentation for this struct was generated from the following file: