|
static GF_Err | color_write_nv12_10_to_yuv (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_up) |
|
static GF_Err | color_write_yv12_10_to_yuv (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, const GF_Window *_src_wnd, Bool swap_up) |
|
static GF_Err | color_write_yuv422_10_to_yuv422 (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_up) |
|
static GF_Err | color_write_yuv422_10_to_yuv (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_up) |
|
static GF_Err | color_write_yuv444_10_to_yuv444 (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_up) |
|
static GF_Err | color_write_yuv444_10_to_yuv (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_up) |
|
static GF_Err | color_write_yuv420_to_yuv (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_uv) |
|
static GF_Err | color_write_yuv422_to_yuv (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_uv) |
|
static GF_Err | color_write_yuv444_to_yuv (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_uv) |
|
static GF_Err | color_write_yvyu_to_yuv (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd, Bool swap_uv) |
|
static GF_Err | color_write_rgb_to_24 (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd) |
|
static GF_Err | color_write_rgb_to_32 (GF_VideoSurface *vs_dst, GF_VideoSurface *vs_src, GF_Window *_src_wnd) |
|
static GFINLINE u8 | colmask (s32 a, s32 n) |
|
static void | yuv2rgb_init (void) |
|
static void | yuv_load_lines_planar (unsigned char *dst, s32 dststride, unsigned char *y_src, unsigned char *u_src, unsigned char *v_src, s32 y_stride, s32 uv_stride, s32 width, Bool dst_yuv) |
|
static void | yuv422_load_lines_planar (unsigned char *dst, s32 dststride, unsigned char *y_src, unsigned char *u_src, unsigned char *v_src, s32 y_stride, s32 uv_stride, s32 width, Bool dst_yuv) |
|
static void | yuv444_load_lines_planar (unsigned char *dst, s32 dststride, unsigned char *y_src, unsigned char *u_src, unsigned char *v_src, s32 y_stride, s32 uv_stride, s32 width, Bool dst_yuv) |
|
static void | yuv_10_load_lines_planar (unsigned char *dst, s32 dststride, unsigned char *_y_src, unsigned char *_u_src, unsigned char *_v_src, s32 y_stride, s32 uv_stride, s32 width, Bool dst_yuv) |
|
static void | yuv422_10_load_lines_planar (unsigned char *dst, s32 dststride, unsigned char *_y_src, unsigned char *_u_src, unsigned char *_v_src, s32 y_stride, s32 uv_stride, s32 width, Bool dst_yuv) |
|
static void | yuv444_10_load_lines_planar (unsigned char *dst, s32 dststride, unsigned char *_y_src, unsigned char *_u_src, unsigned char *_v_src, s32 y_stride, s32 uv_stride, s32 width, Bool dst_yuv) |
|
static void | yuv_load_lines_packed (unsigned char *dst, s32 dststride, unsigned char *y_src, unsigned char *u_src, unsigned char *v_src, s32 width, Bool dst_yuv) |
|
static void | yuva_load_lines (unsigned char *dst, s32 dststride, unsigned char *y_src, unsigned char *u_src, unsigned char *v_src, unsigned char *a_src, s32 y_stride, s32 uv_stride, s32 width, Bool dst_yuv) |
|
static s32 | mul255 (s32 a, s32 b) |
|
static void | copy_row_rgb_555 (u8 *src, u32 src_w, u8 *_dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | copy_row_rgb_565 (u8 *src, u32 src_w, u8 *_dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | copy_row_rgb_24 (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | copy_row_bgr_24 (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | copy_row_bgrx (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | copy_row_argb (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | copy_row_rgbx (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | copy_row_rgbd (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_rgb_555 (u8 *src, u32 src_w, u8 *_dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_rgb_565 (u8 *src, u32 src_w, u8 *_dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_rgb_24 (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_bgr_24 (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_bgrx (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_rgbx (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_bgra (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_argb (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | merge_row_rgba (u8 *src, u32 src_w, u8 *dst, u32 dst_w, s32 h_inc, s32 x_pitch, u8 alpha, u32 dst_pitch, u32 dst_height) |
|
static void | load_line_grey (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_alpha_grey (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_grey_alpha (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_rgb_555 (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_rgb_565 (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_rgb_24 (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_bgr_24 (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_rgb_32 (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_xrgb (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_bgrx (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_rgbd (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_rgbds (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_bgra (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_argb (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_yv12 (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, u8 *pV, Bool dst_yuv) |
|
static void | load_line_yuv422 (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, u8 *pV, Bool dst_yuv) |
|
static void | load_line_yuv444 (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, u8 *pV, Bool dst_yuv) |
|
static void | load_line_yv12_10 (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, u8 *pV, Bool dst_yuv) |
|
static void | load_line_yuv422_10 (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, u8 *pV, Bool dst_yuv) |
|
static void | load_line_yuv444_10 (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, u8 *pV, Bool dst_yuv) |
|
static void | load_line_yuva (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, u8 *pV, u8 *pA, Bool dst_yuv) |
|
static void | load_line_yuyv (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_uyvy (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_yvyu (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | load_line_vyuy (u8 *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, Bool dst_yuv) |
|
static void | gf_yuv_load_lines_nv12_nv21 (unsigned char *dst, s32 dststride, unsigned char *y_src, unsigned char *u_src, unsigned char *v_src, s32 y_stride, s32 width, Bool dst_yuv) |
|
static void | load_line_nv12 (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, Bool dst_yuv) |
|
static void | load_line_nv21 (char *src_bits, u32 x_offset, u32 y_offset, u32 y_pitch, u32 width, u32 height, u8 *dst_bits, u8 *pU, Bool dst_yuv) |
|
static Bool | format_is_yuv (u32 in_pf) |
|
GF_EXPORT GF_Err | gf_stretch_bits (GF_VideoSurface *dst, GF_VideoSurface *src, GF_Window *dst_wnd, GF_Window *src_wnd, u8 alpha, Bool flip, GF_ColorKey *key, GF_ColorMatrix *cmat) |
| stretches two video surfaces More...
|
|
GF_EXPORT void | gf_cmx_init (GF_ColorMatrix *_this) |
|
static void | gf_cmx_identity (GF_ColorMatrix *_this) |
|
GF_EXPORT void | gf_cmx_set (GF_ColorMatrix *_this, Fixed c1, Fixed c2, Fixed c3, Fixed c4, Fixed c5, Fixed c6, Fixed c7, Fixed c8, Fixed c9, Fixed c10, Fixed c11, Fixed c12, Fixed c13, Fixed c14, Fixed c15, Fixed c16, Fixed c17, Fixed c18, Fixed c19, Fixed c20) |
|
GF_EXPORT void | gf_cmx_copy (GF_ColorMatrix *_this, GF_ColorMatrix *from) |
|
GF_EXPORT void | gf_cmx_multiply (GF_ColorMatrix *_this, GF_ColorMatrix *w) |
| color matrix multiplication More...
|
|
GF_EXPORT void | gf_cmx_apply_argb (GF_ColorMatrix *_this, u8 *a_, u8 *r_, u8 *g_, u8 *b_) |
| color matrix transform More...
|
|
GF_EXPORT GF_Color | gf_cmx_apply (GF_ColorMatrix *_this, GF_Color col) |
| color matrix transform More...
|
|
GF_EXPORT u64 | gf_cmx_apply_wide (GF_ColorMatrix *_this, u64 col) |
| color matrix transform on wide pixel (16 bit per component) More...
|
|
GF_EXPORT void | gf_cmx_apply_fixed (GF_ColorMatrix *_this, Fixed *a, Fixed *r, Fixed *g, Fixed *b) |
| color components matrix transform More...
|
|
static Bool | is_planar_yuv (u32 pf) |
|
u32 | get_bpp (u32 pf) |
|
GF_EXPORT GF_Color | gf_color_parse (const char *name) |
|
GF_EXPORT const char * | gf_color_get_name (GF_Color col) |
|
GF_EXPORT Bool | gf_color_enum (u32 *idx, GF_Color *col, const char **color_name) |
|