⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wmcodecconst.h

📁 mysee网络直播源代码Mysee Lite是Mysee独立研发的网络视频流媒体播放系统。在应有了P2P技术和一系列先进流媒体技术之后
💻 H
📖 第 1 页 / 共 2 页
字号:
/*
 *  Openmysee
 *
 *  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 of the License, 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 this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 */
//+-------------------------------------------------------------------------
//
//  Microsoft Windows Media
//
//  Copyright (C) Microsoft Corporation. All rights reserved.
//
//  File:        wmcodecs.h
//
//  Description: Consolidated source for the definitions needed to use
//               the Windows Media codec DMO class identifiers. These values are all defined elsewhere, but
//               are given different names here to avoid ambiguity.
//
//--------------------------------------------------------------------------

#ifndef __WMCODECS_H_
#define __WMCODECS_H_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


////////////////////////////////////////////////////////////////////////////
// Definitions of the Windows Media Audio and Video 
// codec DMO class identifiers.
////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////
// Windows Media Audio encoder and decoder.
// Support for the following codecs:

// * Windows Media Audio 7 |
// * Windows Media Audio 8 |-> These three use the same format tag and
// * Windows Media Audio 9 |   subtype GUID.

// * Windows Media Audio 9 Professional
// * Windows Media Audio 9 Lossless

EXTERN_GUID(CLSID_CWMAEncMediaObject,     
    0x70f598e9, 0xf4ab, 0x495a, 0x99, 0xe2, 0xa7, 0xc4, 0xd3, 0xd8, 0x9a, 0xbf);
EXTERN_GUID(CLSID_CWMADecMediaObject,     
    0x2eeb4adf, 0x4578, 0x4d10, 0xbc, 0xa7, 0xbb, 0x95, 0x5f, 0x56, 0x32, 0x0a);

//////////////////////////////////////////////////////
// Windows Media Video encoder and decoder.
// Support for the following codecs:
// * Windows Media Video 7 (WMV1)
// * Windows Media Video 8 (WMV2)
// * Windows Media Video 9 (WMV3)
// * Windows Media Video 9 Image (WMVP)
EXTERN_GUID(CLSID_CWMVEncMediaObject2,
    0x96b57cdd, 0x8966, 0x410c, 0xbb, 0x1f, 0xc9, 0x7e, 0xea, 0x76, 0x5c, 0x04);
EXTERN_GUID(CLSID_CWMVDecMediaObject,     
    0x82d353df, 0x90bd, 0x4382, 0x8b, 0xc2, 0x3f, 0x61, 0x92, 0xb7, 0x6e, 0x34);

//////////////////////////////////////////////////////
// Windows Media Video Screen encoder and decoder.
EXTERN_GUID(CLSID_CMSSCEncMediaObject2,   
    0xf7ffe0a0, 0xa4f5, 0x44b5, 0x94, 0x9e, 0x15, 0xed, 0x2b, 0xc6, 0x6f, 0x9d);
EXTERN_GUID(CLSID_CMSSCDecMediaObject,    
    0x7bafb3b1, 0xd8f4, 0x4279, 0x92, 0x53, 0x27, 0xda, 0x42, 0x31, 0x08, 0xde);

//////////////////////////////////////////////////////
// Windows Media Audio Voice encoder and decoder.
EXTERN_GUID(CLSID_CWMSPEncMediaObject,    
    0x67841b03, 0xc689, 0x4188, 0xad, 0x3f, 0x4c, 0x9e, 0xbe, 0xec, 0x71, 0xb);
EXTERN_GUID(CLSID_CWMSPDecMediaObject,    
    0x874131cb, 0x4ecc, 0x443b, 0x89, 0x48, 0x74, 0x6b, 0x89, 0x59, 0x5d, 0x20);



////////////////////////////////////////////////////////////////////////////
// Definitions of media type GUIDs. The GUIDs in question are identical
// to those defined elsewhere (in the DirectX or Windows Media Format SDK). The
// names are different to avoid ambiguity with other potentially included
// header files.
////////////////////////////////////////////////////////////////////////////

