Mercurial > mplayer.hg
comparison libmpcodecs/native/rtjpegn.h @ 26304:5f526e8e3988
Rename RTJPEG files so that filenames consist of lowercase name only.
Parts of the build system assume lowercase-only filenames.
author | diego |
---|---|
date | Sun, 06 Apr 2008 18:17:59 +0000 |
parents | libmpcodecs/native/RTjpegN.h@41652035483c |
children | af8f8254a990 |
comparison
equal
deleted
inserted
replaced
26303:adb06ce0dad9 | 26304:5f526e8e3988 |
---|---|
1 /* | |
2 RTjpeg (C) Justin Schoeman 1998 (justin@suntiger.ee.up.ac.za) | |
3 | |
4 With modifications by: | |
5 (c) 1998, 1999 by Joerg Walter <trouble@moes.pmnet.uni-oldenburg.de> | |
6 and | |
7 (c) 1999 by Wim Taymans <wim.taymans@tvd.be> | |
8 | |
9 This program is free software; you can redistribute it and/or modify | |
10 it under the terms of the GNU General Public License as published by | |
11 the Free Software Foundation; either version 2 of the License, or | |
12 (at your option) any later version. | |
13 | |
14 This program is distributed in the hope that it will be useful, | |
15 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 GNU General Public License for more details. | |
18 | |
19 You should have received a copy of the GNU General Public License | |
20 along with this program; if not, write to the Free Software | |
21 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
22 */ | |
23 | |
24 #ifndef RTJPEGN_H | |
25 #define RTJPEGN_H | |
26 | |
27 #include <stdint.h> | |
28 | |
29 #define __u8 uint8_t | |
30 #define __u16 uint16_t | |
31 #define __u32 uint32_t | |
32 #define __u64 uint64_t | |
33 #define __s8 int8_t | |
34 #define __s16 int16_t | |
35 #define __s32 int32_t | |
36 #define __s64 int64_t | |
37 | |
38 extern void RTjpeg_init_Q(__u8 Q); | |
39 extern void RTjpeg_init_compress(__u32 *buf, int width, int height, __u8 Q); | |
40 extern void RTjpeg_init_decompress(__u32 *buf, int width, int height); | |
41 extern int RTjpeg_compressYUV420(__s8 *sp, unsigned char *bp); | |
42 extern int RTjpeg_compressYUV422(__s8 *sp, unsigned char *bp); | |
43 extern void RTjpeg_decompressYUV420(__s8 *sp, __u8 *bp); | |
44 extern void RTjpeg_decompressYUV422(__s8 *sp, __u8 *bp); | |
45 extern int RTjpeg_compress8(__s8 *sp, unsigned char *bp); | |
46 extern void RTjpeg_decompress8(__s8 *sp, __u8 *bp); | |
47 | |
48 extern void RTjpeg_init_mcompress(void); | |
49 extern int RTjpeg_mcompressYUV420(__s8 *sp, unsigned char *bp, __u16 lmask, __u16 cmask); | |
50 extern int RTjpeg_mcompressYUV422(__s8 *sp, unsigned char *bp, __u16 lmask, __u16 cmask); | |
51 extern int RTjpeg_mcompress8(__s8 *sp, unsigned char *bp, __u16 lmask); | |
52 extern void RTjpeg_set_test(int i); | |
53 | |
54 extern void RTjpeg_yuv420rgb(__u8 *buf, __u8 *rgb, int stride); | |
55 extern void RTjpeg_yuv422rgb(__u8 *buf, __u8 *rgb, int stride); | |
56 extern void RTjpeg_yuvrgb8(__u8 *buf, __u8 *rgb, int stride); | |
57 extern void RTjpeg_yuvrgb16(__u8 *buf, __u8 *rgb, int stride); | |
58 extern void RTjpeg_yuvrgb24(__u8 *buf, __u8 *rgb, int stride); | |
59 extern void RTjpeg_yuvrgb32(__u8 *buf, __u8 *rgb, int stride); | |
60 | |
61 #endif /* RTJPEGN_H */ |