zvbi.c File Reference

Include dependency graph for zvbi.c:


Data Structures

struct  decoder_sys_t

Defines

#define PAGE_TEXT   N_("Teletext page")
#define PAGE_LONGTEXT
#define OPAQUE_TEXT   N_("Text is always opaque")
#define OPAQUE_LONGTEXT
#define POS_TEXT   N_("Teletext alignment")
#define POS_LONGTEXT
#define TELX_TEXT   N_("Teletext text subtitles")
#define TELX_LONGTEXT
#define MAX_SLICES   32
#define ZVBI_PIXFMT_RGBA32   VBI_PIXFMT_RGBA32_LE
#define OSDMessage(dec, fmt,...)

Enumerations

enum  ttxt_key_id {
  ZVBI_KEY_RED = 'r' << 16, ZVBI_KEY_GREEN = 'g' << 16, ZVBI_KEY_YELLOW = 'y' << 16, ZVBI_KEY_BLUE = 'b' << 16,
  ZVBI_KEY_INDEX = 'i' << 16
}
enum  data_unit_id {
  DATA_UNIT_EBU_TELETEXT_NON_SUBTITLE = 0x02, DATA_UNIT_EBU_TELETEXT_SUBTITLE = 0x03, DATA_UNIT_EBU_TELETEXT_INVERTED = 0x0C, DATA_UNIT_ZVBI_WSS_CPR1204 = 0xB4,
  DATA_UNIT_ZVBI_CLOSED_CAPTION_525 = 0xB5, DATA_UNIT_ZVBI_MONOCHROME_SAMPLES_525 = 0xB6, DATA_UNIT_VPS = 0xC3, DATA_UNIT_WSS = 0xC4,
  DATA_UNIT_CLOSED_CAPTION = 0xC5, DATA_UNIT_MONOCHROME_SAMPLES = 0xC6, DATA_UNIT_STUFFING = 0xFF
}

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static subpicture_tDecode (decoder_t *, block_t **)
static subpicture_tSubpicture (decoder_t *p_dec, video_format_t *p_fmt, bool b_text, int i_columns, int i_rows, int i_align, mtime_t i_pts)
static void EventHandler (vbi_event *ev, void *user_data)
static int OpaquePage (picture_t *p_src, const vbi_page p_page, const video_format_t fmt, bool b_opaque)
static int RequestPage (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data)
static int Opaque (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data)
static int Position (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data)
static int EventKey (vlc_object_t *p_this, char const *psz_cmd, vlc_value_t oldval, vlc_value_t newval, void *p_data)

Variables

static const int pi_pos_values [] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 }
static const char *const ppsz_pos_descriptions []
static const int pi_default_triplet []
static const char *const ppsz_default_triplet []

Define Documentation

#define MAX_SLICES   32

Referenced by Decode().

#define OPAQUE_LONGTEXT

Value:

N_("Setting vbi-opaque to false " \
        "makes the boxed text transparent." )

#define OPAQUE_TEXT   N_("Text is always opaque")

#define OSDMessage ( dec,
fmt,
...   ) 

Value:

do { \
    vout_thread_t *p_vout = vlc_object_find( dec, VLC_OBJECT_VOUT, FIND_ANYWHERE ); \
    if( p_vout ) { \
        vout_OSDMessage( p_vout, fmt, __VA_ARGS__ ); \
        vlc_object_release( p_vout ); \
    } } while(0)

Referenced by EventKey().

#define PAGE_LONGTEXT

Value:

N_("Open the indicated Teletext page." \
        "Default page is index 100")

#define PAGE_TEXT   N_("Teletext page")

#define POS_LONGTEXT

Value:

N_( \
  "You can enforce the teletext position on the video " \
  "(0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
  "also use combinations of these values, eg. 6 = top-right).")

#define POS_TEXT   N_("Teletext alignment")

#define TELX_LONGTEXT

Value:

N_( "Output teletext subtitles as text " \
  "instead of as RGBA" )

#define TELX_TEXT   N_("Teletext text subtitles")

#define ZVBI_PIXFMT_RGBA32   VBI_PIXFMT_RGBA32_LE

Referenced by Decode().


Enumeration Type Documentation

Enumerator:
DATA_UNIT_EBU_TELETEXT_NON_SUBTITLE 
DATA_UNIT_EBU_TELETEXT_SUBTITLE 
DATA_UNIT_EBU_TELETEXT_INVERTED 
DATA_UNIT_ZVBI_WSS_CPR1204 
DATA_UNIT_ZVBI_CLOSED_CAPTION_525 
DATA_UNIT_ZVBI_MONOCHROME_SAMPLES_525 
DATA_UNIT_VPS 
DATA_UNIT_WSS 
DATA_UNIT_CLOSED_CAPTION 
DATA_UNIT_MONOCHROME_SAMPLES 
DATA_UNIT_STUFFING 

Enumerator:
ZVBI_KEY_RED 
ZVBI_KEY_GREEN 
ZVBI_KEY_YELLOW 
ZVBI_KEY_BLUE 
ZVBI_KEY_INDEX 


Function Documentation

static void Close ( vlc_object_t p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

static subpicture_t * Decode ( decoder_t p_dec,
block_t **  pp_block 
) [static]

static void EventHandler ( vbi_event *  ev,
void *  user_data 
) [static]

static int EventKey ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int Opaque ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int OpaquePage ( picture_t p_src,
const vbi_page  p_page,
const video_format_t  fmt,
bool  b_opaque 
) [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static int Position ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int RequestPage ( vlc_object_t p_this,
char const *  psz_cmd,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static subpicture_t * Subpicture ( decoder_t p_dec,
video_format_t p_fmt,
bool  b_text,
int  i_columns,
int  i_rows,
int  i_align,
mtime_t  i_pts 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const int pi_default_triplet[] [static]

Initial value:

 {
 0, 0,           
 8,              
 24,24,24,24,    
 32,32,32,32,32, 
 48,48,          
 64,             
 88,             
 16 }

const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 } [static]

const char* const ppsz_default_triplet[] [static]

Initial value:

 {
 "slo", "cze",
 "pol",
 "ssc", "scr", "slv", "rum",
 "est", "lit", "rus", "bul", "ukr",
 "gre", "ell",
 "ara",
 "heb",
 NULL
}

const char* const ppsz_pos_descriptions[] [static]

Initial value:

{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
  N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") }


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