LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Macros | Functions
colourspace.h File Reference

Go to the source code of this file.

Data Structures

struct  uyvy_macropixel
 
struct  yuyv_macropixel
 
struct  yuv411_macropixel
 
struct  lives_cc_params
 

Macros

#define SCREEN_GAMMA   2.2
 
#define BLACK_THRESH   20
 if R,G and B values are all <= this, we consider it a "black" pixel More...
 

Functions

void * convert_rgb_to_uyvy_frame_thread (void *cc_params)
 
void * convert_bgr_to_uyvy_frame_thread (void *cc_params)
 
void * convert_rgb_to_yuyv_frame_thread (void *cc_params)
 
void * convert_bgr_to_yuyv_frame_thread (void *cc_params)
 
void * convert_argb_to_uyvy_frame_thread (void *cc_params)
 
void * convert_argb_to_yuyv_frame_thread (void *cc_params)
 
void * convert_rgb_to_yuv_frame_thread (void *cc_params)
 
void * convert_bgr_to_yuv_frame_thread (void *cc_params)
 
void * convert_argb_to_yuv_frame_thread (void *cc_params)
 
void * convert_rgb_to_yuvp_frame_thread (void *cc_params)
 
void * convert_bgr_to_yuvp_frame_thread (void *cc_params)
 
void * convert_argb_to_yuvp_frame_thread (void *cc_params)
 
void * convert_uyvy_to_rgb_frame_thread (void *cc_params)
 
void * convert_uyvy_to_bgr_frame_thread (void *cc_params)
 
void * convert_uyvy_to_argb_frame_thread (void *cc_params)
 
void * convert_yuyv_to_rgb_frame_thread (void *cc_params)
 
void * convert_yuyv_to_bgr_frame_thread (void *cc_params)
 
void * convert_yuyv_to_argb_frame_thread (void *cc_params)
 
void * convert_yuv_planar_to_rgb_frame_thread (void *cc_params)
 
void * convert_yuv_planar_to_bgr_frame_thread (void *cc_params)
 
void * convert_yuv_planar_to_argb_frame_thread (void *cc_params)
 
void * convert_yuv888_to_rgb_frame_thread (void *cc_params)
 
void * convert_yuv888_to_bgr_frame_thread (void *cc_params)
 
void * convert_yuv888_to_argb_frame_thread (void *cc_params)
 
void * convert_yuva8888_to_rgba_frame_thread (void *cc_params)
 
void * convert_yuva8888_to_bgra_frame_thread (void *cc_params)
 
void * convert_yuva8888_to_argb_frame_thread (void *cc_params)
 
void * convert_swap3_frame_thread (void *cc_params)
 
void * convert_swap4_frame_thread (void *cc_params)
 
void * convert_swap3addpost_frame_thread (void *cc_params)
 
void * convert_swap3addpre_frame_thread (void *cc_params)
 
void * convert_swap3delpost_frame_thread (void *cc_params)
 
void * convert_swap3delpre_frame_thread (void *cc_params)
 
void * convert_addpre_frame_thread (void *cc_params)
 
void * convert_addpost_frame_thread (void *cc_params)
 
void * convert_delpre_frame_thread (void *cc_params)
 
void * convert_delpost_frame_thread (void *cc_params)
 
void * convert_swap3postalpha_frame_thread (void *cc_params)
 
void * convert_swapprepost_frame_thread (void *cc_params)
 
void * convert_swab_frame_thread (void *cc_params)
 
boolean convert_layer_palette (weed_plant_t *layer, int outpl, int op_clamping)
 
boolean convert_layer_palette_with_sampling (weed_plant_t *layer, int outpl, int out_sampling)
 
boolean convert_layer_palette_full (weed_plant_t *layer, int outpl, int osamtype, boolean oclamping, int osubspace)
 
boolean resize_layer (weed_plant_t *layer, int width, int height, LiVESInterpType interp, int opal_hint, int oclamp_hint)
 
void letterbox_layer (weed_plant_t *layer, int width, int height, int nwidth, int nheight)
 
void compact_rowstrides (weed_plant_t *layer)
 
void weed_layer_pixel_data_free (weed_plant_t *layer)
 
void create_empty_pixel_data (weed_plant_t *layer, boolean black_fill, boolean may_contig)
 
void insert_blank_frames (int sfileno, int nframes, int after)
 
void pixel_data_planar_from_membuf (void **pixel_data, void *data, size_t size, int palette)
 
