moreuuids.h
上传用户:xjjlds
上传日期:2015-12-05
资源大小:22823k
文件大小:7k
- /*
- * Copyright (C) 2003-2005 Gabest
- * http://www.gabest.org
- *
- * This Program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This Program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with GNU Make; see the file COPYING. If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- * http://www.gnu.org/copyleft/gpl.html
- *
- * Note: This interface was defined for the matroska container format
- * originally, but can be implemented for other formats as well.
- *
- */
- #pragma once
- #include "matroska/matroska.h"
- // 30323449-0000-0010-8000-00AA00389B71 'I420' == MEDIASUBTYPE_I420
- DEFINE_GUID(MEDIASUBTYPE_I420,
- 0x30323449, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- #define WAVE_FORMAT_DOLBY_AC3 0x2000
- // {00002000-0000-0010-8000-00aa00389b71}
- DEFINE_GUID(MEDIASUBTYPE_WAVE_DOLBY_AC3,
- WAVE_FORMAT_DOLBY_AC3, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- #define WAVE_FORMAT_DVD_DTS 0x2001
- // {00002001-0000-0010-8000-00aa00389b71}
- DEFINE_GUID(MEDIASUBTYPE_WAVE_DTS,
- WAVE_FORMAT_DVD_DTS, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- // Be compatible with 3ivx
- #define WAVE_FORMAT_AAC 0x00FF
- // {000000FF-0000-0010-8000-00AA00389B71}
- DEFINE_GUID(MEDIASUBTYPE_AAC,
- WAVE_FORMAT_AAC, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- // ... and also compatible with nero
- // {4134504D-0000-0010-8000-00AA00389B71}
- DEFINE_GUID(MEDIASUBTYPE_MP4A,
- 0x4134504D, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- #define WAVE_FORMAT_MP3 0x0055
- // 00000055-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_MP3,
- WAVE_FORMAT_MP3, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- #define WAVE_FORMAT_FLAC 0xF1AC
- // 0000F1AC-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_FLAC,
- WAVE_FORMAT_FLAC, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- // {1541C5C0-CDDF-477d-BC0A-86F8AE7F8354}
- DEFINE_GUID(MEDIASUBTYPE_FLAC_FRAMED,
- 0x1541c5c0, 0xcddf, 0x477d, 0xbc, 0xa, 0x86, 0xf8, 0xae, 0x7f, 0x83, 0x54);
- #define WAVE_FORMAT_TTA1 0x77A1
- // {000077A1-0000-0010-8000-00AA00389B71}
- DEFINE_GUID(MEDIASUBTYPE_TTA1,
- WAVE_FORMAT_TTA1, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- // {DA5B82EE-6BD2-426f-BF1E-30112DA78AE1}
- DEFINE_GUID(MEDIASUBTYPE_SVCD_SUBPICTURE,
- 0xda5b82ee, 0x6bd2, 0x426f, 0xbf, 0x1e, 0x30, 0x11, 0x2d, 0xa7, 0x8a, 0xe1);
- // {7B57308F-5154-4c36-B903-52FE76E184FC}
- DEFINE_GUID(MEDIASUBTYPE_CVD_SUBPICTURE,
- 0x7b57308f, 0x5154, 0x4c36, 0xb9, 0x3, 0x52, 0xfe, 0x76, 0xe1, 0x84, 0xfc);
- // {0E3A2342-F6E2-4c91-BDAE-87C71EAD0D63}
- DEFINE_GUID(MEDIASUBTYPE_MPEG2_PVA,
- 0xe3a2342, 0xf6e2, 0x4c91, 0xbd, 0xae, 0x87, 0xc7, 0x1e, 0xad, 0xd, 0x63);
- // {6B6D0800-9ADA-11d0-A520-00A0D10129C0}
- DEFINE_GUID(CLSID_NetShowSource,
- 0x6b6d0800, 0x9ada, 0x11d0, 0xa5, 0x20, 0x0, 0xa0, 0xd1, 0x1, 0x29, 0xc0);
- // DirectShowMedia
- // {5E9C9EE0-2E4A-4f22-9906-7BBBB75AA2B6}
- DEFINE_GUID(MEDIASUBTYPE_DirectShowMedia,
- 0x5e9c9ee0, 0x2e4a, 0x4f22, 0x99, 0x6, 0x7b, 0xbb, 0xb7, 0x5a, 0xa2, 0xb6);
- // Dirac
- // {A29DA00F-A22B-40ea-98DE-2F7FECADA5DE}
- DEFINE_GUID(MEDIASUBTYPE_Dirac,
- 0xa29da00f, 0xa22b, 0x40ea, 0x98, 0xde, 0x2f, 0x7f, 0xec, 0xad, 0xa5, 0xde);
- // {64726376-0000-0010-8000-00AA00389B71}
- DEFINE_GUID(MEDIASUBTYPE_DiracVideo,
- 0x64726376, 0x000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- // {D2667A7E-4055-4244-A65F-DDDDF2B74BD7}
- DEFINE_GUID(FORMAT_DiracVideoInfo,
- 0xd2667a7e, 0x4055, 0x4244, 0xa6, 0x5f, 0xdd, 0xdd, 0xf2, 0xb7, 0x4b, 0xd7);
- struct DIRACINFOHEADER
- {
- VIDEOINFOHEADER2 hdr;
- DWORD cbSequenceHeader;
- DWORD dwSequenceHeader[1];
- };
- // MP4
- // {08E22ADA-B715-45ed-9D20-7B87750301D4}
- DEFINE_GUID(MEDIASUBTYPE_MP4,
- 0x8e22ada, 0xb715, 0x45ed, 0x9d, 0x20, 0x7b, 0x87, 0x75, 0x3, 0x1, 0xd4);
- //
- // RealMedia
- //
- // {57428EC6-C2B2-44a2-AA9C-28F0B6A5C48E}
- DEFINE_GUID(MEDIASUBTYPE_RealMedia,
- 0x57428ec6, 0xc2b2, 0x44a2, 0xaa, 0x9c, 0x28, 0xf0, 0xb6, 0xa5, 0xc4, 0x8e);
- // 30315652-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_RV10,
- 0x30315652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 30325652-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_RV20,
- 0x30325652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 30335652-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_RV30,
- 0x30335652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 30345652-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_RV40,
- 0x30345652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 31345652-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_RV41,
- 0x31345652, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 345f3431-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_14_4,
- 0x345f3431, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 385f3832-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_28_8,
- 0x385f3832, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 43525441-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_ATRC,
- 0x43525441, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 4b4f4f43-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_COOK,
- 0x4b4f4f43, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 54454e44-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_DNET,
- 0x54454e44, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 52504953-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_SIPR,
- 0x52504953, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 43414152-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_RAAC,
- 0x43414152, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- // 50434152-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_RACP,
- 0x50434152, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);
- enum
- {
- WAVE_FORMAT_14_4 = 0x2002,
- WAVE_FORMAT_28_8 = 0x2003,
- WAVE_FORMAT_ATRC = 0x0270, //WAVE_FORMAT_SONY_SCX,
- WAVE_FORMAT_COOK = 0x2004,
- WAVE_FORMAT_DNET = 0x2005,
- WAVE_FORMAT_RAAC = 0x2006,
- WAVE_FORMAT_RACP = 0x2007,
- WAVE_FORMAT_SIPR = 0x0130, //WAVE_FORMAT_SIPROLAB_ACEPLNET,
- };
- //
- // PS2
- //
- #define WAVE_FORMAT_PS2_PCM 0xF521
- // 0000F521-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_PS2_PCM,
- WAVE_FORMAT_PS2_PCM, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- #define WAVE_FORMAT_PS2_ADPCM 0xF522
- // 0000F522-0000-0010-8000-00AA00389B71
- DEFINE_GUID(MEDIASUBTYPE_PS2_ADPCM,
- WAVE_FORMAT_PS2_ADPCM, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
- struct WAVEFORMATEXPS2 : public WAVEFORMATEX
- {
- DWORD dwInterleave;
- struct WAVEFORMATEXPS2()
- {
- memset(this, 0, sizeof(*this));
- cbSize = sizeof(WAVEFORMATEXPS2) - sizeof(WAVEFORMATEX);
- }
- };
- // {4F3D3D21-6D7C-4f73-AA05-E397B5EAE0AA}
- DEFINE_GUID(MEDIASUBTYPE_PS2_SUB,
- 0x4f3d3d21, 0x6d7c, 0x4f73, 0xaa, 0x5, 0xe3, 0x97, 0xb5, 0xea, 0xe0, 0xaa);