/reactos/dll/directx/ksproxy/ |
H A D | datatype.cpp | 100 PKSDATARANGE DataRange; in KsIsMediaTypeInRanges() local 109 DataRange = (PKSDATARANGE)(DataList + 1); in KsIsMediaTypeInRanges() 115 if (DataRange->FormatSize >= sizeof(KSDATARANGE)) in KsIsMediaTypeInRanges() 117 bMatch = IsEqualGUID(DataRange->MajorFormat, GUID_NULL); in KsIsMediaTypeInRanges() 120 if (!bMatch && DataRange->FormatSize >= sizeof(KSDATARANGE_AUDIO)) in KsIsMediaTypeInRanges() 122 bMatch = IsEqualGUID(DataRange->MajorFormat, MEDIATYPE_Audio); in KsIsMediaTypeInRanges() 127 if (IsEqualGUID(DataRange->SubFormat, m_Type->subtype) || in KsIsMediaTypeInRanges() 128 IsEqualGUID(DataRange->SubFormat, GUID_NULL)) in KsIsMediaTypeInRanges() 130 if (IsEqualGUID(DataRange->Specifier, m_Type->formattype) || in KsIsMediaTypeInRanges() 131 IsEqualGUID(DataRange->Specifier, GUID_NULL)) in KsIsMediaTypeInRanges() [all …]
|
H A D | ksproxy.cpp | 91 PKSDATARANGE DataRange, in KsResolveRequiredAttributes() argument
|
/reactos/drivers/wdm/audio/drivers/ac97/ |
H A D | miniport.cpp | 444 PinDataRangesPCMStreamRender[nWavePlaybackEntries].DataRange.Flags = 0; in BuildDataRangeInformation() 446 PinDataRangesPCMStreamRender[nWavePlaybackEntries].DataRange.Reserved = 0; in BuildDataRangeInformation() 474 PinDataRangesPCMStreamCapture[nWaveRecordingEntries].DataRange.Flags = 0; in BuildDataRangeInformation() 475 PinDataRangesPCMStreamCapture[nWaveRecordingEntries].DataRange.SampleSize = 4; in BuildDataRangeInformation() 476 PinDataRangesPCMStreamCapture[nWaveRecordingEntries].DataRange.Reserved = 0; in BuildDataRangeInformation() 503 PinDataRangesMicStream[nMicEntries].DataRange.FormatSize = sizeof(KSDATARANGE_AUDIO); in BuildDataRangeInformation() 504 PinDataRangesMicStream[nMicEntries].DataRange.Flags = 0; in BuildDataRangeInformation() 505 PinDataRangesMicStream[nMicEntries].DataRange.SampleSize = 2; in BuildDataRangeInformation() 506 PinDataRangesMicStream[nMicEntries].DataRange.Reserved = 0; in BuildDataRangeInformation() 507 PinDataRangesMicStream[nMicEntries].DataRange.MajorFormat = KSDATAFORMAT_TYPE_AUDIO; in BuildDataRangeInformation() [all …]
|
H A D | miniport.h | 126 IN PKSDATARANGE DataRange, \ 131 { return CMiniport::DataRangeIntersection(PinId, DataRange, \
|
/reactos/sdk/lib/drivers/sound/mmixer/ |
H A D | midi.c | 129 PKSDATARANGE DataRange; in MMixerCheckFilterPinMidiSupport() local 134 DataRange = (PKSDATARANGE)(MultipleItem + 1); in MMixerCheckFilterPinMidiSupport() 137 ASSERT(((ULONG_PTR)DataRange & 0x7) == 0); in MMixerCheckFilterPinMidiSupport() 142 if (IsEqualGUIDAligned(&DataRange->MajorFormat, &KSDATAFORMAT_TYPE_MUSIC) && in MMixerCheckFilterPinMidiSupport() 143 IsEqualGUIDAligned(&DataRange->SubFormat, &KSDATAFORMAT_SUBTYPE_MIDI) && in MMixerCheckFilterPinMidiSupport() 144 IsEqualGUIDAligned(&DataRange->Specifier, &KSDATAFORMAT_SPECIFIER_NONE)) in MMixerCheckFilterPinMidiSupport() 161 DataRange = (PKSDATARANGE)((ULONG_PTR)DataRange + DataRange->FormatSize); in MMixerCheckFilterPinMidiSupport() 164 ASSERT(((ULONG_PTR)DataRange & 0x7) == 0); in MMixerCheckFilterPinMidiSupport() 167 DataRange = (PVOID)(((ULONG_PTR)DataRange + 0x7) & ~0x7); in MMixerCheckFilterPinMidiSupport()
|
H A D | wave.c | 208 PKSDATARANGE DataRange; in MMixerFindAudioDataRange() local 210 DataRange = (PKSDATARANGE) (MultipleItem + 1); in MMixerFindAudioDataRange() 213 if (DataRange->FormatSize == sizeof(KSDATARANGE_AUDIO)) in MMixerFindAudioDataRange() 215 DataRangeAudio = (PKSDATARANGE_AUDIO)DataRange; in MMixerFindAudioDataRange() 216 … if (IsEqualGUIDAligned(&DataRangeAudio->DataRange.MajorFormat, &KSDATAFORMAT_TYPE_AUDIO) && in MMixerFindAudioDataRange() 217 … IsEqualGUIDAligned(&DataRangeAudio->DataRange.SubFormat, &KSDATAFORMAT_SUBTYPE_PCM) && in MMixerFindAudioDataRange() 218 … IsEqualGUIDAligned(&DataRangeAudio->DataRange.Specifier, &KSDATAFORMAT_SPECIFIER_WAVEFORMATEX)) in MMixerFindAudioDataRange() 226 DataRange = (PKSDATARANGE)((ULONG_PTR)DataRange + DataRange->FormatSize); in MMixerFindAudioDataRange()
|
/reactos/drivers/wdm/audio/filters/splitter/ |
H A D | pin.c | 183 IN PKSDATARANGE DataRange, in PinIntersectHandler() argument 199 if (!IsEqualGUIDAligned(&FirstPin->ConnectionFormat->SubFormat, &DataRange->SubFormat) || in PinIntersectHandler() 200 !IsEqualGUIDAligned(&FirstPin->ConnectionFormat->Specifier, &DataRange->Specifier) || in PinIntersectHandler() 201 !IsEqualGUIDAligned(&GUID_NULL, &DataRange->SubFormat) || in PinIntersectHandler() 202 !IsEqualGUIDAligned(&GUID_NULL, &DataRange->Specifier)) in PinIntersectHandler()
|
H A D | precomp.h | 54 IN PKSDATARANGE DataRange,
|
/reactos/drivers/wdm/audio/backpln/portcls/ |
H A D | propertyhandler.cpp | 118 PKSDATARANGE DataRange; in HandleDataIntersection() local 124 DataRange = (PKSDATARANGE)(MultipleItem + 1); in HandleDataIntersection() 131 …Status = SubDevice->DataRangeIntersection(Pin->PinId, DataRange, (PKSDATARANGE)Descriptor->Factory… in HandleDataIntersection() 139 DataRange = (PKSDATARANGE)((PUCHAR)DataRange + DataRange->FormatSize); in HandleDataIntersection()
|
H A D | port_wavert.cpp | 380 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument 390 …return m_pMiniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength… in DataRangeIntersection()
|
H A D | port_dmus.cpp | 430 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument 440 …return m_pMiniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength… in DataRangeIntersection()
|
H A D | port_wavecyclic.cpp | 470 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument 480 …return m_pMiniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength… in DataRangeIntersection()
|
H A D | port_wavepci.cpp | 457 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument 467 …return m_Miniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength,… in DataRangeIntersection()
|
H A D | port_topology.cpp | 376 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument 386 …return m_pMiniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength… in DataRangeIntersection()
|
/reactos/drivers/ksfilter/ks/ |
H A D | connectivity.c | 625 if (WaveFormatOut[Index]->DataRange.FormatSize != sizeof(KSDATARANGE_AUDIO)) in KspPinPropertyHandler() 709 KSDATARANGE * DataRange; in KsPinDataIntersection() local 739 DataRange = (KSDATARANGE*)(Item + 1); in KsPinDataIntersection() 741 for(Index = 0; Index < Item->Count; Index++, DataRange++) in KsPinDataIntersection() 744 Status = IntersectHandler(Irp, Pin, DataRange, Data); in KsPinDataIntersection() 747 if (IoStack->Parameters.DeviceIoControl.OutputBufferLength < DataRange->FormatSize) in KsPinDataIntersection() 750 Irp->IoStatus.Information = DataRange->FormatSize; in KsPinDataIntersection() 754 RtlMoveMemory(Irp->UserBuffer, DataRange, sizeof(KSDATARANGE)); in KsPinDataIntersection()
|
H A D | filter.c | 822 PKSDATARANGE DataRange; in KspHandleDataIntersection() local 836 DataRange = (PKSDATARANGE)(MultipleItem + 1); in KspHandleDataIntersection() 839 ASSERT(((ULONG_PTR)DataRange & 0x7) == 0); in KspHandleDataIntersection() 865 RtlStringFromGUID(&DataRange->MajorFormat, &MajorFormat); in KspHandleDataIntersection() 866 RtlStringFromGUID(&DataRange->SubFormat, &SubFormat); in KspHandleDataIntersection() 867 RtlStringFromGUID(&DataRange->Specifier, &Specifier); in KspHandleDataIntersection() 870 …DataRange->FormatSize, DataRange->SampleSize, DataRange->Alignment, DataRange->Flags, DataRange->R… in KspHandleDataIntersection() 877 DataRange, in KspHandleDataIntersection() 891 DataRange = (PKSDATARANGE)((PUCHAR)DataRange + DataRange->FormatSize); in KspHandleDataIntersection() 893 ASSERT(((ULONG_PTR)DataRange & 0x7) == 0); in KspHandleDataIntersection()
|
H A D | filterfactory.c | 658 …PKSPCACHE_DATARANGE DataRange = (PKSPCACHE_DATARANGE)((ULONG_PTR)Descriptor.FilterData + Descripto… in KsFilterFactoryUpdateCacheData() local 661 DataRange->Signature = 0x33797430 + SubIndex; in KsFilterFactoryUpdateCacheData() 662 DataRange->dwUnused = 0; in KsFilterFactoryUpdateCacheData() 663 …DataRange->OffsetMajor = KspCacheAddData(&Descriptor, &FilterDescriptor->PinDescriptors[Index].Pin… in KsFilterFactoryUpdateCacheData() 664 …DataRange->OffsetMinor = KspCacheAddData(&Descriptor, &FilterDescriptor->PinDescriptors[Index].Pin… in KsFilterFactoryUpdateCacheData()
|
/reactos/sdk/include/psdk/ |
H A D | ksmedia.h | 679 KSDATARANGE DataRange; member 696 KSDATARANGE DataRange; member 888 KSDATARANGE DataRange; member 898 KSDATARANGE DataRange; member 922 KSDATARANGE DataRange; member 1310 KSDATARANGE DataRange; member
|
/reactos/drivers/wdm/audio/sysaudio/ |
H A D | control.c | 207 if (AudioRange->DataRange.FormatSize != sizeof(KSDATARANGE_AUDIO)) in ComputeCompatibleFormat() 210 … AudioRange = (PKSDATARANGE_AUDIO)((PUCHAR)AudioRange + AudioRange->DataRange.FormatSize); in ComputeCompatibleFormat() 247 AudioRange = (PKSDATARANGE_AUDIO)((PUCHAR)AudioRange + AudioRange->DataRange.FormatSize); in ComputeCompatibleFormat()
|
/reactos/drivers/wdm/audio/drivers/CMIDriver/ |
H A D | mintopo.hpp | 64 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument
|
H A D | interfaces.hpp | 91 PKSDATARANGE DataRange, in DECLARE_INTERFACE_()
|
/reactos/drivers/usb/usbaudio/ |
H A D | usbaudio.h | 350 _In_ PKSDATARANGE DataRange, 398 _In_ const KSDATARANGE* DataRange,
|
H A D | filter.c | 1223 DataRangeAudio->DataRange.FormatSize = sizeof(KSDATARANGE_AUDIO); in UsbAudioGetDataRanges() 1224 DataRangeAudio->DataRange.MajorFormat = KSDATAFORMAT_TYPE_AUDIO; in UsbAudioGetDataRanges() 1225 DataRangeAudio->DataRange.SubFormat = KSDATAFORMAT_SUBTYPE_PCM; in UsbAudioGetDataRanges() 1226 DataRangeAudio->DataRange.Specifier = KSDATAFORMAT_SPECIFIER_WAVEFORMATEX; in UsbAudioGetDataRanges()
|
/reactos/dll/directx/dsound_new/ |
H A D | misc.c | 544 if (AudioRange->DataRange.FormatSize != sizeof(KSDATARANGE_AUDIO)) in CreateCompatiblePin() 547 … AudioRange = (PKSDATARANGE_AUDIO)((PUCHAR)AudioRange + AudioRange->DataRange.FormatSize); in CreateCompatiblePin() 581 AudioRange = (PKSDATARANGE_AUDIO)((PUCHAR)AudioRange + AudioRange->DataRange.FormatSize); in CreateCompatiblePin()
|
/reactos/sdk/include/dxsdk/ |
H A D | bdamedia.h | 344 KSDATARANGE DataRange; member
|