LiVESPixbuf * layer_to_pixbuf (weed_plant_t *layer)
 
boolean pixbuf_to_layer (weed_plant_t *layer, LiVESPixbuf *) WARN_UNUSED
 
weed_plant_t * weed_layer_copy (weed_plant_t *dlayer, weed_plant_t *slayer)
 
void weed_layer_free (weed_plant_t *layer)
 
weed_plant_t * weed_layer_new (int width, int height, int *rowstrides, int current_palette)
 
int weed_layer_get_palette (weed_plant_t *layer)
 
lives_painter_t * layer_to_lives_painter (weed_plant_t *layer)
 
boolean lives_painter_to_layer (lives_painter_t *cairo, weed_plant_t *layer)
 
void alpha_unpremult (weed_plant_t *layer, boolean un)
 
boolean weed_palette_is_valid_palette (int pal)
 
boolean weed_palette_is_alpha_palette (int pal)
 
boolean weed_palette_is_rgb_palette (int pal)
 
boolean weed_palette_is_yuv_palette (int pal)
 
boolean weed_palette_is_float_palette (int pal)
 
boolean weed_palette_has_alpha_channel (int pal)
 
int weed_palette_get_bits_per_macropixel (int pal)
 
int weed_palette_get_pixels_per_macropixel (int pal)
 
int weed_palette_get_numplanes (int pal)
 
double weed_palette_get_plane_ratio_horizontal (int pal, int plane)
 
double weed_palette_get_plane_ratio_vertical (int pal, int plane)
 
boolean weed_palette_is_lower_quality (int p1, int p2)
 return TRUE if p1 is lower quality than p2 More...
 
boolean weed_palette_is_resizable (int pal, int clamped, boolean in_out)
 
double weed_palette_get_compression_ratio (int pal)
 
int get_weed_palette_for_lives_painter (void)
 
boolean lives_pixbuf_is_all_black (LiVESPixbuf *pixbuf)
 
void lives_pixbuf_set_opaque (LiVESPixbuf *pixbuf)
 
const char * weed_palette_get_name (int pal)
 
const char * weed_yuv_clamping_get_name (int clamping)
 
const char * weed_yuv_subspace_get_name (int subspace)
 
char * weed_palette_get_name_full (int pal, int clamped, int subspace)
 

Macro Definition Documentation

#define BLACK_THRESH   20

if R,G and B values are all <= this, we consider it a "black" pixel

#define SCREEN_GAMMA   2.2

Function Documentation

