GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
copy_pixels.c File Reference
#include "dx_hw.h"
+ Include dependency graph for copy_pixels.c:

Functions

static u32 get_yuv_base (u32 in_pf)
 
static Bool format_is_yuv (u32 in_pf)
 
static Bool is_planar_yuv (u32 pf)
 
static void write_yv12_to_yuv (GF_VideoSurface *vs, unsigned char *pY, u32 src_stride, u32 src_pf, u32 src_width, u32 src_height, const GF_Window *src_wnd, u8 *pU, u8 *pV)
 
static void write_yvyu_to_yuv (GF_VideoSurface *vs, unsigned char *src, u32 src_stride, u32 src_pf, u32 src_width, u32 src_height, const GF_Window *src_wnd)
 
u32 get_bpp (u32 pf)
 
void rgb_to_24 (GF_VideoSurface *vs, unsigned char *src, u32 src_stride, u32 src_w, u32 src_h, u32 src_pf, const GF_Window *src_wnd)
 
void rgb_to_555 (GF_VideoSurface *vs, unsigned char *src, u32 src_stride, u32 src_w, u32 src_h, u32 src_pf, const GF_Window *src_wnd)
 
void rgb_to_565 (GF_VideoSurface *vs, unsigned char *src, u32 src_stride, u32 src_w, u32 src_h, u32 src_pf, const GF_Window *src_wnd)
 
void rgb_to_32 (GF_VideoSurface *vs, unsigned char *src, u32 src_stride, u32 src_w, u32 src_h, u32 src_pf, const GF_Window *src_wnd)
 
void dx_copy_pixels (GF_VideoSurface *dst_s, const GF_VideoSurface *src_s, const GF_Window *src_wnd)
 

Function Documentation

static u32 get_yuv_base ( u32  in_pf)
static

+ Here is the caller graph for this function:

static Bool format_is_yuv ( u32  in_pf)
static

+ Here is the caller graph for this function:

static Bool is_planar_yuv ( u32  pf)
static

+ Here is the caller graph for this function:

static void write_yv12_to_yuv ( GF_VideoSurface vs,
unsigned char *  pY,
u32  src_stride,
u32  src_pf,
u32  src_width,
u32  src_height,
const GF_Window src_wnd,
u8 pU,
u8 pV 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void write_yvyu_to_yuv ( GF_VideoSurface vs,
unsigned char *  src,
u32  src_stride,
u32  src_pf,
u32  src_width,
u32  src_height,
const GF_Window src_wnd 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 get_bpp ( u32  pf)

+ Here is the caller graph for this function:

void rgb_to_24 ( GF_VideoSurface vs,
unsigned char *  src,
u32  src_stride,
u32  src_w,
u32  src_h,
u32  src_pf,
const GF_Window src_wnd 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void rgb_to_555 ( GF_VideoSurface vs,
unsigned char *  src,
u32  src_stride,
u32  src_w,
u32  src_h,
u32  src_pf,
const GF_Window src_wnd 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void rgb_to_565 ( GF_VideoSurface vs,
unsigned char *  src,
u32  src_stride,
u32  src_w,
u32  src_h,
u32  src_pf,
const GF_Window src_wnd 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void rgb_to_32 ( GF_VideoSurface vs,
unsigned char *  src,
u32  src_stride,
u32  src_w,
u32  src_h,
u32  src_pf,
const GF_Window src_wnd 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void dx_copy_pixels ( GF_VideoSurface dst_s,
const GF_VideoSurface src_s,
const GF_Window src_wnd 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: