Files
veejay/veejay-current/veejay-server/libstream/vj-vloopback.h
2015-05-22 20:58:32 +02:00

27 lines
1.1 KiB
C

/* 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.
*/
#ifndef VV_VLOOPBACK_H
#define VV_VLOOPBACK_H
void *vj_vloopback_open(const char *device_name, int norm, int mode, int w, int h, int pixel_format);
int vj_vloopback_start_pipe( void *vloop );
int vj_vloopback_write_pipe( void *vloop );
int vj_vloopback_fill_buffer( void *vloop, uint8_t **image );
void vj_vloopback_close( void *vloop );
#endif