
Defines | |
| #define | TOP_FIELD 1 |
| #define | BOTTOM_FIELD 2 |
| #define | FRAME_PICTURE 3 |
| #define | I_TYPE 1 |
| #define | P_TYPE 2 |
| #define | B_TYPE 3 |
| #define | D_TYPE 4 |
| #define | ADAPTOR_TEXT N_("XVMC adaptor number") |
| #define | ADAPTOR_LONGTEXT |
| #define | DISPLAY_TEXT N_("X11 display name") |
| #define | DISPLAY_LONGTEXT |
| #define | CHROMA_TEXT N_("XVimage chroma format") |
| #define | CHROMA_LONGTEXT |
| #define | SHM_TEXT N_("Use shared memory") |
| #define | SHM_LONGTEXT |
| #define | MODE_TEXT N_("Deinterlace mode") |
| #define | MODE_LONGTEXT N_("You can choose the default deinterlace mode") |
| #define | CROP_TEXT N_("Crop") |
| #define | CROP_LONGTEXT N_("You can choose the crop style to apply.") |
| #define | NUM_ACCEL_PRIORITY (sizeof(accel_priority)/sizeof(accel_priority[0])) |
Functions | |
| int | Activate (vlc_object_t *) |
| void | Deactivate (vlc_object_t *) |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static void | init_context_lock (context_lock_t *c) |
| void | free_context_lock (context_lock_t *c) |
| void | xvmc_context_reader_lock (context_lock_t *c) |
| void | xvmc_context_reader_unlock (context_lock_t *c) |
| void | xvmc_context_writer_lock (context_lock_t *c) |
| void | xvmc_context_writer_unlock (context_lock_t *c) |
| void | clear_xx44_palette (xx44_palette_t *p) |
| static void | init_xx44_palette (xx44_palette_t *p, unsigned num_entries) |
| static void | dispose_xx44_palette (xx44_palette_t *p) |
| static void | colorToPalette (const uint32_t *icolor, unsigned char *palette_p, unsigned num_xvmc_components, char *xvmc_components) |
| void | xx44_to_xvmc_palette (const xx44_palette_t *p, unsigned char *xvmc_palette, unsigned first_xx44_entry, unsigned num_xx44_entries, unsigned num_xvmc_components, char *xvmc_components) |
| void | blend_xx44 (uint8_t *dst_img, subpicture_t *sub_img, int dst_width, int dst_height, int dst_pitch, xx44_palette_t *palette, int ia44) |
| int | xxmc_xvmc_surface_valid (vout_thread_t *p_vout, XvMCSurface *surf) |
| XvMCSubpicture * | xxmc_xvmc_alloc_subpicture (vout_thread_t *p_vout, XvMCContext *context, unsigned short width, unsigned short height, int xvimage_id) |
| void | xxmc_xvmc_free_subpicture (vout_thread_t *p_vout, XvMCSubpicture *sub) |
| static void | xxmc_xvmc_surface_handler_construct (vout_thread_t *p_vout) |
| static void | xxmc_xvmc_dump_surfaces (vout_thread_t *p_vout) |
| void | xxmc_xvmc_free_surface (vout_thread_t *p_vout, XvMCSurface *surf) |
| int | checkXvMCCap (vout_thread_t *p_vout) |
| static int | xxmc_setup_subpictures (vout_thread_t *p_vout, unsigned int width, unsigned int height) |
| static void | xvmc_check_colorkey_properties (vout_thread_t *p_vout) |
| static void | xxmc_xvmc_destroy_surfaces (vout_thread_t *p_vout) |
| static void | xxmc_xvmc_destroy_subpictures (vout_thread_t *p_vout) |
| static XvMCSurface * | xxmc_xvmc_alloc_surface (vout_thread_t *p_vout, XvMCContext *context) |
| void | xxmc_dispose_context (vout_thread_t *p_vout) |
| static int | xxmc_find_context (vout_thread_t *p_vout, vlc_xxmc_t *xxmc, unsigned int width, unsigned int height) |
| static int | xxmc_create_context (vout_thread_t *p_vout, unsigned int width, unsigned int height) |
| static void | xvmc_flushsync (picture_t *picture) |
| static void | xvmc_flush (picture_t *picture) |
| static int | xxmc_frame_updates (vout_thread_t *p_vout, picture_t *picture) |
| static int | xxmc_xvmc_update_context (vout_thread_t *p_vout, picture_t *picture, uint32_t width, uint32_t height) |
| void | xxmc_do_update_frame (picture_t *picture, uint32_t width, uint32_t height, double ratio, int format, int flags) |
| void | xvmc_vld_frame (picture_t *picture) |
| void | xvmc_vld_slice (picture_t *picture) |
Variables | |
| static const unsigned | accel_priority [] |
| #define ADAPTOR_LONGTEXT |
Value:
N_( \ "If you graphics card provides several adaptors, this option allows you " \ "to choose which one will be used (you shouldn't have to change this).")
| #define ADAPTOR_TEXT N_("XVMC adaptor number") |
| #define B_TYPE 3 |
| #define BOTTOM_FIELD 2 |
| #define CHROMA_LONGTEXT |
Value:
N_( \ "Force the XVideo renderer to use a specific chroma format instead of " \ "trying to improve performances by using the most efficient one.")
| #define CHROMA_TEXT N_("XVimage chroma format") |
| #define CROP_LONGTEXT N_("You can choose the crop style to apply.") |
| #define CROP_TEXT N_("Crop") |
| #define D_TYPE 4 |
| #define DISPLAY_LONGTEXT |
Value:
N_( \ "Specify the X11 hardware display you want to use. By default VLC will " \ "use the value of the DISPLAY environment variable.")
| #define DISPLAY_TEXT N_("X11 display name") |
| #define FRAME_PICTURE 3 |
| #define I_TYPE 1 |
| #define MODE_LONGTEXT N_("You can choose the default deinterlace mode") |
| #define MODE_TEXT N_("Deinterlace mode") |
| #define NUM_ACCEL_PRIORITY (sizeof(accel_priority)/sizeof(accel_priority[0])) |
Referenced by xxmc_find_context().
| #define P_TYPE 2 |
| #define SHM_LONGTEXT |
Value:
N_( \ "Use shared memory to communicate between VLC and the X server.")
| #define SHM_TEXT N_("Use shared memory") |
| #define TOP_FIELD 1 |
| int Activate | ( | vlc_object_t * | ) |
| void blend_xx44 | ( | uint8_t * | dst_img, | |
| subpicture_t * | sub_img, | |||
| int | dst_width, | |||
| int | dst_height, | |||
| int | dst_pitch, | |||
| xx44_palette_t * | palette, | |||
| int | ia44 | |||
| ) |
References i_color, p_sys, subpicture_t::p_sys, and VLC_UNUSED.
| int checkXvMCCap | ( | vout_thread_t * | p_vout | ) |
References c, init_context_lock(), init_xx44_palette(), msg_Dbg, msg_Err, vout_sys_t::p_display, vout_thread_t::p_sys, VLC_EGENERIC, VLC_SUCCESS, VLC_XVMC_ACCEL_IDCT, VLC_XVMC_ACCEL_MOCOMP, VLC_XVMC_ACCEL_VLD, VLC_XVMC_MPEG_1, VLC_XVMC_MPEG_2, VLC_XVMC_MPEG_4, xvmc_context_writer_lock(), xvmc_context_writer_unlock(), and xxmc_xvmc_surface_handler_construct().
Referenced by Activate().
| void clear_xx44_palette | ( | xx44_palette_t * | p | ) |
References i.
| static void colorToPalette | ( | const uint32_t * | icolor, | |
| unsigned char * | palette_p, | |||
| unsigned | num_xvmc_components, | |||
| char * | xvmc_components | |||
| ) | [static] |
| void Deactivate | ( | vlc_object_t * | ) |
| static void dispose_xx44_palette | ( | xx44_palette_t * | p | ) | [static] |
| void free_context_lock | ( | context_lock_t * | c | ) |
Referenced by Deactivate().
| static void init_context_lock | ( | context_lock_t * | c | ) | [static] |
Referenced by checkXvMCCap().
| static void init_xx44_palette | ( | xx44_palette_t * | p, | |
| unsigned | num_entries | |||
| ) | [static] |
Referenced by checkXvMCCap(), and xxmc_setup_subpictures().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
| static void xvmc_check_colorkey_properties | ( | vout_thread_t * | p_vout | ) | [static] |
References msg_Dbg, name, vout_sys_t::p_display, and vout_thread_t::p_sys.
Referenced by xxmc_xvmc_update_context().
| void xvmc_context_reader_lock | ( | context_lock_t * | c | ) |
Referenced by DisplayVideo(), ManageVideo(), xvmc_flush(), xvmc_flushsync(), xvmc_vld_frame(), and xvmc_vld_slice().
| void xvmc_context_reader_unlock | ( | context_lock_t * | c | ) |
Referenced by DisplayVideo(), ManageVideo(), xvmc_flush(), xvmc_flushsync(), xvmc_vld_frame(), and xvmc_vld_slice().
| void xvmc_context_writer_lock | ( | context_lock_t * | c | ) |
Referenced by checkXvMCCap(), Deactivate(), and xxmc_do_update_frame().
| void xvmc_context_writer_unlock | ( | context_lock_t * | c | ) |
Referenced by checkXvMCCap(), Deactivate(), and xxmc_do_update_frame().
| static void xvmc_flush | ( | picture_t * | picture | ) | [static] |
References msg_Dbg, vout_sys_t::p_display, vout_thread_t::p_sys, picture_t::p_sys, xvmc_context_reader_lock(), xvmc_context_reader_unlock(), and xxmc_xvmc_surface_valid().
Referenced by xxmc_frame_updates().
| static void xvmc_flushsync | ( | picture_t * | picture | ) | [static] |
References msg_Dbg, vout_sys_t::p_display, vout_thread_t::p_sys, picture_t::p_sys, xvmc_context_reader_lock(), xvmc_context_reader_unlock(), and xxmc_xvmc_surface_valid().
Referenced by xxmc_frame_updates().
| void xvmc_vld_frame | ( | picture_t * | picture | ) |
References picture_t::b_top_field_first, vlc_vld_frame_s::backward_reference_picture, vlc_vld_frame_s::concealment_motion_vectors, vlc_vld_frame_s::forward_reference_picture, vlc_vld_frame_s::intra_dc_precision, vlc_vld_frame_s::intra_quantizer_matrix, vlc_vld_frame_s::intra_vlc_format, vlc_vld_frame_s::load_intra_quantizer_matrix, vlc_vld_frame_s::load_non_intra_quantizer_matrix, vlc_vld_frame_s::mpeg_coding, vlc_vld_frame_s::mv_ranges, vlc_vld_frame_s::non_intra_quantizer_matrix, vout_sys_t::p_display, vout_thread_t::p_sys, picture_t::p_sys, p_sys, P_TYPE, vlc_vld_frame_s::picture_coding_type, vlc_vld_frame_s::picture_structure, vlc_vld_frame_s::pred_dct_frame, vlc_vld_frame_s::progressive_sequence, vlc_vld_frame_s::q_scale_type, vlc_vld_frame_s::scan, vlc_vld_frame_s::second_field, xvmc_context_reader_lock(), xvmc_context_reader_unlock(), and xxmc_xvmc_surface_valid().
Referenced by xxmc_frame_updates().
| void xvmc_vld_slice | ( | picture_t * | picture | ) |
References msg_Err, vout_sys_t::p_display, vout_thread_t::p_sys, picture_t::p_sys, p_sys, xvmc_context_reader_lock(), xvmc_context_reader_unlock(), and xxmc_xvmc_surface_valid().
Referenced by xxmc_frame_updates().
| void xx44_to_xvmc_palette | ( | const xx44_palette_t * | p, | |
| unsigned char * | xvmc_palette, | |||
| unsigned | first_xx44_entry, | |||
| unsigned | num_xx44_entries, | |||
| unsigned | num_xvmc_components, | |||
| char * | xvmc_components | |||
| ) |
References colorToPalette(), and i.
| static int xxmc_create_context | ( | vout_thread_t * | p_vout, | |
| unsigned int | width, | |||
| unsigned int | height | |||
| ) | [static] |
References msg_Dbg, vout_sys_t::p_display, and vout_thread_t::p_sys.
Referenced by xxmc_xvmc_update_context().
| void xxmc_dispose_context | ( | vout_thread_t * | p_vout | ) |
| void xxmc_do_update_frame | ( | picture_t * | picture, | |
| uint32_t | width, | |||
| uint32_t | height, | |||
| double | ratio, | |||
| int | format, | |||
| int | flags | |||
| ) |
References vlc_xxmc_s::acceleration, picture_t::b_force, picture_t::format, video_format_t::i_chroma, vlc_xvmc_s::macroblocks, vlc_xxmc_s::mpeg, vout_sys_t::p_display, vout_thread_t::p_sys, picture_t::p_sys, VLC_UNUSED, vlc_xxmc_s::xvmc, xvmc_context_writer_lock(), xvmc_context_writer_unlock(), xxmc_frame_updates(), and xxmc_xvmc_update_context().
Referenced by NewPicture().
| static int xxmc_find_context | ( | vout_thread_t * | p_vout, | |
| vlc_xxmc_t * | xxmc, | |||
| unsigned int | width, | |||
| unsigned int | height | |||
| ) | [static] |
References accel_priority, vlc_xxmc_s::acceleration, vlc_xxmc_s::mpeg, msg_Dbg, NUM_ACCEL_PRIORITY, and vout_thread_t::p_sys.
Referenced by xxmc_xvmc_update_context().
| static int xxmc_frame_updates | ( | vout_thread_t * | p_vout, | |
| picture_t * | picture | |||
| ) | [static] |
References vlc_xxmc_s::acceleration, msg_Err, picture_sys_t::p_image, vout_thread_t::p_sys, picture_t::p_sys, vlc_xvmc_s::proc_macro_block, vlc_xxmc_s::proc_xxmc_begin, vlc_xxmc_s::proc_xxmc_flush, vlc_xxmc_s::proc_xxmc_flushsync, vlc_xxmc_s::proc_xxmc_slice, VLC_EGENERIC, VLC_SUCCESS, vlc_xxmc_s::xvmc, xvmc_flush(), xvmc_flushsync(), xvmc_vld_frame(), xvmc_vld_slice(), xxmc_dispose_context(), xxmc_xvmc_alloc_surface(), xxmc_xvmc_free_surface(), and xxmc_xvmc_surface_valid().
Referenced by xxmc_do_update_frame().
| static int xxmc_setup_subpictures | ( | vout_thread_t * | p_vout, | |
| unsigned int | width, | |||
| unsigned int | height | |||
| ) | [static] |
| XvMCSubpicture* xxmc_xvmc_alloc_subpicture | ( | vout_thread_t * | p_vout, | |
| XvMCContext * | context, | |||
| unsigned short | width, | |||
| unsigned short | height, | |||
| int | xvimage_id | |||
| ) |
References msg_Dbg, vout_sys_t::p_display, and vout_thread_t::p_sys.
Referenced by xxmc_setup_subpictures().
| static XvMCSurface* xxmc_xvmc_alloc_surface | ( | vout_thread_t * | p_vout, | |
| XvMCContext * | context | |||
| ) | [static] |
References msg_Dbg, vout_sys_t::p_display, vout_thread_t::p_sys, and xxmc_xvmc_dump_surfaces().
Referenced by xxmc_frame_updates().
| static void xxmc_xvmc_destroy_subpictures | ( | vout_thread_t * | p_vout | ) | [static] |
| static void xxmc_xvmc_destroy_surfaces | ( | vout_thread_t * | p_vout | ) | [static] |
| static void xxmc_xvmc_dump_surfaces | ( | vout_thread_t * | p_vout | ) | [static] |
References msg_Dbg, and vout_thread_t::p_sys.
Referenced by xxmc_xvmc_alloc_surface(), and xxmc_xvmc_free_surface().
| void xxmc_xvmc_free_subpicture | ( | vout_thread_t * | p_vout, | |
| XvMCSubpicture * | sub | |||
| ) |
| void xxmc_xvmc_free_surface | ( | vout_thread_t * | p_vout, | |
| XvMCSurface * | surf | |||
| ) |
References msg_Dbg, vout_thread_t::p_sys, and xxmc_xvmc_dump_surfaces().
Referenced by FreePicture(), xxmc_frame_updates(), and xxmc_xvmc_update_context().
| static void xxmc_xvmc_surface_handler_construct | ( | vout_thread_t * | p_vout | ) | [static] |
| int xxmc_xvmc_surface_valid | ( | vout_thread_t * | p_vout, | |
| XvMCSurface * | surf | |||
| ) |
References handler(), and vout_thread_t::p_sys.
Referenced by DisplayVideo(), xvmc_flush(), xvmc_flushsync(), xvmc_vld_frame(), xvmc_vld_slice(), and xxmc_frame_updates().
| static int xxmc_xvmc_update_context | ( | vout_thread_t * | p_vout, | |
| picture_t * | picture, | |||
| uint32_t | width, | |||
| uint32_t | height | |||
| ) | [static] |
References vlc_xxmc_s::acceleration, vlc_xxmc_s::mpeg, msg_Dbg, vout_thread_t::p_sys, picture_t::p_sys, VLC_EGENERIC, xvmc_check_colorkey_properties(), xxmc_create_context(), xxmc_dispose_context(), xxmc_find_context(), xxmc_setup_subpictures(), and xxmc_xvmc_free_surface().
Referenced by xxmc_do_update_frame().
const unsigned accel_priority[] [static] |
1.5.6