win32text.c File Reference

Include dependency graph for win32text.c:


Data Structures

struct  filter_sys_t
 filter_sys_t: chroma method descriptor More...

Defines

#define FONT_TEXT   N_("Font")
#define FONT_LONGTEXT   N_("Filename for the font you want to use")
#define FONTSIZE_TEXT   N_("Font size in pixels")
#define FONTSIZE_LONGTEXT
#define OPACITY_TEXT   N_("Opacity")
#define OPACITY_LONGTEXT
#define COLOR_TEXT   N_("Text default color")
#define COLOR_LONGTEXT
#define FONTSIZER_TEXT   N_("Relative font size")
#define FONTSIZER_LONGTEXT

Functions

static int Create (vlc_object_t *)
static void Destroy (vlc_object_t *)
static int RenderText (filter_t *, subpicture_region_t *, subpicture_region_t *)
static int Render (filter_t *, subpicture_region_t *, uint8_t *, int, int)
static int SetFont (filter_t *, int)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)

Variables

static int const pi_sizes [] = { 20, 18, 16, 12, 6 }
static char *const ppsz_sizes_text []
static const int pi_color_values []
static const char *const ppsz_color_descriptions []
static const uint8_t pi_gamma [16]

Define Documentation

#define COLOR_LONGTEXT

Value:

N_("The color of the text that will be rendered on "\
  "the video. This must be an hexadecimal (like HTML colors). The first two "\
  "chars are for red, then green, then blue. #000000 = black, #FF0000 = red,"\
  " #00FF00 = green, #FFFF00 = yellow (red + green), #FFFFFF = white" )

#define COLOR_TEXT   N_("Text default color")

#define FONT_LONGTEXT   N_("Filename for the font you want to use")

#define FONT_TEXT   N_("Font")

#define FONTSIZE_LONGTEXT

Value:

N_("This is the default size of the fonts " \
     "that will be rendered on the video. " \
     "If set to something different than 0 this option will override the " \
     "relative font size." )

#define FONTSIZE_TEXT   N_("Font size in pixels")

#define FONTSIZER_LONGTEXT

Value:

N_("This is the relative default size of the " \
  "fonts that will be rendered on the video. If absolute font size is set, "\
   "relative size will be overriden." )

#define FONTSIZER_TEXT   N_("Relative font size")

#define OPACITY_LONGTEXT

Value:

N_("The opacity (inverse of transparency) of the " \
     "text that will be rendered on the video. 0 = transparent, " \
     "255 = totally opaque. " )

#define OPACITY_TEXT   N_("Opacity")


Function Documentation

static int Create ( vlc_object_t p_this  )  [static]

static void Destroy ( vlc_object_t p_this  )  [static]

static int Render ( filter_t p_filter,
subpicture_region_t p_region,
uint8_t *  p_bitmap,
int  i_width,
int  i_height 
) [static]

static int RenderText ( filter_t p_filter,
subpicture_region_t p_region_out,
subpicture_region_t p_region_in 
) [static]

static int SetFont ( filter_t p_filter,
int  i_size 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const int pi_color_values[] [static]

Initial value:

 {
  0x00000000, 0x00808080, 0x00C0C0C0, 0x00FFFFFF, 0x00800000,
  0x00FF0000, 0x00FF00FF, 0x00FFFF00, 0x00808000, 0x00008000, 0x00008080,
  0x0000FF00, 0x00800080, 0x00000080, 0x000000FF, 0x0000FFFF }

const uint8_t pi_gamma[16] [static]

Initial value:

  {0x00, 0x41, 0x52, 0x63, 0x84, 0x85, 0x96, 0xa7, 0xb8, 0xc9,
   0xca, 0xdb, 0xdc, 0xed, 0xee, 0xff}

Referenced by FilterPacked(), FilterPlanar(), Render(), and RenderText().

int const pi_sizes[] = { 20, 18, 16, 12, 6 } [static]

const char* const ppsz_color_descriptions[] [static]

Initial value:

 {
  N_("Black"), N_("Gray"), N_("Silver"), N_("White"), N_("Maroon"),
  N_("Red"), N_("Fuchsia"), N_("Yellow"), N_("Olive"), N_("Green"), N_("Teal"),
  N_("Lime"), N_("Purple"), N_("Navy"), N_("Blue"), N_("Aqua") }

char* const ppsz_sizes_text[] [static]

Initial value:

 {
    N_("Smaller"), N_("Small"), N_("Normal"), N_("Large"), N_("Larger") }


Generated on Tue May 25 08:05:26 2010 for VLC by  doxygen 1.5.6