Classes | Enumerations | Functions

mozilla::gfx Namespace Reference

Classes

class  SharedDIB

Enumerations

enum  YUVType { YV12 = 0, YV16 = 1, YV24 = 2 }
enum  Rotate {
  ROTATE_0, ROTATE_90, ROTATE_180, ROTATE_270,
  MIRROR_ROTATE_0, MIRROR_ROTATE_90, MIRROR_ROTATE_180, MIRROR_ROTATE_270
}
enum  ScaleFilter { FILTER_NONE = 0, FILTER_BILINEAR_H = 1, FILTER_BILINEAR_V = 2, FILTER_BILINEAR = 3 }

Functions

void ConvertYCbCrToRGB565 (const uint8 *yplane, const uint8 *uplane, const uint8 *vplane, uint8 *rgbframe, int pic_x, int pic_y, int pic_width, int pic_height, int ystride, int uvstride, int rgbstride, YUVType yuv_type)
void ConvertYCbCrToRGB32 (const uint8 *yplane, const uint8 *uplane, const uint8 *vplane, uint8 *rgbframe, int pic_x, int pic_y, int pic_width, int pic_height, int ystride, int uvstride, int rgbstride, YUVType yuv_type)
void ScaleYCbCrToRGB32 (const uint8 *yplane, const uint8 *uplane, const uint8 *vplane, uint8 *rgbframe, int source_width, int source_height, int width, int height, int ystride, int uvstride, int rgbstride, YUVType yuv_type, Rotate view_rotate, ScaleFilter filter)

Enumeration Type Documentation

Enumerator:
ROTATE_0 
ROTATE_90 
ROTATE_180 
ROTATE_270 
MIRROR_ROTATE_0 
MIRROR_ROTATE_90 
MIRROR_ROTATE_180 
MIRROR_ROTATE_270 
Enumerator:
FILTER_NONE 
FILTER_BILINEAR_H 
FILTER_BILINEAR_V 
FILTER_BILINEAR 
Enumerator:
YV12 
YV16 
YV24 

Function Documentation

void mozilla::gfx::ConvertYCbCrToRGB32 ( const uint8 yplane,
const uint8 uplane,
const uint8 vplane,
uint8 rgbframe,
int  pic_x,
int  pic_y,
int  pic_width,
int  pic_height,
int  ystride,
int  uvstride,
int  rgbstride,
YUVType  yuv_type 
)
void mozilla::gfx::ConvertYCbCrToRGB565 ( const uint8 yplane,
const uint8 uplane,
const uint8 vplane,
uint8 rgbframe,
int  pic_x,
int  pic_y,
int  pic_width,
int  pic_height,
int  ystride,
int  uvstride,
int  rgbstride,
YUVType  yuv_type 
)
void mozilla::gfx::ScaleYCbCrToRGB32 ( const uint8 yplane,
const uint8 uplane,
const uint8 vplane,
uint8 rgbframe,
int  source_width,
int  source_height,
int  width,
int  height,
int  ystride,
int  uvstride,
int  rgbstride,
YUVType  yuv_type,
Rotate  view_rotate,
ScaleFilter  filter 
)