VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
VSTGUI::PixelBuffer Namespace Reference

Namespaces

namespace  Private
 

Enumerations

enum  Format { ARGB, RGBA, ABGR, BGRA }
 

Functions

void convert (Format srcFormat, Format dstFormat, uint8_t *buffer, uint32_t bytesPerRow, uint32_t width, uint32_t height)
 Convert a buffer of 32 bit pixels from one format to another.
 

Enumeration Type Documentation

enum Format
Enumerator
ARGB 
RGBA 
ABGR 
BGRA 

Function Documentation

void convert ( Format  srcFormat,
Format  dstFormat,
uint8_t *  buffer,
uint32_t  bytesPerRow,
uint32_t  width,
uint32_t  height 
)

Convert a buffer of 32 bit pixels from one format to another.

Parameters
srcFormatSource Pixel Format
dstFormatDestination Pixel Format
bufferPixel Buffer
bytesPerRowNumber of bytes per row in buffer
widthNumber of pixels per row
heightNumber of rows