
Data Structures | |
| struct | decoder_sys_t |
Defines | |
| #define | CDG_SCREEN_WIDTH (300) |
| #define | CDG_SCREEN_HEIGHT (216) |
| #define | CDG_SCREEN_BORDER_WIDTH (6) |
| #define | CDG_SCREEN_BORDER_HEIGHT (12) |
| #define | CDG_DISPLAY_WIDTH (CDG_SCREEN_WIDTH-2*CDG_SCREEN_BORDER_WIDTH) |
| #define | CDG_DISPLAY_HEIGHT (CDG_SCREEN_HEIGHT-2*CDG_SCREEN_BORDER_HEIGHT) |
| #define | CDG_SCREEN_PITCH (CDG_SCREEN_WIDTH) |
| #define | CDG_PACKET_SIZE (24) |
| #define | CDG_COLOR_R_SHIFT ( 0) |
| #define | CDG_COLOR_G_SHIFT ( 8) |
| #define | CDG_COLOR_B_SHIFT (16) |
Functions | |
| static int | Open (vlc_object_t *) |
| Probes and initializes. | |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| static picture_t * | Decode (decoder_t *, block_t **) |
| static int | DecodePacket (decoder_sys_t *p_cdg, uint8_t *p_buffer, int i_buffer) |
| static int | Render (decoder_sys_t *p_cdg, picture_t *p_picture) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static void | ScreenFill (decoder_sys_t *p_cdg, int sx, int sy, int dx, int dy, int c) |
| static int | DecodeMemoryPreset (decoder_sys_t *p_cdg, const uint8_t *p_data) |
| static int | DecodeBorderPreset (decoder_sys_t *p_cdg, const uint8_t *p_data) |
| static int | DecodeLoadColorTable (decoder_sys_t *p_cdg, const uint8_t *p_data, int i_base) |
| static int | DecodeTileBlock (decoder_sys_t *p_cdg, const uint8_t *p_data, int doXor) |
| static int | DecodeScroll (decoder_sys_t *p_cdg, const uint8_t *p_data, int b_copy) |
| static void | RenderPixel (picture_t *p_picture, int x, int y, uint32_t c) |
| static uint32_t | RenderRGB (int r, int g, int b) |
| #define CDG_COLOR_B_SHIFT (16) |
Referenced by RenderRGB().
| #define CDG_COLOR_G_SHIFT ( 8) |
Referenced by RenderRGB().
| #define CDG_COLOR_R_SHIFT ( 0) |
Referenced by RenderRGB().
| #define CDG_DISPLAY_HEIGHT (CDG_SCREEN_HEIGHT-2*CDG_SCREEN_BORDER_HEIGHT) |
Referenced by Render().
| #define CDG_DISPLAY_WIDTH (CDG_SCREEN_WIDTH-2*CDG_SCREEN_BORDER_WIDTH) |
Referenced by Render().
| #define CDG_PACKET_SIZE (24) |
Referenced by Decode(), and DecodePacket().
| #define CDG_SCREEN_BORDER_HEIGHT (12) |
Referenced by DecodeBorderPreset(), DecodeScroll(), and Render().
| #define CDG_SCREEN_BORDER_WIDTH (6) |
Referenced by DecodeBorderPreset(), DecodeScroll(), and Render().
| #define CDG_SCREEN_HEIGHT (216) |
Referenced by DecodeBorderPreset(), DecodeMemoryPreset(), and DecodeScroll().
| #define CDG_SCREEN_PITCH (CDG_SCREEN_WIDTH) |
Referenced by DecodeScroll(), DecodeTileBlock(), Render(), and ScreenFill().
| #define CDG_SCREEN_WIDTH (300) |
Referenced by DecodeBorderPreset(), DecodeMemoryPreset(), and DecodeScroll().
| 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.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
References BLOCK_FLAG_CORRUPTED, BLOCK_FLAG_DISCONTINUITY, block_Release(), CDG_PACKET_SIZE, picture_t::date, DecodePacket(), decoder_NewPicture(), block_t::i_buffer, block_t::i_dts, block_t::i_flags, decoder_sys_t::i_packet, block_t::i_pts, block_t::p_buffer, decoder_t::p_sys, Render(), and VLC_TS_INVALID.
| static int DecodeBorderPreset | ( | decoder_sys_t * | p_cdg, | |
| const uint8_t * | p_data | |||
| ) | [static] |
References CDG_SCREEN_BORDER_HEIGHT, CDG_SCREEN_BORDER_WIDTH, CDG_SCREEN_HEIGHT, CDG_SCREEN_WIDTH, i_color, and ScreenFill().
Referenced by DecodePacket().
| static int DecodeLoadColorTable | ( | decoder_sys_t * | p_cdg, | |
| const uint8_t * | p_data, | |||
| int | i_base | |||
| ) | [static] |
| static int DecodeMemoryPreset | ( | decoder_sys_t * | p_cdg, | |
| const uint8_t * | p_data | |||
| ) | [static] |
References CDG_SCREEN_HEIGHT, CDG_SCREEN_WIDTH, i_color, and ScreenFill().
Referenced by DecodePacket().
| static int DecodePacket | ( | decoder_sys_t * | p_cdg, | |
| uint8_t * | p_buffer, | |||
| int | i_buffer | |||
| ) | [static] |
References CDG_PACKET_SIZE, DecodeBorderPreset(), DecodeLoadColorTable(), DecodeMemoryPreset(), DecodeScroll(), DecodeTileBlock(), and decoder_sys_t::i_packet.
Referenced by Decode(), and ProcessPacket().
| static int DecodeScroll | ( | decoder_sys_t * | p_cdg, | |
| const uint8_t * | p_data, | |||
| int | b_copy | |||
| ) | [static] |
References CDG_SCREEN_BORDER_HEIGHT, CDG_SCREEN_BORDER_WIDTH, CDG_SCREEN_HEIGHT, CDG_SCREEN_PITCH, CDG_SCREEN_WIDTH, decoder_sys_t::i_offseth, decoder_sys_t::i_offsetv, decoder_sys_t::screen, and ScreenFill().
Referenced by DecodePacket().
| static int DecodeTileBlock | ( | decoder_sys_t * | p_cdg, | |
| const uint8_t * | p_data, | |||
| int | doXor | |||
| ) | [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:
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.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
| static int Render | ( | decoder_sys_t * | p_cdg, | |
| picture_t * | p_picture | |||
| ) | [static] |
References b, CDG_DISPLAY_HEIGHT, CDG_DISPLAY_WIDTH, CDG_SCREEN_BORDER_HEIGHT, CDG_SCREEN_BORDER_WIDTH, CDG_SCREEN_PITCH, decoder_sys_t::color, decoder_sys_t::i_offseth, decoder_sys_t::i_offsetv, decoder_sys_t::p_screen, RenderPixel(), and RenderRGB().
Referenced by Create(), Decode(), ParsePacket(), RenderText(), and Run().
| static void RenderPixel | ( | picture_t * | p_picture, | |
| int | x, | |||
| int | y, | |||
| uint32_t | c | |||
| ) | [static] |
| static uint32_t RenderRGB | ( | int | r, | |
| int | g, | |||
| int | b | |||
| ) | [static] |
| static void ScreenFill | ( | decoder_sys_t * | p_cdg, | |
| int | sx, | |||
| int | sy, | |||
| int | dx, | |||
| int | dy, | |||
| int | c | |||
| ) | [static] |
References CDG_SCREEN_PITCH, and decoder_sys_t::p_screen.
Referenced by DecodeBorderPreset(), DecodeMemoryPreset(), and DecodeScroll().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
1.5.6