xine-lib: xine-lib-1.2.13/src/libw32dll/libwin32.h File Reference

xine-lib 1.2.13-20230125hg15249

Data Structures | Macros | Typedefs | Enumerations
libwin32.h File Reference
`#include <inttypes.h>`
`#include "wine/mmreg.h"`
`#include "wine/winreg.h"`
`#include "wine/vfw.h"`
`#include "wine/com.h"`

Go to the source code of this file.

## Data Structures
struct | _CodecInfo
struct | _CImage
struct | _IAudioDecoder
struct | _BitmapInfo
struct | _IVideoDecoder

## Macros
#define | VFW_E_NOT_RUNNING 0x80040226
#define | mmioFOURCC(ch0, ch1, ch2, ch3)
#define | fccMP4S mmioFOURCC('M', 'P', '4', 'S')
#define | fccDIVX mmioFOURCC('D', 'I', 'V', 'X')
#define | fccDIV1 mmioFOURCC('D', 'I', 'V', '1')
#define | fccDIV2 mmioFOURCC('D', 'I', 'V', '2')
#define | fccDIV3 mmioFOURCC('D', 'I', 'V', '3')
#define | fccDIV4 mmioFOURCC('D', 'I', 'V', '4')
#define | fccDIV5 mmioFOURCC('D', 'I', 'V', '5')
#define | fccDIV6 mmioFOURCC('D', 'I', 'V', '6')
#define | fccMP41 mmioFOURCC('M', 'P', '4', '1')
#define | fccMP43 mmioFOURCC('M', 'P', '4', '3')
#define | fccMP42 mmioFOURCC('M', 'P', '4', '2')
#define | fccMPG4 mmioFOURCC('M', 'P', 'G', '4')
#define | fccWMV1 mmioFOURCC('W', 'M', 'V', '1')
#define | fccWMV2 mmioFOURCC('W', 'M', 'V', '2')
#define | fccMWV1 mmioFOURCC('M', 'W', 'V', '1')
#define | fccAP41 mmioFOURCC('A', 'P', '4', '1')
#define | fccAP42 mmioFOURCC('A', 'P', '4', '2')
#define | fccIV31 mmioFOURCC('I', 'V', '3', '1')
#define | fccIV32 mmioFOURCC('I', 'V', '3', '2')
#define | fccIV41 mmioFOURCC('I', 'V', '4', '1')
#define | fccIV50 mmioFOURCC('I', 'V', '5', '0')
#define | fccI263 mmioFOURCC('I', '2', '6', '3')
#define | fccMJPG mmioFOURCC('M', 'J', 'P', 'G')
#define | fccHFYU mmioFOURCC('H', 'F', 'Y', 'U')
#define | fcccvid mmioFOURCC('c', 'v', 'i', 'd')
#define | fccdvsd mmioFOURCC('d', 'v', 's', 'd')
#define | fccVCR2 mmioFOURCC('V', 'C', 'R', '2')
#define | fccVCR1 mmioFOURCC('V', 'C', 'R', '1')
#define | fccVYUY mmioFOURCC('V', 'Y', 'U', 'Y')
#define | fccIYU9 mmioFOURCC('I', 'Y', 'U', '9')
#define | fccASV1 mmioFOURCC('A', 'S', 'V', '1')
#define | fccASV2 mmioFOURCC('A', 'S', 'V', '2')
#define | fcccram mmioFOURCC('c', 'r', 'a', 'm')
#define | fccMSVC mmioFOURCC('M', 'S', 'V', 'C')
#define | fccMSZH mmioFOURCC('M', 'S', 'Z', 'H')
#define | fccZLIB mmioFOURCC('Z', 'L', 'I', 'B')
#define | fccTM20 mmioFOURCC('T', 'M', '2', '0')
#define | fccYUV mmioFOURCC('Y', 'U', 'V', ' ')
#define | fccYUY2 mmioFOURCC('Y', 'U', 'Y', '2')
#define | fccYV12 mmioFOURCC('Y', 'V', '1', '2')/* Planar mode: Y + V + U (3 planes) */
#define | fccI420 mmioFOURCC('I', '4', '2', '0')
#define | fccIYUV mmioFOURCC('I', 'Y', 'U', 'V')/* Planar mode: Y + U + V (3 planes) */
#define | fccUYVY mmioFOURCC('U', 'Y', 'V', 'Y')/* Packed mode: U0+Y0+V0+Y1 (1 plane) */
#define | fccYVYU mmioFOURCC('Y', 'V', 'Y', 'U')/* Packed mode: Y0+V0+Y1+U0 (1 plane) */
#define | fccYVU9 mmioFOURCC('Y', 'V', 'U', '9')/* Planar 4:1:0 */
#define | fccIF09 mmioFOURCC('I', 'F', '0', '9')/* Planar 4:1:0 + delta */

