2 * Copyright 2002 Michael Günnewig
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __MSRLE32_PRIVATE_H
20 #define __MSRLE32_PRIVATE_H
26 #define COM_NO_WINDOWS_H
35 #define IDS_DESCRIPTION 101
38 #define MSRLE32_DEFAULTQUALITY (75 * ICQUALITY_HIGH) / 100
40 #define FOURCC_RLE mmioFOURCC('R','L','E',' ')
41 #define FOURCC_RLE4 mmioFOURCC('R','L','E','4')
42 #define FOURCC_RLE8 mmioFOURCC('R','L','E','8')
43 #define FOURCC_MRLE mmioFOURCC('M','R','L','E')
45 #define WIDTHBYTES(i) ((WORD)((i+31u)&(~31u))/8u) /* ULONG aligned ! */
46 #define DIBWIDTHBYTES(bi) WIDTHBYTES((WORD)(bi).biWidth * (WORD)(bi).biBitCount)
48 typedef struct _CodecInfo
{
61 typedef const BITMAPINFOHEADER
* LPCBITMAPINFOHEADER
;