mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-15 20:30:00 +01:00
Initial checkin of veejay 1.4
git-svn-id: svn://code.dyne.org/veejay/trunk@1172 eb8d1916-c9e9-0310-b8de-cf0c9472ead5
This commit is contained in:
42
veejay-current/veejay-server/libstream/vj-vloopback.h
Normal file
42
veejay-current/veejay-server/libstream/vj-vloopback.h
Normal file
@@ -0,0 +1,42 @@
|
||||
/* veejay - Linux VeeJay
|
||||
* (C) 2002-2005 Niels Elburg <nwelburg@gmail.com>
|
||||
*
|
||||
*
|
||||
* 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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
void *vj_vloopback_open(const char *device_name, int norm, int mode,
|
||||
int w, int h, int pixel_format);
|
||||
// if using write mode
|
||||
int vj_vloopback_start_pipe( void *vloop );
|
||||
int vj_vloopback_write_pipe( void *vloop );
|
||||
|
||||
// resfresh buffer every cycle
|
||||
int vj_vloopback_fill_buffer( void *vloop, uint8_t **image );
|
||||
|
||||
// if using mmap mode
|
||||
//int vj_vloopback_start_mmap( void *vloop );
|
||||
|
||||
//int vj_vloopback_ioctl( void *vloop, unsigned long int cmd, void *arg );
|
||||
void vj_vlooopback_close( void *vloop );
|
||||
|
||||
int vj_vloopback_get_mode( void *vloop );
|
||||
void vj_vloopback_close( void *vloop );
|
||||
|
||||
|
||||
//void vj_vloopback_signal_handler( void *vloop, int sig_no );
|
||||
|
||||
Reference in New Issue
Block a user