## Typedefs
typedef uint32_t | fourcc_t
typedef struct _CodecInfo | CodecInfo
typedef struct _CImage | CImage
typedef struct _IAudioDecoder | IAudioDecoder
typedef struct _BitmapInfo | BitmapInfo
typedef struct _IVideoDecoder | IVideoDecoder

## Enumerations
enum | CAPS { CAP_NONE = 0 , CAP_YUY2 = 1 , CAP_YV12 = 2 , CAP_IYUV = 4 , CAP_UYVY = 8 , CAP_YVYU = 16 , CAP_I420 = 32 , CAP_YVU9 = 64 , CAP_IF09 = 128 }
enum | DecodingMode { DIRECT = 0 , REALTIME , REALTIME_QUALITY_AUTO }
enum | DecodingState { STOP = 0 , START }

## Macro Definition Documentation

## ◆ fccAP41

#define fccAP41 mmioFOURCC('A', 'P', '4', '1')

## ◆ fccap41

#define fccap41 mmioFOURCC('a', 'p', '4', '1')

## ◆ fccAP42

#define fccAP42 mmioFOURCC('A', 'P', '4', '2')

## ◆ fccap42

#define fccap42 mmioFOURCC('a', 'p', '4', '2')

## ◆ fccASV1

#define fccASV1 mmioFOURCC('A', 'S', 'V', '1')

## ◆ fccASV2

#define fccASV2 mmioFOURCC('A', 'S', 'V', '2')

## ◆ fccCRAM

#define fccCRAM mmioFOURCC('C', 'R', 'A', 'M')

## ◆ fcccram

#define fcccram mmioFOURCC('c', 'r', 'a', 'm')

## ◆ fcccvid

#define fcccvid mmioFOURCC('c', 'v', 'i', 'd')

## ◆ fccDIV1

#define fccDIV1 mmioFOURCC('D', 'I', 'V', '1')

## ◆ fccdiv1

#define fccdiv1 mmioFOURCC('d', 'i', 'v', '1')

## ◆ fccDIV2

#define fccDIV2 mmioFOURCC('D', 'I', 'V', '2')

## ◆ fccdiv2

#define fccdiv2 mmioFOURCC('d', 'i', 'v', '2')

## ◆ fccDIV3

#define fccDIV3 mmioFOURCC('D', 'I', 'V', '3')

Referenced by DMO_VideoDecoder_Open(), and DS_VideoDecoder_Open().

## ◆ fccdiv3

#define fccdiv3 mmioFOURCC('d', 'i', 'v', '3')

## ◆ fccDIV4

#define fccDIV4 mmioFOURCC('D', 'I', 'V', '4')

Referenced by DMO_VideoDecoder_Open(), and DS_VideoDecoder_Open().

## ◆ fccdiv4

#define fccdiv4 mmioFOURCC('d', 'i', 'v', '4')

## ◆ fccDIV5

#define fccDIV5 mmioFOURCC('D', 'I', 'V', '5')

Referenced by DMO_VideoDecoder_Open(), and DS_VideoDecoder_Open().

## ◆ fccdiv5

#define fccdiv5 mmioFOURCC('d', 'i', 'v', '5')

## ◆ fccDIV6

#define fccDIV6 mmioFOURCC('D', 'I', 'V', '6')

Referenced by DMO_VideoDecoder_Open(), and DS_VideoDecoder_Open().

## ◆ fccdiv6

#define fccdiv6 mmioFOURCC('d', 'i', 'v', '6')

