ReactOS
0.4.16-dev-125-g798ea90
msrle_private.h
Go to the documentation of this file.
1
/*
2
* Copyright 2002 Michael Günnewig
3
*
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.
8
*
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.
13
*
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17
*/
18
19
#ifndef __MSRLE32_PRIVATE_H
20
#define __MSRLE32_PRIVATE_H
21
22
#ifndef RC_INVOKED
23
#include <stdarg.h>
24
#endif
25
26
#include "
windef.h
"
27
#include "
winbase.h
"
28
#include "
mmsystem.h
"
29
#include "
wingdi.h
"
30
#include "
winuser.h
"
31
#include "
vfw.h
"
32
33
#define IDS_NAME 100
34
#define IDS_DESCRIPTION 101
35
#define IDS_ABOUT 102
36
37
#define MSRLE32_DEFAULTQUALITY (85 * ICQUALITY_HIGH) / 100
38
39
#define FOURCC_RLE mmioFOURCC('R','L','E',' ')
40
#define FOURCC_RLE4 mmioFOURCC('R','L','E','4')
41
#define FOURCC_RLE8 mmioFOURCC('R','L','E','8')
42
#define FOURCC_MRLE mmioFOURCC('M','R','L','E')
43
44
#define WIDTHBYTES(i) ((WORD)((i+31u)&(~31u))/8u)
/* ULONG aligned ! */
45
#define DIBWIDTHBYTES(bi) WIDTHBYTES((WORD)(bi).biWidth * (WORD)(bi).biBitCount)
46
47
typedef
struct
_CodecInfo
{
48
FOURCC
fccHandler
;
49
50
BOOL
bCompress
;
51
LONG
nPrevFrame
;
52
LPWORD
pPrevFrame
;
53
LPWORD
pCurFrame
;
54
55
BOOL
bDecompress
;
56
LPBYTE
palette_map
;
57
}
CodecInfo
;
58
59
typedef
const
BITMAPINFOHEADER
*
LPCBITMAPINFOHEADER
;
60
61
#endif
FOURCC
DWORD FOURCC
Definition:
dmdls.h:25
BOOL
unsigned int BOOL
Definition:
ntddk_ex.h:94
mmsystem.h
CodecInfo
struct _CodecInfo CodecInfo
LPCBITMAPINFOHEADER
const BITMAPINFOHEADER * LPCBITMAPINFOHEADER
Definition:
msrle_private.h:59
LONG
long LONG
Definition:
pedump.c:60
BITMAPINFOHEADER
Definition:
amvideo.idl:29
_CodecInfo
Definition:
msrle_private.h:47
_CodecInfo::palette_map
LPBYTE palette_map
Definition:
msrle_private.h:56
_CodecInfo::nPrevFrame
LONG nPrevFrame
Definition:
msrle_private.h:51
_CodecInfo::bCompress
BOOL bCompress
Definition:
msrle_private.h:50
_CodecInfo::pCurFrame
LPWORD pCurFrame
Definition:
msrle_private.h:53
_CodecInfo::pPrevFrame
LPWORD pPrevFrame
Definition:
msrle_private.h:52
_CodecInfo::bDecompress
BOOL bDecompress
Definition:
msrle_private.h:55
_CodecInfo::fccHandler
FOURCC fccHandler
Definition:
msrle_private.h:48
LPBYTE
unsigned char * LPBYTE
Definition:
typedefs.h:53
LPWORD
uint16_t * LPWORD
Definition:
typedefs.h:56
vfw.h
winbase.h
windef.h
wingdi.h
winuser.h
dll
win32
msrle32
msrle_private.h
Generated on Mon Oct 14 2024 06:04:21 for ReactOS by
1.9.6