DOSBox-X
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
src/aviwriter/ksdataformat.cpp
00001 /*
00002  *  Copyright (C) 2018  Jon Campbell
00003  *
00004  *  This program is free software; you can redistribute it and/or modify
00005  *  it under the terms of the GNU General Public License as published by
00006  *  the Free Software Foundation; either version 2 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  This program 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
00012  *  GNU General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU General Public License
00015  *  along with this program; if not, write to the Free Software
00016  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00017  */
00018 
00019 #include "ksdataformat.h"
00020 
00021 /* FIXME! I just realized that the windows_GUID struct definition
00022  *        is written and packed so as to be used to typecast the
00023  *        GUID data from Windows (little endian), yet these constant
00024  *        are written as native endian byte order! We need to add
00025  *        and use macros to allow writing little endian byte order
00026  *        constants no matter what the host endian byte order */
00027 
00028 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_ANALOG = /* 6dba3190-67bd-11cf-a0f7-0020afd156e4 */
00029         {0x6dba3190,0x67bd,0x11cf,{0xa0,0xf7},{0x00,0x20,0xaf,0xd1,0x56,0xe4}};
00030 
00031 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_PCM = /* 00000001-0000-0010-8000-00aa00389b71 */
00032         {0x00000001,0x0000,0x0010,{0x80,0x00},{0x00,0xaa,0x00,0x38,0x9b,0x71}};
00033 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_ADPCM = /* 00000002-0000-0010-8000-00aa00389b71 */
00034         {0x00000002,0x0000,0x0010,{0x80,0x00},{0x00,0xaa,0x00,0x38,0x9b,0x71}};
00035 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT = /* 00000003-0000-0010-8000-00aa00389b71 */
00036         {0x00000003,0x0000,0x0010,{0x80,0x00},{0x00,0xaa,0x00,0x38,0x9b,0x71}};
00037 
00038 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_ALAW = /* 00000006-0000-0010-8000-00aa00389b71 */
00039         {0x00000006,0x0000,0x0010,{0x80,0x00},{0x00,0xaa,0x00,0x38,0x9b,0x71}};
00040 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_MULAW = /* 00000007-0000-0010-8000-00aa00389b71 */
00041         {0x00000007,0x0000,0x0010,{0x80,0x00},{0x00,0xaa,0x00,0x38,0x9b,0x71}};
00042 
00043 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_DRM = /* 00000009-0000-0010-8000-00aa00389b71 */
00044         {0x00000009,0x0000,0x0010,{0x80,0x00},{0x00,0xaa,0x00,0x38,0x9b,0x71}};
00045 
00046 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_MPEG = /* 00000050-0000-0010-8000-00aa00389b71 */
00047         {0x00000050,0x0000,0x0010,{0x80,0x00},{0x00,0xaa,0x00,0x38,0x9b,0x71}};
00048 
00049 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_RIFF = /* 4995DAEE-9EE6-11D0-A40E-00A0C9223196 */
00050         {0x4995DAEE,0x9EE6,0x11D0,{0xA4,0x0E},{0x00,0xA0,0xC9,0x22,0x31,0x96}};
00051 
00052 const windows_GUID windows_KSDATAFORMAT_SUBTYPE_RIFFWAVE = /* e436eb8b-524f-11ce-9f53-0020af0ba770 */
00053         {0xe436eb8b,0x524f,0x11ce,{0x9f,0x53},{0x00,0x20,0xaf,0x0b,0xa7,0x70}};
00054