//////////////////////////////////////////////////////
// Major media types.
//
// Video (FOURCC 'vids') 73646976-0000-0010-8000-00AA00389B71  
EXTERN_GUID(WMCMEDIATYPE_Video, 
0x73646976, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
// Audio (FOURCC 'auds') 73647561-0000-0010-8000-00AA00389B71 
EXTERN_GUID(WMCMEDIATYPE_Audio, 
0x73647561, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71); 



//////////////////////////////////////////////////////
// Media format specifiers.
// 
// These values are used for the formattype member of DMO_MEDIA_TYPE to 
//  identify the type of structure pointed to by the pbFormat member.
//
// VIDEOINFOHEADER
// Format type: 05589f80-c356-11ce-bf01-00aa0055595a        
EXTERN_GUID(WMCFORMAT_VideoInfo, 
0x05589f80, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a); 

// WAVEFORMATEX
// Format type: 05589f81-c356-11ce-bf01-00aa0055595a 
EXTERN_GUID(WMCFORMAT_WaveFormatEx, 
0x05589f81, 0xc356, 0x11ce, 0xbf, 0x01, 0x00, 0xaa, 0x00, 0x55, 0x59, 0x5a); 



//////////////////////////////////////////////////////
// Compressed Windows Media subtypes.
//
// Windows Media Video 7
// FOURCC: 'WMV1' Subtype: 31564D57-0000-0010-8000-00AA00389B71
EXTERN_GUID(WMCMEDIASUBTYPE_WMV1, 
0x31564D57, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);

// Windows Media Video 8
// FOURCC: 'WMV2' Subtype: 32564D57-0000-0010-8000-00AA00389B71  
EXTERN_GUID(WMCMEDIASUBTYPE_WMV2, 
0x32564D57, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71); 

// Windows Media Video 9
// FOURCC: 'WMV3' Subtype: 33564D57-0000-0010-8000-00AA00389B71
EXTERN_GUID(WMCMEDIASUBTYPE_WMV3, 
0x33564D57, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71); 

// Windows Media Video 7 Screen
// FOURCC: 'MSS1' Subtype: 3153534D-0000-0010-8000-00AA00389B71     
EXTERN_GUID(WMCMEDIASUBTYPE_MSS1, 
0x3153534D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);

// Windows Media Video 9 Screen
// FOURCC: 'MSS2' Subtype: 3253534D-0000-0010-8000-00AA00389B71 
EXTERN_GUID(WMCMEDIASUBTYPE_MSS2, 
0x3253534D, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71); 

// Windows Media Video 9 Image
// FOURCC: 'WMVP' Subtype: 50564D57-0000-0010-8000-00AA00389B71 
EXTERN_GUID(WMCMEDIASUBTYPE_WMVP, 
0x50564D57, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71); 

// Microsoft Audio
EXTERN_GUID(WMCMEDIASUBTYPE_MSA1, 
0x00000160, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71); 

// Windows Media Audio 9 and previous compatible versions
// Format tag: 0x161 Subtype: 00000161-0000-0010-8000-00AA00389B71
EXTERN_GUID(WMCMEDIASUBTYPE_WMA9, 
0x00000161, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71); 

// Windows Media Audio 9 Professional 
// Format tag: 0x162 Subtype: 00000162-0000-0010-8000-00AA00389B71            
EXTERN_GUID(WMCMEDIASUBTYPE_WMA9Pro, 
0x00000162, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71);

// Windows Media Audio 9 Lossless
// Format tag: 0x163 Subtype: 00000163-0000-0010-8000-00AA00389B71
EXTERN_GUID(WMCMEDIASUBTYPE_WMA9Lossless, 
0x00000163, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xAA, 0x00, 0x38, 0x9B, 0x71); 

// Windows Media Audio 9 Voice
// Format tag: 0x00A Subtype: 0000000A-0000-0010-8000-00AA00389B71
EXTERN_GUID(WMCMEDIASUBTYPE_WMA9Voice, 
0x0000000A,0x0000,0x0010,0x80,0x00,0x00,0xAA,0x00,0x38,0x9B,0x71); 


//////////////////////////////////////////////////////
// Uncompressed video subtypes.
//
// Note: Unlike the other video formats, RGB video does not use a FOURCC
// as the first four bytes of the subtype GUID.
//
// RGB 8 bits per pixel (palettized) 
// Subtype: e436eb7a-524f-11ce-9f53-0020af0ba770       
EXTERN_GUID(WMCMEDIASUBTYPE_RGB8, 
0xe436eb7a, 0x524f, 0x11ce, 0x9f, 0x53, 0x00, 0x20, 0xaf, 0x0b, 0xa7, 0x70); 

// RGB 16 bits per pixel (5 red bits, 6 green bits, 5 blue bits)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -