
Go to the source code of this file.
Data Structures | |
| struct | demux_sys_t |
Defines | |
| #define | SCREEN_SUBSCREEN |
| #define | SCREEN_MOUSE |
Typedefs | |
| typedef struct screen_data_t | screen_data_t |
Functions | |
| int | screen_InitCapture (demux_t *) |
| int | screen_CloseCapture (demux_t *) |
| block_t * | screen_Capture (demux_t *) |
| void | FollowMouse (demux_sys_t *, int, int) |
| void | RenderCursor (demux_t *, int, int, uint8_t *) |
| #define SCREEN_MOUSE |
| #define SCREEN_SUBSCREEN |
Referenced by RenderCursor().
| typedef struct screen_data_t screen_data_t |
| void FollowMouse | ( | demux_sys_t * | , | |
| int | , | |||
| int | ||||
| ) |
References __MIN, demux_sys_t::i_height, demux_sys_t::i_left, demux_sys_t::i_screen_height, demux_sys_t::i_screen_width, demux_sys_t::i_top, and demux_sys_t::i_width.
Referenced by screen_Capture().
| void RenderCursor | ( | demux_t * | , | |
| int | , | |||
| int | , | |||
| uint8_t * | ||||
| ) |
References demux_sys_t::dst, es_format_Init(), demux_sys_t::fmt, filter_t::fmt_in, filter_t::fmt_out, picture_t::format, video_format_t::i_chroma, video_format_t::i_height, demux_sys_t::i_left, picture_t::i_planes, video_format_t::i_sar_den, video_format_t::i_sar_num, demux_sys_t::i_top, video_format_t::i_width, module_need, msg_Err, picture_t::p, demux_sys_t::p_blend, filter_t::p_module, demux_sys_t::p_mouse, plane_t::p_pixels, demux_t::p_sys, picture_Release(), picture_Setup(), SCREEN_SUBSCREEN, es_format_t::video, VIDEO_ES, VLC_CODEC_RGBA, vlc_object_create, and vlc_object_release.
Referenced by screen_Capture().
References demux_sys_t::b_follow_mouse, block_New, CaptureBlockNew(), CAPTUREBLT, CGSGetCurrentCursorLocation(), CGSGetGlobalCursorData(), CGSGetGlobalCursorDataSize(), screen_data_t::connection, screen_data_t::cursor_texture, screen_data_t::dest_height, screen_data_t::dest_width, demux_sys_t::fmt, FollowMouse(), screen_data_t::hdc_dst, screen_data_t::hdc_src, i, video_format_t::i_bits_per_pixel, screen_data_t::i_fragment, screen_data_t::i_fragment_size, video_format_t::i_height, demux_sys_t::i_left, demux_sys_t::i_top, video_format_t::i_width, screen_data_t::left, msg_Err, msg_Warn, screen_data_t::p_bitmap, screen_data_t::p_block, block_t::p_buffer, demux_sys_t::p_data, demux_sys_t::p_mouse, screen_data_t::p_screen, demux_t::p_sys, p_sys, RenderCursor(), screen_data_t::scaled, screen_data_t::screen, screen_data_t::screen_height, size, screen_data_t::src_height, screen_data_t::src_width, screen_data_t::texture, screen_data_t::texture_image, screen_data_t::top, es_format_t::video, and demux_sys_t::x.
Referenced by Demux().
| int screen_CloseCapture | ( | demux_t * | ) |
References block_Release(), CGSReleaseConnection(), screen_data_t::connection, screen_data_t::hdc_dst, screen_data_t::hdc_src, screen_data_t::hgdi_backup, screen_data_t::p_bitmap, screen_data_t::p_block, demux_sys_t::p_data, screen_data_t::p_screen, demux_t::p_sys, p_sys, screen_data_t::screen, and VLC_SUCCESS.
| int screen_InitCapture | ( | demux_t * | ) |
References CGSNewConnection(), screen_data_t::connection, screen_data_t::cursor_texture, screen_data_t::dest_height, screen_data_t::dest_width, es_format_Init(), demux_sys_t::fmt, screen_data_t::hdc_dst, screen_data_t::hdc_src, video_format_t::i_bits_per_pixel, video_format_t::i_bmask, video_format_t::i_chroma, i_chroma, video_format_t::i_gmask, video_format_t::i_height, demux_sys_t::i_left, video_format_t::i_rmask, demux_sys_t::i_top, video_format_t::i_visible_height, video_format_t::i_visible_width, video_format_t::i_width, screen_data_t::left, msg_Err, msg_Warn, screen_data_t::p_bitmap, demux_sys_t::p_data, screen_data_t::p_screen, demux_t::p_sys, p_sys, screen_data_t::scaled, screen_data_t::scaled_image, screen_data_t::screen, screen_data_t::screen_height, screen_data_t::screen_width, screen_data_t::src_height, screen_data_t::src_width, screen_data_t::texture, screen_data_t::texture_image, screen_data_t::top, var_CreateGetInteger, es_format_t::video, VIDEO_ES, VLC_CODEC_RGB15, VLC_CODEC_RGB16, VLC_CODEC_RGB24, VLC_CODEC_RGB32, VLC_CODEC_RGB8, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
1.5.6