## ◆ fccDIVX

#define fccDIVX mmioFOURCC('D', 'I', 'V', 'X')

## ◆ fccdivx

#define fccdivx mmioFOURCC('d', 'i', 'v', 'x')

## ◆ fccdvsd

#define fccdvsd mmioFOURCC('d', 'v', 's', 'd')

## ◆ fccHFYU

#define fccHFYU mmioFOURCC('H', 'F', 'Y', 'U')

## ◆ fccI263

#define fccI263 mmioFOURCC('I', '2', '6', '3')

## ◆ fcci263

#define fcci263 mmioFOURCC('i', '2', '6', '3')

## ◆ fccI420

#define fccI420 mmioFOURCC('I', '4', '2', '0')

Referenced by DMO_VideoDecoder_SetDestFmt(), and DS_VideoDecoder_SetDestFmt().

## ◆ fccIF09

#define fccIF09 mmioFOURCC('I', 'F', '0', '9')/* Planar 4:1:0 + delta */

## ◆ fccIV31

#define fccIV31 mmioFOURCC('I', 'V', '3', '1')

## ◆ fcciv31

#define fcciv31 mmioFOURCC('i', 'v', '3', '1')

## ◆ fccIV32

#define fccIV32 mmioFOURCC('I', 'V', '3', '2')

## ◆ fcciv32

#define fcciv32 mmioFOURCC('i', 'v', '3', '2')

## ◆ fccIV41

#define fccIV41 mmioFOURCC('I', 'V', '4', '1')

## ◆ fcciv41

#define fcciv41 mmioFOURCC('i', 'v', '4', '1')

## ◆ fccIV50

#define fccIV50 mmioFOURCC('I', 'V', '5', '0')

Referenced by DS_VideoDecoder_GetValue(), and DS_VideoDecoder_SetValue().

## ◆ fcciv50

#define fcciv50 mmioFOURCC('i', 'v', '5', '0')

## ◆ fccIYU9

#define fccIYU9 mmioFOURCC('I', 'Y', 'U', '9')

## ◆ fccIYUV

#define fccIYUV mmioFOURCC('I', 'Y', 'U', 'V')/* Planar mode: Y + U + V (3 planes) */

Referenced by DMO_VideoDecoder_SetDestFmt(), and DS_VideoDecoder_SetDestFmt().

## ◆ fccMJPG

#define fccMJPG mmioFOURCC('M', 'J', 'P', 'G')

## ◆ fccmjpg

#define fccmjpg mmioFOURCC('m', 'j', 'p', 'g')

## ◆ fccMP41

#define fccMP41 mmioFOURCC('M', 'P', '4', '1')

## ◆ fccmp41

#define fccmp41 mmioFOURCC('m', 'p', '4', '1')

## ◆ fccMP42

#define fccMP42 mmioFOURCC('M', 'P', '4', '2')

Referenced by DMO_VideoDecoder_Open(), and DS_VideoDecoder_Open().

## ◆ fccmp42

#define fccmp42 mmioFOURCC('m', 'p', '4', '2')

## ◆ fccMP43

#define fccMP43 mmioFOURCC('M', 'P', '4', '3')

## ◆ fccmp43

#define fccmp43 mmioFOURCC('m', 'p', '4', '3')

## ◆ fccMP4S

#define fccMP4S mmioFOURCC('M', 'P', '4', 'S')

## ◆ fccmp4s

#define fccmp4s mmioFOURCC('m', 'p', '4', 's')

## ◆ fccMPG4

#define fccMPG4 mmioFOURCC('M', 'P', 'G', '4')

## ◆ fccmpg4

#define fccmpg4 mmioFOURCC('m', 'p', 'g', '4')

## ◆ fccMSVC

#define fccMSVC mmioFOURCC('M', 'S', 'V', 'C')

## ◆ fccMSZH

#define fccMSZH mmioFOURCC('M', 'S', 'Z', 'H')

## ◆ fccMWV1

#define fccMWV1 mmioFOURCC('M', 'W', 'V', '1')

## ◆ fccTM20

#define fccTM20 mmioFOURCC('T', 'M', '2', '0')

