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 |
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.