Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavdevice/
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()
Ddshow.c358 VIDEOINFOHEADER *v = (void *) type->pbFormat; in dshow_cycle_formats()
362 VIDEOINFOHEADER2 *v = (void *) type->pbFormat; in dshow_cycle_formats()
420 fx = (void *) type->pbFormat; in dshow_cycle_formats()
453 if (type->pbFormat) in dshow_cycle_formats()
454 CoTaskMemFree(type->pbFormat); in dshow_cycle_formats()
485 props.cbBuffer = (((WAVEFORMATEX *) type->pbFormat)->nAvgBytesPerSec) in dshow_set_audio_buffer_size()
499 if (type->pbFormat) in dshow_set_audio_buffer_size()
500 CoTaskMemFree(type->pbFormat); in dshow_set_audio_buffer_size()
945 type.pbFormat = NULL; in dshow_add_device()
964 VIDEOINFOHEADER *v = (void *) type.pbFormat; in dshow_add_device()
[all …]
Ddshow_pin.c242 if (this->type.pbFormat) { in ff_dshow_pin_Free()
243 CoTaskMemFree(this->type.pbFormat); in ff_dshow_pin_Free()
244 this->type.pbFormat = NULL; in ff_dshow_pin_Free()
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshowfakesink.cpp55 VIDEOINFOHEADER *info1 = (VIDEOINFOHEADER*)pmt->pbFormat; in CheckMediaType()
56 VIDEOINFOHEADER *info2 = (VIDEOINFOHEADER*)m_MediaType.pbFormat; in CheckMediaType()
Dgstdshow.cpp47 CoTaskMemFree ((PVOID) pmt->pbFormat); in gst_dshow_free_mediatype()
49 pmt->pbFormat = NULL; in gst_dshow_free_mediatype()
100 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
124 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshow_new_pin_mediatype_from_streamcaps()
Dgstdshowaudiosrc.cpp746 (WAVEFORMATEX *) pin_mediatype->mediatype->pbFormat; in gst_dshowaudiosrc_getcaps_from_streamcaps()
Dgstdshowvideosrc.cpp701 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshowvideosrc_set_caps()
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowaudiodec.cpp290 WAVEFORMATEX *wf1 = (WAVEFORMATEX *)pmt->pbFormat; in CheckMediaType()
291 WAVEFORMATEX *wf2 = (WAVEFORMATEX *)m_MediaType.pbFormat; in CheckMediaType()
300 (pmt->pbFormat != NULL && m_MediaType.pbFormat != NULL && in CheckMediaType()
301 memcmp (pmt->pbFormat, m_MediaType.pbFormat, pmt->cbFormat) == 0)) in CheckMediaType()
820 mediatype->pbFormat = (BYTE *) format; in dshowaudiodec_set_input_format()
855 mediatype->pbFormat = (BYTE *)format; in dshowaudiodec_set_output_format()
863 g_free (mediatype->pbFormat); in dshowadec_free_mediatype()
1006 WAVEFORMATEX *audio_info = (WAVEFORMATEX *) mediatype->pbFormat; in gst_dshowaudiodec_get_filter_settings()
Dgstdshowfakesrc.cpp69 GST_DEBUG (":: pbFormat: %p", mt->pbFormat);
Dgstdshowvideodec.cpp692 input_mediatype.pbFormat = (BYTE *) input_vheader; in gst_dshowvideodec_sink_setcaps()
745 output_mediatype.pbFormat = (BYTE *) output_vheader; in gst_dshowvideodec_sink_setcaps()
1003 video_info = (VIDEOINFOHEADER *) mediatype->pbFormat; in gst_dshowvideodec_src_getcaps()
1095 memcpy (*format, mediatype->pbFormat, *size); in gst_dshowvideodec_get_filter_output_format()
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/
Ddshowvideofakesrc.cpp66 VIDEOINFOHEADER *newvh = (VIDEOINFOHEADER *)pmt->pbFormat; in CheckMediaType()
67 VIDEOINFOHEADER *curvh = (VIDEOINFOHEADER *)m_MediaType.pbFormat; in CheckMediaType()
135 VIDEOINFOHEADER *vh = (VIDEOINFOHEADER *)m_MediaType.pbFormat; in CopyToDestinationBuffer()
Ddshowvideosink.cpp626 VIDEOINFOHEADER *vi = (VIDEOINFOHEADER *)pmt.pbFormat; in gst_dshowvideosink_window_thread()
1711 VIDEOINFOHEADER *vh = (VIDEOINFOHEADER *)mediatype->pbFormat; in video_media_type_to_caps()
1823 mediatype->pbFormat = (BYTE *)vi; in gst_caps_to_directshow_media_type()