/usr/include/player-3.0/libplayerjpeg/playerjpeg.h is in libplayerjpeg3.0-dev 3.0.2+dfsg-4.1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | /*
* Player - One Hell of a Robot Server
* Copyright (C) 2005
* Brian Gerkey, Andrew Howard
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/* $Author: thjc $
* $Name$
* $Id: playerjpeg.h 8147 2009-07-28 06:24:55Z thjc $
* $Source$
* $Log$
* Revision 1.1 2005/08/31 17:43:51 gerkey
* created libplayerjpeg
*
* Revision 1.2 2004/11/22 23:10:17 gerkey
* made libjpeg optional in libplayerpacket
*
* Revision 1.1 2004/09/17 18:09:05 inspectorg
* *** empty log message ***
*
* Revision 1.1 2004/09/10 05:34:14 natepak
* Added a JpegStream driver
*
* Revision 1.2 2003/12/30 20:49:49 srik
* Added ifdef flags for compatibility
*
* Revision 1.1.1.1 2003/12/30 20:39:19 srik
* Helicopter deployment with firewire camera
*
*/
#ifndef _JPEG_H_
#define _JPEG_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdio.h>
int
jpeg_compress(char *dst, char *src, int width, int height, int dstsize, int quality);
void
jpeg_decompress(unsigned char *dst, int dst_size, unsigned char *src, int src_size);
void
jpeg_decompress_from_file(unsigned char *dst, char *file, int size, int *width, int *height);
#ifdef __cplusplus
}
#endif
#endif
|