Home | History | Annotate | Download | only in src

Lines Matching full:guid

116 struct Guid
119 Guid();
120 Guid(__rcGUID_t);
122 bool Equals(Guid __guidArg);
124 Guid(unsigned int __aArg, unsigned short __bArg, unsigned short __cArg, unsigned __int8 __dArg,
127 Guid(unsigned int __aArg, unsigned short __bArg, unsigned short __cArg, const unsigned __int8* __dArg);
142 static_assert(sizeof(Guid) == sizeof(::_GUID), "Incorect size for Guid");
146 inline Guid::Guid() : __a(0), __b(0), __c(0), __d(0), __e(0), __f(0), __g(0), __h(0), __i(0), __j(0), __k(0)
150 inline Guid::Guid(__rcGUID_t __guid) :
165 inline Guid::operator ::__rcGUID_t()
170 inline bool Guid::Equals(Guid __guidArg)
175 inline bool Guid::Equals(__rcGUID_t __guidArg)
177 return *this == static_cast< Guid>(__guidArg);
180 inline bool operator==(Guid __aArg, Guid __bArg)
188 inline bool operator!=(Guid __aArg, Guid __bArg)
193 inline bool operator<(Guid __aArg, Guid __bArg)
221 inline Guid::Guid(unsigned int __aArg, unsigned short __bArg, unsigned short __cArg, unsigned __int8 __dArg,
228 inline Guid::Guid(unsigned int __aArg, unsigned short __bArg, unsigned short __cArg, const unsigned __int8 __dArg[8]) :
241 __declspec(selectany) Guid __winrt_GUID_NULL(0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
251 //// The type mismatch is not an issue. COM passes types through GUID / void* combos - the original type
257 virtual long __stdcall __abi_QueryInterface(Guid&, void**) = 0;
317 GUID MF_MT_AM_FORMAT_TYPE;
333 GUID MF_MT_MAJOR_TYPE;
334 GUID MF_MT_SUBTYPE;
423 GUID VideoFormat);
781 LPCWSTR GetGUIDNameConstNew(const GUID& guid);
782 HRESULT GetGUIDNameNew(const GUID& guid, WCHAR **ppwsz);
784 HRESULT SpecialCaseAttributeValueNew(GUID guid, const PROPVARIANT& var, MediaType &out);
786 unsigned int *GetParametr(GUID guid, MediaType &out)
788 if(guid == MF_MT_YUV_MATRIX)
790 if(guid == MF_MT_VIDEO_LIGHTING)
792 if(guid == MF_MT_DEFAULT_STRIDE)
794 if(guid == MF_MT_VIDEO_CHROMA_SITING)
796 if(guid == MF_MT_VIDEO_NOMINAL_RANGE)
798 if(guid == MF_MT_ALL_SAMPLES_INDEPENDENT)
800 if(guid == MF_MT_FIXED_SIZE_SAMPLES)
802 if(guid == MF_MT_SAMPLE_SIZE)
804 if(guid == MF_MT_VIDEO_PRIMARIES)
806 if(guid == MF_MT_INTERLACE_MODE)
815 GUID guid = { 0 };
818 HRESULT hr = pAttr->GetItemByIndex(index, &guid, &var);
823 hr = GetGUIDNameNew(guid, &pGuidName);
828 hr = SpecialCaseAttributeValueNew(guid, var, out);
839 p = GetParametr(guid, out);
850 if(guid == MF_MT_AM_FORMAT_TYPE)
860 if(guid == MF_MT_MAJOR_TYPE)
870 if(guid == MF_MT_SUBTYPE)
898 HRESULT GetGUIDNameNew(const GUID& guid, WCHAR **ppwsz)
902 LPCWSTR pcwsz = GetGUIDNameConstNew(guid);
925 hr = StringFromCLSID(guid, &pName);
959 HRESULT SpecialCaseAttributeValueNew(GUID guid, const PROPVARIANT& var, MediaType &out)
961 if (guid == MF_MT_DEFAULT_STRIDE)
965 if (guid == MF_MT_FRAME_SIZE)
974 if (guid == MF_MT_FRAME_RATE)
982 if (guid == MF_MT_FRAME_RATE_RANGE_MAX)
990 if (guid == MF_MT_FRAME_RATE_RANGE_MIN)
998 if (guid == MF_MT_PIXEL_ASPECT_RATIO)
1016 LPCWSTR GetGUIDNameConstNew(const GUID& guid)
1018 IF_EQUAL_RETURN(guid, MF_MT_MAJOR_TYPE);
1019 IF_EQUAL_RETURN(guid, MF_MT_MAJOR_TYPE);
1020 IF_EQUAL_RETURN(guid, MF_MT_SUBTYPE);
1021 guid, MF_MT_ALL_SAMPLES_INDEPENDENT);
1022 IF_EQUAL_RETURN(guid, MF_MT_FIXED_SIZE_SAMPLES);
1023 IF_EQUAL_RETURN(guid, MF_MT_COMPRESSED);
1024 IF_EQUAL_RETURN(guid, MF_MT_SAMPLE_SIZE);
1025 IF_EQUAL_RETURN(guid, MF_MT_WRAPPED_TYPE);
1026 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_NUM_CHANNELS);
1027 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_SAMPLES_PER_SECOND);
1028 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_FLOAT_SAMPLES_PER_SECOND);
1029 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_AVG_BYTES_PER_SECOND);
1030 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_BLOCK_ALIGNMENT);
1031 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_BITS_PER_SAMPLE);
1032 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_VALID_BITS_PER_SAMPLE);
1033 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_SAMPLES_PER_BLOCK);
1034 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_CHANNEL_MASK);
1035 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_FOLDDOWN_MATRIX);
1036 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_WMADRC_PEAKREF);
1037 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_WMADRC_PEAKTARGET);
1038 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_WMADRC_AVGREF);
1039 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_WMADRC_AVGTARGET);
1040 IF_EQUAL_RETURN(guid, MF_MT_AUDIO_PREFER_WAVEFORMATEX);
1041 IF_EQUAL_RETURN(guid, MF_MT_AAC_PAYLOAD_TYPE);
1042 IF_EQUAL_RETURN(guid, MF_MT_AAC_AUDIO_PROFILE_LEVEL_INDICATION);
1043 IF_EQUAL_RETURN(guid, MF_MT_FRAME_SIZE);
1044 IF_EQUAL_RETURN(guid, MF_MT_FRAME_RATE);
1045 IF_EQUAL_RETURN(guid, MF_MT_FRAME_RATE_RANGE_MAX);
1046 IF_EQUAL_RETURN(guid, MF_MT_FRAME_RATE_RANGE_MIN);
1047 IF_EQUAL_RETURN(guid, MF_MT_PIXEL_ASPECT_RATIO);
1048 IF_EQUAL_RETURN(guid, MF_MT_DRM_FLAGS);
1049 IF_EQUAL_RETURN(guid, MF_MT_PAD_CONTROL_FLAGS);
1050 IF_EQUAL_RETURN(guid, MF_MT_SOURCE_CONTENT_HINT);
1051 IF_EQUAL_RETURN(guid, MF_MT_VIDEO_CHROMA_SITING);
1052 IF_EQUAL_RETURN(guid, MF_MT_INTERLACE_MODE);
1053 IF_EQUAL_RETURN(guid, MF_MT_TRANSFER_FUNCTION);
1054 IF_EQUAL_RETURN(guid, MF_MT_VIDEO_PRIMARIES);
1055 IF_EQUAL_RETURN(guid, MF_MT_CUSTOM_VIDEO_PRIMARIES);
1056 IF_EQUAL_RETURN(guid, MF_MT_YUV_MATRIX);
1057 IF_EQUAL_RETURN(guid, MF_MT_VIDEO_LIGHTING);
1058 IF_EQUAL_RETURN(guid, MF_MT_VIDEO_NOMINAL_RANGE);
1059 IF_EQUAL_RETURN(guid, MF_MT_GEOMETRIC_APERTURE);
1060 IF_EQUAL_RETURN(guid, MF_MT_MINIMUM_DISPLAY_APERTURE);
1061 IF_EQUAL_RETURN(guid, MF_MT_PAN_SCAN_APERTURE);
1062 IF_EQUAL_RETURN(guid, MF_MT_PAN_SCAN_ENABLED);
1063 IF_EQUAL_RETURN(guid, MF_MT_AVG_BITRATE);
1064 IF_EQUAL_RETURN(guid, MF_MT_AVG_BIT_ERROR_RATE);
1065 IF_EQUAL_RETURN(guid, MF_MT_MAX_KEYFRAME_SPACING);
1066 IF_EQUAL_RETURN(guid, MF_MT_DEFAULT_STRIDE);
1067 IF_EQUAL_RETURN(guid, MF_MT_PALETTE);
1068 IF_EQUAL_RETURN(guid, MF_MT_USER_DATA);
1069 IF_EQUAL_RETURN(guid, MF_MT_AM_FORMAT_TYPE);
1070 IF_EQUAL_RETURN(guid, MF_MT_MPEG_START_TIME_CODE);
1071 IF_EQUAL_RETURN(guid, MF_MT_MPEG2_PROFILE);
1072 IF_EQUAL_RETURN(guid, MF_MT_MPEG2_LEVEL);
1073 IF_EQUAL_RETURN(guid, MF_MT_MPEG2_FLAGS);
1074 IF_EQUAL_RETURN(guid, MF_MT_MPEG_SEQUENCE_HEADER);
1075 IF_EQUAL_RETURN(guid, MF_MT_DV_AAUX_SRC_PACK_0);
1076 IF_EQUAL_RETURN(guid, MF_MT_DV_AAUX_CTRL_PACK_0);
1077 IF_EQUAL_RETURN(guid, MF_MT_DV_AAUX_SRC_PACK_1);
1078 IF_EQUAL_RETURN(guid, MF_MT_DV_AAUX_CTRL_PACK_1);
1079 IF_EQUAL_RETURN(guid, MF_MT_DV_VAUX_SRC_PACK);
1080 IF_EQUAL_RETURN(guid, MF_MT_DV_VAUX_CTRL_PACK);
1081 IF_EQUAL_RETURN(guid, MF_MT_ARBITRARY_HEADER);
1082 IF_EQUAL_RETURN(guid, MF_MT_ARBITRARY_FORMAT);
1083 IF_EQUAL_RETURN(guid, MF_MT_IMAGE_LOSS_TOLERANT);
1084 IF_EQUAL_RETURN(guid, MF_MT_MPEG4_SAMPLE_DESCRIPTION);
1085 IF_EQUAL_RETURN(guid, MF_MT_MPEG4_CURRENT_SAMPLE_ENTRY);
1086 IF_EQUAL_RETURN(guid, MF_MT_ORIGINAL_4CC);
1087 IF_EQUAL_RETURN(guid, MF_MT_ORIGINAL_WAVE_FORMAT_TAG);
1089 IF_EQUAL_RETURN(guid, MFMediaType_Audio);
1090 IF_EQUAL_RETURN(guid, MFMediaType_Video);
1091 IF_EQUAL_RETURN(guid, MFMediaType_Protected);
1092 IF_EQUAL_RETURN(guid, MFMediaType_SAMI);
1093 IF_EQUAL_RETURN(guid, MFMediaType_Script);
1094 IF_EQUAL_RETURN(guid, MFMediaType_Image);
1095 IF_EQUAL_RETURN(guid, MFMediaType_HTML);
1096 IF_EQUAL_RETURN(guid, MFMediaType_Binary);
1097 IF_EQUAL_RETURN(guid, MFMediaType_FileTransfer);
1098 IF_EQUAL_RETURN(guid, MFVideoFormat_AI44); // FCC('AI44')
1099 IF_EQUAL_RETURN(guid, MFVideoFormat_ARGB32); // D3DFMT_A8R8G8B8
1100 IF_EQUAL_RETURN(guid, MFVideoFormat_AYUV); // FCC('AYUV')
1101 IF_EQUAL_RETURN(guid, MFVideoFormat_DV25); // FCC('dv25')
1102 IF_EQUAL_RETURN(guid, MFVideoFormat_DV50); // FCC('dv50')
1103 IF_EQUAL_RETURN(guid, MFVideoFormat_DVH1); // FCC('dvh1')
1104 IF_EQUAL_RETURN(guid, MFVideoFormat_DVSD); // FCC('dvsd')
1105 IF_EQUAL_RETURN(guid, MFVideoFormat_DVSL); // FCC('dvsl')
1106 IF_EQUAL_RETURN(guid, MFVideoFormat_H264); // FCC('H264')
1107 IF_EQUAL_RETURN(guid, MFVideoFormat_I420); // FCC('I420')
1108 IF_EQUAL_RETURN(guid, MFVideoFormat_IYUV); // FCC('IYUV')
1109 IF_EQUAL_RETURN(guid, MFVideoFormat_M4S2); // FCC('M4S2')
1110 IF_EQUAL_RETURN(guid, MFVideoFormat_MJPG);
1111 IF_EQUAL_RETURN(guid, MFVideoFormat_MP43); // FCC('MP43')
1112 IF_EQUAL_RETURN(guid, MFVideoFormat_MP4S); // FCC('MP4S')
1113 IF_EQUAL_RETURN(guid, MFVideoFormat_MP4V); // FCC('MP4V')
1114 IF_EQUAL_RETURN(guid, MFVideoFormat_MPG1); // FCC('MPG1')
1115 IF_EQUAL_RETURN(guid, MFVideoFormat_MSS1); // FCC('MSS1')
1116 IF_EQUAL_RETURN(guid, MFVideoFormat_MSS2); // FCC('MSS2')
1117 IF_EQUAL_RETURN(guid, MFVideoFormat_NV11); // FCC('NV11')
1118 IF_EQUAL_RETURN(guid, MFVideoFormat_NV12); // FCC('NV12')
1119 IF_EQUAL_RETURN(guid, MFVideoFormat_P010); // FCC('P010')
1120 IF_EQUAL_RETURN(guid, MFVideoFormat_P016); // FCC('P016')
1121 IF_EQUAL_RETURN(guid, MFVideoFormat_P210); // FCC('P210')
1122 IF_EQUAL_RETURN(guid, MFVideoFormat_P216); // FCC('P216')
1123 IF_EQUAL_RETURN(guid, MFVideoFormat_RGB24); // D3DFMT_R8G8B8
1124 IF_EQUAL_RETURN(guid, MFVideoFormat_RGB32); // D3DFMT_X8R8G8B8
1125 IF_EQUAL_RETURN(guid, MFVideoFormat_RGB555); // D3DFMT_X1R5G5B5
1126 IF_EQUAL_RETURN(guid, MFVideoFormat_RGB565); // D3DFMT_R5G6B5
1127 IF_EQUAL_RETURN(guid, MFVideoFormat_RGB8);
1128 IF_EQUAL_RETURN(guid, MFVideoFormat_UYVY); // FCC('UYVY')
1129 IF_EQUAL_RETURN(guid, MFVideoFormat_v210); // FCC('v210')
1130 IF_EQUAL_RETURN(guid, MFVideoFormat_v410); // FCC('v410')
1131 IF_EQUAL_RETURN(guid, MFVideoFormat_WMV1); // FCC('WMV1')
1132 IF_EQUAL_RETURN(guid, MFVideoFormat_WMV2); // FCC('WMV2')
1133 IF_EQUAL_RETURN(guid, MFVideoFormat_WMV3); // FCC('WMV3')
1134 IF_EQUAL_RETURN(guid, MFVideoFormat_WVC1); // FCC('WVC1')
1135 IF_EQUAL_RETURN(guid, MFVideoFormat_Y210); // FCC('Y210')
1136 IF_EQUAL_RETURN(guid, MFVideoFormat_Y216); // FCC('Y216')
1137 IF_EQUAL_RETURN(guid, MFVideoFormat_Y410); // FCC('Y410')
1138 IF_EQUAL_RETURN(guid, MFVideoFormat_Y416); // FCC('Y416')
1139 IF_EQUAL_RETURN(guid, MFVideoFormat_Y41P);
1140 IF_EQUAL_RETURN(guid, MFVideoFormat_Y41T);
1141 IF_EQUAL_RETURN(guid, MFVideoFormat_YUY2); // FCC('YUY2')
1142 IF_EQUAL_RETURN(guid, MFVideoFormat_YV12); // FCC('YV12')
1143 IF_EQUAL_RETURN(guid, MFVideoFormat_YVYU);
1144 IF_EQUAL_RETURN(guid, MFAudioFormat_PCM); // WAVE_FORMAT_PCM
1145 IF_EQUAL_RETURN(guid, MFAudioFormat_Float); // WAVE_FORMAT_IEEE_FLOAT
1146 IF_EQUAL_RETURN(guid, MFAudioFormat_DTS); // WAVE_FORMAT_DTS
1147 IF_EQUAL_RETURN(guid, MFAudioFormat_Dolby_AC3_SPDIF); // WAVE_FORMAT_DOLBY_AC3_SPDIF
1148 IF_EQUAL_RETURN(guid, MFAudioFormat_DRM); // WAVE_FORMAT_DRM
1149 IF_EQUAL_RETURN(guid, MFAudioFormat_WMAudioV8); // WAVE_FORMAT_WMAUDIO2
1150 IF_EQUAL_RETURN(guid, MFAudioFormat_WMAudioV9); // WAVE_FORMAT_WMAUDIO3
1151 IF_EQUAL_RETURN(guid, MFAudioFormat_WMAudio_Lossless); // WAVE_FORMAT_WMAUDIO_LOSSLESS
1152 IF_EQUAL_RETURN(guid, MFAudioFormat_WMASPDIF); // WAVE_FORMAT_WMASPDIF
1153 IF_EQUAL_RETURN(guid, MFAudioFormat_MSP1); // WAVE_FORMAT_WMAVOICE9
1154 IF_EQUAL_RETURN(guid, MFAudioFormat_MP3); // WAVE_FORMAT_MPEGLAYER3
1155 IF_EQUAL_RETURN(guid, MFAudioFormat_MPEG); // WAVE_FORMAT_MPEG
1156 IF_EQUAL_RETURN(guid, MFAudioFormat_AAC); // WAVE_FORMAT_MPEG_HEAAC
1157 IF_EQUAL_RETURN(guid, MFAudioFormat_ADTS); // WAVE_FORMAT_MPEG_ADTS_AAC
1270 GUID VideoFormat)
1563 GUID majorType;
2986 memset(&MF_MT_MAJOR_TYPE, 0, sizeof(GUID));
2987 memset(&MF_MT_AM_FORMAT_TYPE, 0, sizeof(GUID));
2988 memset(&MF_MT_SUBTYPE, 0, sizeof(GUID));
4086 GUID encodingFormat;
4087 GUID inputFormat;
4098 static const GUID FourCC2GUID(int fourcc);
4112 const GUID CvVideoWriter_MSMF::FourCC2GUID(int fourcc)