Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
screen.h
Package: vlc-1.0.5.zip [view]
Upload User: kjfoods
Upload Date: 2020-07-06
Package Size: 29949k
Code Size: 2k
Category:
midi program
Development Platform:
Unix_Linux
- /*****************************************************************************
- * screen.h: Screen capture module.
- *****************************************************************************
- * Copyright (C) 2004-2008 the VideoLAN team
- * $Id: 28f1433dca9a2053e5d75290e129af855e36bbcd $
- *
- * Authors: Gildas Bazin <gbazin@videolan.org>
- * Antoine Cellerier <dionoea at videolan dot org>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
- #include <vlc_input.h>
- #include <vlc_access.h>
- #include <vlc_demux.h>
- #if !defined( HAVE_BEOS ) && !defined( HAVE_DARWIN )
- # define SCREEN_SUBSCREEN
- # define SCREEN_MOUSE
- #endif
- #ifdef SCREEN_MOUSE
- # include <vlc_image.h>
- #endif
- typedef struct screen_data_t screen_data_t;
- struct demux_sys_t
- {
- es_format_t fmt;
- es_out_id_t *es;
- float f_fps;
- mtime_t i_next_date;
- int i_incr;
- #ifdef SCREEN_SUBSCREEN
- bool b_follow_mouse;
- unsigned int i_screen_height;
- unsigned int i_screen_width;
- unsigned int i_top;
- unsigned int i_left;
- unsigned int i_height;
- unsigned int i_width;
- #endif
- #ifdef SCREEN_MOUSE
- picture_t *p_mouse;
- filter_t *p_blend;
- picture_t dst;
- #endif
- screen_data_t *p_data;
- };
- int screen_InitCapture ( demux_t * );
- int screen_CloseCapture( demux_t * );
- block_t *screen_Capture( demux_t * );
- #ifdef SCREEN_SUBSCREEN
- void FollowMouse( demux_sys_t *, int, int );
- #endif
- #ifdef SCREEN_MOUSE
- void RenderCursor( demux_t *, int, int, uint8_t * );
- #endif