Home
last modified time | relevance | path

Searched refs:DataRange (Results 1 – 25 of 34) sorted by relevance

12

/reactos/dll/directx/ksproxy/
H A Ddatatype.cpp100 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 Dksproxy.cpp91 PKSDATARANGE DataRange, in KsResolveRequiredAttributes() argument
/reactos/drivers/wdm/audio/drivers/ac97/
H A Dminiport.cpp444 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 Dminiport.h126 IN PKSDATARANGE DataRange, \
131 { return CMiniport::DataRangeIntersection(PinId, DataRange, \
/reactos/sdk/lib/drivers/sound/mmixer/
H A Dmidi.c129 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 Dwave.c208 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 Dpin.c183 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 Dprecomp.h54 IN PKSDATARANGE DataRange,
/reactos/drivers/wdm/audio/backpln/portcls/
H A Dpropertyhandler.cpp118 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 Dport_wavert.cpp380 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument
390 …return m_pMiniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength… in DataRangeIntersection()
H A Dport_dmus.cpp430 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument
440 …return m_pMiniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength… in DataRangeIntersection()
H A Dport_wavecyclic.cpp470 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument
480 …return m_pMiniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength… in DataRangeIntersection()
H A Dport_wavepci.cpp457 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument
467 …return m_Miniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength,… in DataRangeIntersection()
H A Dport_topology.cpp376 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument
386 …return m_pMiniport->DataRangeIntersection (PinId, DataRange, MatchingDataRange, OutputBufferLength… in DataRangeIntersection()
/reactos/drivers/ksfilter/ks/
H A Dconnectivity.c625 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 Dfilter.c822 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()
870DataRange->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 Dfilterfactory.c658 …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()
663DataRange->OffsetMajor = KspCacheAddData(&Descriptor, &FilterDescriptor->PinDescriptors[Index].Pin… in KsFilterFactoryUpdateCacheData()
664DataRange->OffsetMinor = KspCacheAddData(&Descriptor, &FilterDescriptor->PinDescriptors[Index].Pin… in KsFilterFactoryUpdateCacheData()
/reactos/sdk/include/psdk/
H A Dksmedia.h679 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 Dcontrol.c207 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 Dmintopo.hpp64 IN PKSDATARANGE DataRange, in DataRangeIntersection() argument
H A Dinterfaces.hpp91 PKSDATARANGE DataRange, in DECLARE_INTERFACE_()
/reactos/drivers/usb/usbaudio/
H A Dusbaudio.h350 _In_ PKSDATARANGE DataRange,
398 _In_ const KSDATARANGE* DataRange,
H A Dfilter.c1223 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 Dmisc.c544 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 Dbdamedia.h344 KSDATARANGE DataRange; member

12