Home
last modified time | relevance | path

Searched refs:pbFormat (Results 1 – 25 of 752) sorted by relevance

12345678910>>...31

/dports/net/pjsip/pjproject-2.11.1/third_party/BaseClasses/
H A Dmtype.cpp93 pbFormat != NULL && rt.pbFormat != NULL && in operator ==()
94 (memcmp(pbFormat, rt.pbFormat, cbFormat) == 0))); in operator ==()
191 ASSERT(pbFormat); in SetFormat()
217 pbFormat = NULL; in ResetFormatBuffer()
233 return pbFormat; in AllocFormatBuffer()
247 ASSERT(pbFormat); in AllocFormatBuffer()
253 return pbFormat; in AllocFormatBuffer()
270 return pbFormat; in ReallocFormatBuffer()
285 ASSERT(pbFormat); in ReallocFormatBuffer()
340 (memcmp(pbFormat, ppartial->pbFormat, cbFormat) != 0)) { in MatchesPartial()
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/media/webrtc/trunk/webrtc/modules/video_capture/windows/
H A DMediaType.cpp60 CoTaskMemFree(pbFormat); in Clear()
62 pbFormat = NULL; in Clear()
92 pbFormat = (BYTE*)CoTaskMemAlloc(cbFormat); in Assign()
93 if (!pbFormat) in Assign()
95 memcpy(pbFormat, aMediaType->pbFormat, cbFormat); in Assign()
106 pbFormat = NULL; in Forget()
125 (pbFormat != NULL && in IsEqual()
126 aMediaType->pbFormat != NULL && in IsEqual()
127 (memcmp(pbFormat, aMediaType->pbFormat, cbFormat) == 0))); in IsEqual()
155 (memcmp(pbFormat, aMediaType->pbFormat, cbFormat) != 0)) in MatchesPartial()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/media/webrtc/trunk/webrtc/modules/video_capture/windows/
H A DMediaType.cpp60 CoTaskMemFree(pbFormat);
62 pbFormat = NULL;
89 pbFormat = (BYTE*)CoTaskMemAlloc(cbFormat);
90 if (!pbFormat)
92 memcpy(pbFormat, aMediaType->pbFormat, cbFormat);
106 pbFormat = NULL;
125 (pbFormat != NULL &&
126 aMediaType->pbFormat != NULL &&
127 (memcmp(pbFormat, aMediaType->pbFormat, cbFormat) == 0)));
155 (memcmp(pbFormat, aMediaType->pbFormat, cbFormat) != 0))
[all …]
/dports/multimedia/mplayer/mplayer-export-2021-12-29/loader/dshow/
H A Dmediatype.c50 Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"%02x ",(BYTE)pmt->pbFormat[i]); in DisplayMediaType()
73 pWF=(WAVEFORMATEX*)pmt->pbFormat; in DisplayMediaType()
81 if(pmt && memcmp(&pmt->formattype,&FORMAT_VideoInfo,16)==0 && pmt->pbFormat){ in DisplayMediaType()
82 Vhdr=(VIDEOINFOHEADER*)pmt->pbFormat; in DisplayMediaType()
105 if(!pSrc->pbFormat && pSrc->cbFormat) return E_POINTER; in CopyMediaType()
108 if (!pSrc->pbFormat) return S_OK; in CopyMediaType()
109 if (!(pDest->pbFormat = CoTaskMemAlloc(pSrc->cbFormat))) in CopyMediaType()
111 memcpy(pDest->pbFormat, pSrc->pbFormat, pSrc->cbFormat); in CopyMediaType()
120 if (pMediaType->pbFormat) in FreeMediaType()
122 CoTaskMemFree(pMediaType->pbFormat); in FreeMediaType()
[all …]
/dports/multimedia/mencoder/mplayer-export-2021-12-29/loader/dshow/
H A Dmediatype.c50 Debug mp_msg(MSGT_LOADER,MSGL_DBG4,"%02x ",(BYTE)pmt->pbFormat[i]); in DisplayMediaType()
73 pWF=(WAVEFORMATEX*)pmt->pbFormat; in DisplayMediaType()
81 if(pmt && memcmp(&pmt->formattype,&FORMAT_VideoInfo,16)==0 && pmt->pbFormat){ in DisplayMediaType()
82 Vhdr=(VIDEOINFOHEADER*)pmt->pbFormat; in DisplayMediaType()
105 if(!pSrc->pbFormat && pSrc->cbFormat) return E_POINTER; in CopyMediaType()
108 if (!pSrc->pbFormat) return S_OK; in CopyMediaType()
109 if (!(pDest->pbFormat = CoTaskMemAlloc(pSrc->cbFormat))) in CopyMediaType()
111 memcpy(pDest->pbFormat, pSrc->pbFormat, pSrc->cbFormat); in CopyMediaType()
120 if (pMediaType->pbFormat) in FreeMediaType()
122 CoTaskMemFree(pMediaType->pbFormat); in FreeMediaType()
[all …]
/dports/multimedia/handbrake/ffmpeg-4.4/libavdevice/
H A Ddshow_common.c26 uint8_t *pbFormat = NULL; in ff_copy_dshow_media_type() local
29 pbFormat = CoTaskMemAlloc(src->cbFormat); in ff_copy_dshow_media_type()
30 if (!pbFormat) in ff_copy_dshow_media_type()
32 memcpy(pbFormat, src->pbFormat, src->cbFormat); in ff_copy_dshow_media_type()
37 dst->pbFormat = pbFormat; in ff_copy_dshow_media_type()
151 dshowdebug(" pbFormat\t%p\n", type->pbFormat); in ff_print_AM_MEDIA_TYPE()
154 VIDEOINFOHEADER *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
164 VIDEOINFOHEADER2 *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
180 WAVEFORMATEX *fx = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
/dports/emulators/vice/vice-3.5/src/lib/libffmpeg/libavdevice/
H A Ddshow_common.c26 uint8_t *pbFormat = NULL; in ff_copy_dshow_media_type() local
29 pbFormat = CoTaskMemAlloc(src->cbFormat); in ff_copy_dshow_media_type()
30 if (!pbFormat) in ff_copy_dshow_media_type()
32 memcpy(pbFormat, src->pbFormat, src->cbFormat); in ff_copy_dshow_media_type()
37 dst->pbFormat = pbFormat; in ff_copy_dshow_media_type()
151 dshowdebug(" pbFormat\t%p\n", type->pbFormat); in ff_print_AM_MEDIA_TYPE()
154 VIDEOINFOHEADER *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
164 VIDEOINFOHEADER2 *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
180 WAVEFORMATEX *fx = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
/dports/multimedia/gstreamer1-libav/gst-libav-1.16.2/gst-libs/ext/libav/libavdevice/
H A Ddshow_common.c26 uint8_t *pbFormat = NULL; in ff_copy_dshow_media_type() local
29 pbFormat = CoTaskMemAlloc(src->cbFormat); in ff_copy_dshow_media_type()
30 if (!pbFormat) in ff_copy_dshow_media_type()
32 memcpy(pbFormat, src->pbFormat, src->cbFormat); in ff_copy_dshow_media_type()
37 dst->pbFormat = pbFormat; in ff_copy_dshow_media_type()
151 dshowdebug(" pbFormat\t%p\n", type->pbFormat); in ff_print_AM_MEDIA_TYPE()
154 VIDEOINFOHEADER *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
164 VIDEOINFOHEADER2 *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
180 WAVEFORMATEX *fx = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
/dports/multimedia/ffmpeg/ffmpeg-4.4.1/libavdevice/
H A Ddshow_common.c26 uint8_t *pbFormat = NULL; in ff_copy_dshow_media_type() local
29 pbFormat = CoTaskMemAlloc(src->cbFormat); in ff_copy_dshow_media_type()
30 if (!pbFormat) in ff_copy_dshow_media_type()
32 memcpy(pbFormat, src->pbFormat, src->cbFormat); in ff_copy_dshow_media_type()
37 dst->pbFormat = pbFormat; in ff_copy_dshow_media_type()
151 dshowdebug(" pbFormat\t%p\n", type->pbFormat); in ff_print_AM_MEDIA_TYPE()
154 VIDEOINFOHEADER *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
164 VIDEOINFOHEADER2 *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
180 WAVEFORMATEX *fx = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/ffmpeg/libavdevice/
H A Ddshow_common.c26 uint8_t *pbFormat = NULL; in ff_copy_dshow_media_type() local
29 pbFormat = CoTaskMemAlloc(src->cbFormat); in ff_copy_dshow_media_type()
30 if (!pbFormat) in ff_copy_dshow_media_type()
32 memcpy(pbFormat, src->pbFormat, src->cbFormat); in ff_copy_dshow_media_type()
37 dst->pbFormat = pbFormat; in ff_copy_dshow_media_type()
151 dshowdebug(" pbFormat\t%p\n", type->pbFormat); in ff_print_AM_MEDIA_TYPE()
154 VIDEOINFOHEADER *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
164 VIDEOINFOHEADER2 *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
180 WAVEFORMATEX *fx = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/lib/libffmpeg/libavdevice/
H A Ddshow_common.c26 uint8_t *pbFormat = NULL; in ff_copy_dshow_media_type() local
29 pbFormat = CoTaskMemAlloc(src->cbFormat); in ff_copy_dshow_media_type()
30 if (!pbFormat) in ff_copy_dshow_media_type()
32 memcpy(pbFormat, src->pbFormat, src->cbFormat); in ff_copy_dshow_media_type()
37 dst->pbFormat = pbFormat; in ff_copy_dshow_media_type()
151 dshowdebug(" pbFormat\t%p\n", type->pbFormat); in ff_print_AM_MEDIA_TYPE()
154 VIDEOINFOHEADER *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
164 VIDEOINFOHEADER2 *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
180 WAVEFORMATEX *fx = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/ffmpeg/libavdevice/
H A Ddshow_common.c26 uint8_t *pbFormat = NULL; in ff_copy_dshow_media_type() local
29 pbFormat = CoTaskMemAlloc(src->cbFormat); in ff_copy_dshow_media_type()
30 if (!pbFormat) in ff_copy_dshow_media_type()
32 memcpy(pbFormat, src->pbFormat, src->cbFormat); in ff_copy_dshow_media_type()
37 dst->pbFormat = pbFormat; in ff_copy_dshow_media_type()
151 dshowdebug(" pbFormat\t%p\n", type->pbFormat); in ff_print_AM_MEDIA_TYPE()
154 VIDEOINFOHEADER *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
164 VIDEOINFOHEADER2 *v = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
180 WAVEFORMATEX *fx = (void *) type->pbFormat; in ff_print_AM_MEDIA_TYPE()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/modules/video_capture/windows/
H A Dhelp_functions_ds.cc110 CoTaskMemFree(media_type->pbFormat); in ResetMediaType()
112 media_type->pbFormat = nullptr; in ResetMediaType()
131 RTC_DCHECK(source->pbFormat); in CopyMediaType()
132 target->pbFormat = in CopyMediaType()
134 if (target->pbFormat == nullptr) { in CopyMediaType()
138 CopyMemory(target->pbFormat, source->pbFormat, target->cbFormat); in CopyMediaType()
/dports/net-im/tg_owt/tg_owt-d578c76/src/modules/video_capture/windows/
H A Dhelp_functions_ds.cc110 CoTaskMemFree(media_type->pbFormat); in ResetMediaType()
112 media_type->pbFormat = nullptr; in ResetMediaType()
131 RTC_DCHECK(source->pbFormat); in CopyMediaType()
132 target->pbFormat = in CopyMediaType()
134 if (target->pbFormat == nullptr) { in CopyMediaType()
138 CopyMemory(target->pbFormat, source->pbFormat, target->cbFormat); in CopyMediaType()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/modules/video_capture/windows/
H A Dhelp_functions_ds.cc110 CoTaskMemFree(media_type->pbFormat); in ResetMediaType()
112 media_type->pbFormat = nullptr; in ResetMediaType()
131 RTC_DCHECK(source->pbFormat); in CopyMediaType()
132 target->pbFormat = in CopyMediaType()
134 if (target->pbFormat == nullptr) { in CopyMediaType()
138 CopyMemory(target->pbFormat, source->pbFormat, target->cbFormat); in CopyMediaType()
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/modules/video_capture/windows/
H A Dhelp_functions_ds.cc110 CoTaskMemFree(media_type->pbFormat); in ResetMediaType()
112 media_type->pbFormat = nullptr; in ResetMediaType()
131 RTC_DCHECK(source->pbFormat); in CopyMediaType()
132 target->pbFormat = in CopyMediaType()
134 if (target->pbFormat == nullptr) { in CopyMediaType()
138 CopyMemory(target->pbFormat, source->pbFormat, target->cbFormat); in CopyMediaType()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/modules/video_capture/windows/
H A Dhelp_functions_ds.cc112 CoTaskMemFree(media_type->pbFormat); in ResetMediaType()
114 media_type->pbFormat = nullptr; in ResetMediaType()
133 RTC_DCHECK(source->pbFormat); in CopyMediaType()
134 target->pbFormat = in CopyMediaType()
136 if (target->pbFormat == nullptr) { in CopyMediaType()
140 CopyMemory(target->pbFormat, source->pbFormat, target->cbFormat); in CopyMediaType()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/modules/video_capture/windows/
H A Dhelp_functions_ds.cc112 CoTaskMemFree(media_type->pbFormat); in ResetMediaType()
114 media_type->pbFormat = nullptr; in ResetMediaType()
133 RTC_DCHECK(source->pbFormat); in CopyMediaType()
134 target->pbFormat = in CopyMediaType()
136 if (target->pbFormat == nullptr) { in CopyMediaType()
140 CopyMemory(target->pbFormat, source->pbFormat, target->cbFormat); in CopyMediaType()
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/modules/video_capture/windows/
H A Dhelp_functions_ds.cc112 CoTaskMemFree(media_type->pbFormat); in ResetMediaType()
114 media_type->pbFormat = nullptr; in ResetMediaType()
133 RTC_DCHECK(source->pbFormat); in CopyMediaType()
134 target->pbFormat = in CopyMediaType()
136 if (target->pbFormat == nullptr) { in CopyMediaType()
140 CopyMemory(target->pbFormat, source->pbFormat, target->cbFormat); in CopyMediaType()
/dports/multimedia/libxine/xine-lib-1.2.11/src/libw32dll/DirectShow/
H A Dcmediasample.c49 if (This->media_type.pbFormat) in CMediaSample_Destroy()
50 CoTaskMemFree(This->media_type.pbFormat); in CMediaSample_Destroy()
181 (*ppMediaType)->pbFormat = (char*)CoTaskMemAlloc(t->cbFormat); in CMediaSample_GetMediaType()
182 memcpy((*ppMediaType)->pbFormat, t->pbFormat, t->cbFormat); in CMediaSample_GetMediaType()
195 if (t->pbFormat) in CMediaSample_SetMediaType()
196 CoTaskMemFree(t->pbFormat); in CMediaSample_SetMediaType()
200 t->pbFormat = (char*)CoTaskMemAlloc(t->cbFormat); in CMediaSample_SetMediaType()
201 memcpy(t->pbFormat, pMediaType->pbFormat, t->cbFormat); in CMediaSample_SetMediaType()
204 t->pbFormat = 0; in CMediaSample_SetMediaType()
282 This->media_type.pbFormat = 0; in CMediaSampleCreate()
H A Doutputpin.c57 if (ppMediaTypes[0]->pbFormat) in CEnumMediaTypes_Next()
59 ppMediaTypes[0]->pbFormat=(char *)CoTaskMemAlloc(ppMediaTypes[0]->cbFormat); in CEnumMediaTypes_Next()
60 memcpy(ppMediaTypes[0]->pbFormat, type->pbFormat, ppMediaTypes[0]->cbFormat); in CEnumMediaTypes_Next()
177 pmt->pbFormat=CoTaskMemAlloc(pmt->cbFormat); in COutputPin_Connect()
178 memcpy(pmt->pbFormat, ((COutputPin*)This)->type.pbFormat, pmt->cbFormat); in COutputPin_Connect()
224 pmt->pbFormat=(char *)CoTaskMemAlloc(pmt->cbFormat); in COutputPin_ConnectionMediaType()
225 memcpy(pmt->pbFormat, ((COutputPin*)This)->type.pbFormat, pmt->cbFormat); in COutputPin_ConnectionMediaType()
/dports/multimedia/vlc/vlc-3.0.16/modules/access/dshow/
H A Dfilter.cpp61 CoTaskMemFree( (PVOID)mt.pbFormat ); in FreeMediaType()
63 mt.pbFormat = NULL; in FreeMediaType()
79 if( pmtSource->cbFormat && pmtSource->pbFormat ) in CopyMediaType()
82 if( pmtTarget->pbFormat == NULL ) in CopyMediaType()
89 CopyMemory( (PVOID)pmtTarget->pbFormat, (PVOID)pmtSource->pbFormat, in CopyMediaType()
368 if( pmt->pbFormat && pmt->majortype == MEDIATYPE_Video ) in Connect()
371 !((VIDEOINFOHEADER *)pmt->pbFormat)->bmiHeader.biWidth ) in Connect()
516 if( pmt->pbFormat && in QueryAccept()
535 ((WAVEFORMATEX *)pmt->pbFormat)->nChannels, in QueryAccept()
536 ((WAVEFORMATEX *)pmt->pbFormat)->nSamplesPerSec, in QueryAccept()
[all …]
/dports/multimedia/webcamoid/webcamoid-8.8.0/libAvKys/Plugins/VirtualCamera/src/dshow/PlatformUtils/src/
H A Dutils.cpp480 if (!mediaType->pbFormat) in formatFromMediaType()
521 if (mediaType1->pbFormat == mediaType2->pbFormat) in isEqualMediaType()
525 return memcmp(mediaType1->pbFormat, in isEqualMediaType()
526 mediaType2->pbFormat, in isEqualMediaType()
563 dstMediaType->pbFormat = in copyMediaType()
565 memcpy(dstMediaType->pbFormat, in copyMediaType()
566 srcMediaType->pbFormat, in copyMediaType()
583 newMediaType->pbFormat = in createMediaType()
585 memcpy(newMediaType->pbFormat, in createMediaType()
586 mediaType->pbFormat, in createMediaType()
[all …]
/dports/multimedia/qt5-multimedia/kde-qtmultimedia-5.15.2p3/src/plugins/directshow/common/
H A Ddirectshowmediatype.cpp151 target->pbFormat = reinterpret_cast<PBYTE>(CoTaskMemAlloc(source->cbFormat)); in copyToUninitialized()
152 memcpy(target->pbFormat, source->pbFormat, source->cbFormat); in copyToUninitialized()
205 if (a->cbFormat != 0 && memcmp(a->pbFormat, b->pbFormat, a->cbFormat) != 0) in isCompatible()
220 CoTaskMemFree(type.pbFormat); in clear()
247 VIDEOINFOHEADER *header = reinterpret_cast<VIDEOINFOHEADER *>(type->pbFormat); in videoFormatFromType()
261 VIDEOINFOHEADER2 *header = reinterpret_cast<VIDEOINFOHEADER2 *>(type->pbFormat); in videoFormatFromType()
/dports/misc/visp/visp-3.4.0/modules/sensor/src/framegrabber/directshow/
H A DvpDirectShowGrabberImpl.cpp440 VIDEOINFOHEADER *pVih = reinterpret_cast<VIDEOINFOHEADER *>(mt.pbFormat); in checkSourceType()
760 VIDEOINFOHEADER *pVih = (VIDEOINFOHEADER *)sgCB.connectedMediaType.pbFormat; in setFramerate()
827 VIDEOINFOHEADER *pVih = (VIDEOINFOHEADER *)pmtConfig->pbFormat; in setFormat()
844 pVih = (VIDEOINFOHEADER *)sgCB.connectedMediaType.pbFormat; in setFormat()
867 pVih = (VIDEOINFOHEADER *)sgCB.connectedMediaType.pbFormat; in setFormat()
903 VIDEOINFOHEADER *pVih = (VIDEOINFOHEADER *)sgCB.connectedMediaType.pbFormat; in getFormat()
942 VIDEOINFOHEADER *pVih = (VIDEOINFOHEADER *)pmtConfig->pbFormat; in getStreamCapabilities()
1043 VIDEOINFOHEADER *pVih = (VIDEOINFOHEADER *)pmtConfig->pbFormat; in setMediaType()
1098 VIDEOINFOHEADER *pVih = (VIDEOINFOHEADER *)pmtConfig->pbFormat; in getMediaType()
1129 CoTaskMemFree((PVOID)mt.pbFormat); in MyFreeMediaType()
[all …]

12345678910>>...31