From 4973cdcf77180481434e719a5f42598b7c9518ff Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 2 Mar 2011 15:38:19 +0000 Subject: Remove the included libjpeg-turbo from the tree and rely completely on one being provided by the system. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4310 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/jpeg/bmp.h | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 common/jpeg/bmp.h (limited to 'common/jpeg/bmp.h') diff --git a/common/jpeg/bmp.h b/common/jpeg/bmp.h deleted file mode 100644 index 437d3275..00000000 --- a/common/jpeg/bmp.h +++ /dev/null @@ -1,48 +0,0 @@ -/* Copyright (C)2004 Landmark Graphics Corporation - * Copyright (C)2005 Sun Microsystems, Inc. - * - * This library is free software and may be redistributed and/or modified under - * the terms of the wxWindows Library License, Version 3.1 or (at your option) - * any later version. The full license is in the LICENSE.txt file included - * with this distribution. - * - * 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 - * wxWindows Library License for more details. -*/ - -// This provides rudimentary facilities for loading and saving true color -// BMP and PPM files - -#ifndef __BMP_H__ -#define __BMP_H__ - -#define BMPPIXELFORMATS 6 -enum BMPPIXELFORMAT {BMP_RGB=0, BMP_RGBA, BMP_BGR, BMP_BGRA, BMP_ABGR, BMP_ARGB}; - -#ifdef __cplusplus -extern "C" { -#endif - -// This will load a Windows bitmap from a file and return a buffer with the -// specified pixel format, scanline alignment, and orientation. The width and -// height are returned in w and h. - -int loadbmp(char *filename, unsigned char **buf, int *w, int *h, - enum BMPPIXELFORMAT f, int align, int dstbottomup); - -// This will save a buffer with the specified pixel format, pitch, orientation, -// width, and height as a 24-bit Windows bitmap or PPM (the filename determines -// which format to use) - -int savebmp(char *filename, unsigned char *buf, int w, int h, - enum BMPPIXELFORMAT f, int srcpitch, int srcbottomup); - -const char *bmpgeterr(void); - -#ifdef __cplusplus -} -#endif - -#endif -- cgit v1.2.3