## ◆ fccUYVY

#define fccUYVY mmioFOURCC('U', 'Y', 'V', 'Y')/* Packed mode: U0+Y0+V0+Y1 (1 plane) */

Referenced by DMO_VideoDecoder_SetDestFmt(), and DS_VideoDecoder_SetDestFmt().

## ◆ fccVCR1

#define fccVCR1 mmioFOURCC('V', 'C', 'R', '1')

## ◆ fccVCR2

#define fccVCR2 mmioFOURCC('V', 'C', 'R', '2')

## ◆ fccVYUY

#define fccVYUY mmioFOURCC('V', 'Y', 'U', 'Y')

## ◆ fccWMV1

#define fccWMV1 mmioFOURCC('W', 'M', 'V', '1')

## ◆ fccwmv1

#define fccwmv1 mmioFOURCC('w', 'm', 'v', '1')

## ◆ fccWMV2

#define fccWMV2 mmioFOURCC('W', 'M', 'V', '2')

Referenced by DMO_VideoDecoder_Open(), and DS_VideoDecoder_Open().

## ◆ fccwmv2

#define fccwmv2 mmioFOURCC('w', 'm', 'v', '2')

## ◆ fccYUV

#define fccYUV mmioFOURCC('Y', 'U', 'V', ' ')

## ◆ fccYUY2

#define fccYUY2 mmioFOURCC('Y', 'U', 'Y', '2')

Referenced by DMO_VideoDecoder_SetDestFmt(), and DS_VideoDecoder_SetDestFmt().

## ◆ fccYV12

#define fccYV12 mmioFOURCC('Y', 'V', '1', '2')/* Planar mode: Y + V + U (3 planes) */

Referenced by DMO_VideoDecoder_SetDestFmt(), and DS_VideoDecoder_SetDestFmt().

## ◆ fccYVU9

#define fccYVU9 mmioFOURCC('Y', 'V', 'U', '9')/* Planar 4:1:0 */

Referenced by DMO_VideoDecoder_SetDestFmt(), and DS_VideoDecoder_SetDestFmt().

## ◆ fccYVYU

#define fccYVYU mmioFOURCC('Y', 'V', 'Y', 'U')/* Packed mode: Y0+V0+Y1+U0 (1 plane) */

Referenced by DMO_VideoDecoder_SetDestFmt(), and DS_VideoDecoder_SetDestFmt().

## ◆ fccZLIB

#define fccZLIB mmioFOURCC('Z', 'L', 'I', 'B')

## ◆ mmioFOURCC

#define mmioFOURCC | ( |  | ch0,
|  |  | ch1,
|  |  | ch2,
|  |  | ch3 )

Value:
( (long)(unsigned char)(ch0) | ( (long)(unsigned char)(ch1) << 8 ) | \
( (long)(unsigned char)(ch2) << 16 ) | ( (long)(unsigned char)(ch3) << 24 ) )

Referenced by CreateSecondary(), w32v_init_codec(), and w32v_init_ds_dmo_codec().

## ◆ VFW_E_NOT_RUNNING

#define VFW_E_NOT_RUNNING 0x80040226

## Typedef Documentation

## ◆ BitmapInfo

typedef struct _BitmapInfo BitmapInfo

## ◆ CImage

typedef struct _CImage CImage

## ◆ CodecInfo

typedef struct _CodecInfo CodecInfo

## ◆ fourcc_t

typedef uint32_t fourcc_t

## ◆ IAudioDecoder

typedef struct _IAudioDecoder IAudioDecoder

## ◆ IVideoDecoder

typedef struct _IVideoDecoder IVideoDecoder

## Enumeration Type Documentation

## ◆ CAPS

enum CAPS

Enumerator
CAP_NONE |
CAP_YUY2 |
CAP_YV12 |
CAP_IYUV |
CAP_UYVY |
CAP_YVYU |
CAP_I420 |
CAP_YVU9 |
CAP_IF09 |

## ◆ DecodingMode

enum DecodingMode

Enumerator
DIRECT |
REALTIME |
REALTIME_QUALITY_AUTO |

## ◆ DecodingState

enum DecodingState

Enumerator
STOP |
START |