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

msvideo1.c File Reference
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "commdlg.h"
#include "vfw.h"
#include "mmsystem.h"
#include "msvidc32_private.h"
#include "wine/debug.h"

Go to the source code of this file.

Data Structures

struct  Msvideo1Context

Defines

#define CRAM_MAGIC   mmioFOURCC('C', 'R', 'A', 'M')
#define MSVC_MAGIC   mmioFOURCC('M', 'S', 'V', 'C')
#define WHAM_MAGIC   mmioFOURCC('W', 'H', 'A', 'M')
#define compare_fourcc(fcc1, fcc2)   (((fcc1)^(fcc2))&~0x20202020)
#define PALETTE_COUNT   256
#define LE_16(x)   ((((const uint8_t *)(x))[1] << 8) | ((const uint8_t *)(x))[0])
#define CHECK_STREAM_PTR(n)

Typedefs

typedef BYTE uint8_t

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (msvidc32)
static void msvideo1_decode_8bit (int width, int height, const unsigned char *buf, int buf_size, unsigned char *pixels, int stride)
static void msvideo1_decode_16bit (int width, int height, const unsigned char *buf, int buf_size, unsigned short *pixels, int stride)
static LRESULT CRAM_DecompressQuery (Msvideo1Context *info, LPBITMAPINFO in, LPBITMAPINFO out)
static LRESULT CRAM_DecompressGetFormat (Msvideo1Context *info, LPBITMAPINFO in, LPBITMAPINFO out)
static LRESULT CRAM_DecompressBegin (Msvideo1Context *info, LPBITMAPINFO in, LPBITMAPINFO out)
static LRESULT CRAM_Decompress (Msvideo1Context *info, ICDECOMPRESS *icd, DWORD size)
static LRESULT CRAM_DecompressEx (Msvideo1Context *info, ICDECOMPRESSEX *icd, DWORD size)
static LRESULT CRAM_GetInfo (const Msvideo1Context *info, ICINFO *icinfo, DWORD dwSize)
LRESULT WINAPI CRAM_DriverProc (DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg, LPARAM lParam1, LPARAM lParam2)
BOOL WINAPI DllMain (HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)

Variables

static HINSTANCE MSVIDC32_hModule

Detailed Description

Microsoft Video-1 Decoder by Mike Melanson (melanson@pcisys.net) For more information about the MS Video-1 format, visit: http://www.pcisys.net/~melanson/codecs/

This decoder outputs either PAL8 or RGB555 data, depending on the whether a RGB palette was passed through palctrl; if it's present, then the data is PAL8; RGB555 otherwise.

Definition in file msvideo1.c.


Generated on Fri May 25 2012 05:13:03 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.