Public Types | Public Member Functions | Public Attributes

media::image_t Struct Reference
[Base Image Library]

this is a basic image object. More...

#include <image-base.h>

List of all members.

Public Types

enum  eConstants { eMaxString = 8 }

Public Member Functions

 image_t (void) throw ()
 ~image_t (void) throw ()
void clear (void) throw ()
void setImageType (const char *type) throw ()
bool isValid (void) const throw ()
void dump (const char *txt) const throw ()
void allocate (void)

Public Attributes

int32_t width
int32_t height
int32_t bit_depth
eColorFormat color_format
int32_t bytes_per_pixel
char imageType [eMaxString]

Detailed Description

this is a basic image object.

Contains some image metadata as well as the actual pixel data. Use the color_format and bytes_per_pixel to determine how to interpret the raw data.

Definition at line 82 of file image-base.h.

Member Enumeration Documentation


Definition at line 84 of file image-base.h.

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