Files
veejay/veejay-current/veejay-server/liblzo/lzo.h
2013-05-17 19:13:55 +02:00

32 lines
1.3 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 LZOH
#define LZOH
void *lzo_new( );
void lzo_print_buf( uint8_t *buf, int len );
void lzo_free( void *lzo );
long lzo_compress( void *lzo, uint8_t *src, uint8_t *plane, unsigned int *size, int ilen );
long lzo_decompress420into422( void *lzo, uint8_t *linbuf, int linbuf_len, uint8_t *dst[3], int w, int h );
long lzo_decompress_el( void *lzo, uint8_t *linbuf, int linbuf_len,uint8_t *dst[3], int uv_len);
long lzo_decompress( void *lzo, uint8_t *linbuf, int linbuf_len,uint8_t *dst[3], int uv_len, uint32_t s1, uint32_t s2, uint32_t s3 );
#endif