void alpha_unpremult ( weed_plant_t *  layer,
boolean  un 
)
void compact_rowstrides ( weed_plant_t *  layer)
void* convert_addpost_frame_thread ( void *  cc_params)
void* convert_addpre_frame_thread ( void *  cc_params)
void* convert_argb_to_uyvy_frame_thread ( void *  cc_params)
void* convert_argb_to_yuv_frame_thread ( void *  cc_params)
void* convert_argb_to_yuvp_frame_thread ( void *  cc_params)
void* convert_argb_to_yuyv_frame_thread ( void *  cc_params)
void* convert_bgr_to_uyvy_frame_thread ( void *  cc_params)
void* convert_bgr_to_yuv_frame_thread ( void *  cc_params)
void* convert_bgr_to_yuvp_frame_thread ( void *  cc_params)
void* convert_bgr_to_yuyv_frame_thread ( void *  cc_params)
void* convert_delpost_frame_thread ( void *  cc_params)
void* convert_delpre_frame_thread ( void *  cc_params)
boolean convert_layer_palette ( weed_plant_t *  layer,
int  outpl,
int  op_clamping 
)
boolean convert_layer_palette_full ( weed_plant_t *  layer,
int  outpl,
int  osamtype,
boolean  oclamping,
int  osubspace 
)
boolean convert_layer_palette_with_sampling ( weed_plant_t *  layer,
int  outpl,
int  out_sampling 
)
void* convert_rgb_to_uyvy_frame_thread ( void *  cc_params)
void* convert_rgb_to_yuv_frame_thread ( void *  cc_params)
void* convert_rgb_to_yuvp_frame_thread ( void *  cc_params)
void* convert_rgb_to_yuyv_frame_thread ( void *  cc_params)
void* convert_swab_frame_thread ( void *  cc_params)
void* convert_swap3_frame_thread ( void *  cc_params)
void* convert_swap3addpost_frame_thread ( void *  cc_params)
void* convert_swap3addpre_frame_thread ( void *  cc_params)
void* convert_swap3delpost_frame_thread ( void *  cc_params)
void* convert_swap3delpre_frame_thread ( void *  cc_params)
void* convert_swap3postalpha_frame_thread ( void *  cc_params)
void* convert_swap4_frame_thread ( void *  cc_params)
void* convert_swapprepost_frame_thread ( void *  cc_params)
void* convert_uyvy_to_argb_frame_thread ( void *  cc_params)
void* convert_uyvy_to_bgr_frame_thread ( void *  cc_params)
void* convert_uyvy_to_rgb_frame_thread ( void *  cc_params)
void* convert_yuv888_to_argb_frame_thread ( void *  cc_params)
void* convert_yuv888_to_bgr_frame_thread ( void *  cc_params)
void* convert_yuv888_to_rgb_frame_thread ( void *  cc_params)
void* convert_yuv_planar_to_argb_frame_thread ( void *  cc_params)
void* convert_yuv_planar_to_bgr_frame_thread ( void *  cc_params)
void* convert_yuv_planar_to_rgb_frame_thread ( void *  cc_params)
void* convert_yuva8888_to_argb_frame_thread ( void *  cc_params)
void* convert_yuva8888_to_bgra_frame_thread ( void *  cc_params)
void* convert_yuva8888_to_rgba_frame_thread ( void *  cc_params)
void* convert_yuyv_to_argb_frame_thread ( void *  cc_params)
void* convert_yuyv_to_bgr_frame_thread ( void *  cc_params)
void* convert_yuyv_to_rgb_frame_thread ( void *  cc_params)
void create_empty_pixel_data ( weed_plant_t *  layer,
boolean  black_fill,
boolean  may_contig 
)
int get_weed_palette_for_lives_painter ( void  )
void insert_blank_frames ( int  sfileno,
int  nframes,
int  after 
)
lives_painter_t* layer_to_lives_painter ( weed_plant_t *  layer)
LiVESPixbuf* layer_to_pixbuf ( weed_plant_t *  layer)
void letterbox_layer ( weed_plant_t *  layer,
int  width,
int  height,
int  nwidth,
int  nheight 
)
boolean lives_painter_to_layer ( lives_painter_t *  cairo,
weed_plant_t *  layer 
)
boolean lives_pixbuf_is_all_black ( LiVESPixbuf *  pixbuf)
void lives_pixbuf_set_opaque ( LiVESPixbuf *  pixbuf)
boolean pixbuf_to_layer ( weed_plant_t *  layer,
LiVESPixbuf *   
)
void pixel_data_planar_from_membuf ( void **  pixel_data,
void *  data,
size_t  size,
int  palette 
)
boolean resize_layer ( weed_plant_t *  layer,
int  width,
int  height,
LiVESInterpType  interp,
int  opal_hint,
int  oclamp_hint 
)
weed_plant_t* weed_layer_copy ( weed_plant_t *  dlayer,
weed_plant_t *  slayer 
)
void weed_layer_free ( weed_plant_t *  layer)
int weed_layer_get_palette ( weed_plant_t *  layer)
weed_plant_t* weed_layer_new ( int  width,
int  height,
int *  rowstrides,
int  current_palette 
)
void weed_layer_pixel_data_free ( weed_plant_t *  layer)
int weed_palette_get_bits_per_macropixel ( int  pal)
double weed_palette_get_compression_ratio ( int  pal)
const char* weed_palette_get_name ( int  pal)
char* weed_palette_get_name_full ( int  pal,
int  clamped,
int  subspace 
)
int weed_palette_get_numplanes ( int  pal)
int weed_palette_get_pixels_per_macropixel ( int  pal)
double weed_palette_get_plane_ratio_horizontal ( int  pal,
int  plane 
)
double weed_palette_get_plane_ratio_vertical ( int  pal,
int  plane 
)
boolean weed_palette_has_alpha_channel ( int  pal)
boolean weed_palette_is_alpha_palette ( int  pal)
boolean weed_palette_is_float_palette ( int  pal)
boolean weed_palette_is_lower_quality ( int  p1,
int  p2 
)

return TRUE if p1 is lower quality than p2

boolean weed_palette_is_resizable ( int  pal,
int  clamped,
boolean  in_out 
)
boolean weed_palette_is_rgb_palette ( int  pal)
boolean weed_palette_is_valid_palette ( int  pal)
boolean weed_palette_is_yuv_palette ( int  pal)
const char* weed_yuv_clamping_get_name ( int  clamping)
const char* weed_yuv_subspace_get_name ( int  subspace)