ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

msrle_private.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2002 Michael Günnewig
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2.1 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library; if not, write to the Free Software
00016  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
00017  */
00018 
00019 #ifndef __MSRLE32_PRIVATE_H
00020 #define __MSRLE32_PRIVATE_H
00021 
00022 #ifndef RC_INVOKED
00023 #include <stdarg.h>
00024 #endif
00025 
00026 #include "windef.h"
00027 #include "winbase.h"
00028 #include "mmsystem.h"
00029 #include "wingdi.h"
00030 #include "winuser.h"
00031 #include "vfw.h"
00032 
00033 #define IDS_NAME        100
00034 #define IDS_DESCRIPTION 101
00035 #define IDS_ABOUT       102
00036 
00037 #define MSRLE32_DEFAULTQUALITY (75 * ICQUALITY_HIGH) / 100
00038 
00039 #define FOURCC_RLE   mmioFOURCC('R','L','E',' ')
00040 #define FOURCC_RLE4  mmioFOURCC('R','L','E','4')
00041 #define FOURCC_RLE8  mmioFOURCC('R','L','E','8')
00042 #define FOURCC_MRLE  mmioFOURCC('M','R','L','E')
00043 
00044 #define WIDTHBYTES(i)     ((WORD)((i+31u)&(~31u))/8u) /* ULONG aligned ! */
00045 #define DIBWIDTHBYTES(bi) WIDTHBYTES((WORD)(bi).biWidth * (WORD)(bi).biBitCount)
00046 
00047 typedef struct _CodecInfo {
00048   FOURCC  fccHandler;
00049   DWORD   dwQuality;
00050 
00051   BOOL    bCompress;
00052   LONG    nPrevFrame;
00053   LPWORD  pPrevFrame;
00054   LPWORD  pCurFrame;
00055 
00056   BOOL    bDecompress;
00057   LPBYTE  palette_map;
00058 } CodecInfo;
00059 
00060 typedef const BITMAPINFOHEADER * LPCBITMAPINFOHEADER;
00061 
00062 #endif

Generated on Sun May 27 2012 04:25:21 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.