Home
last modified time | relevance | path

Searched refs:mediatype (Results 1 – 16 of 16) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowaudiodec.cpp702 AM_MEDIA_TYPE *mediatype; in dshowaudiodec_set_input_format() local
709 mediatype = (AM_MEDIA_TYPE *)g_malloc0 (sizeof(AM_MEDIA_TYPE)); in dshowaudiodec_set_input_format()
710 mediatype->majortype = MEDIATYPE_Audio; in dshowaudiodec_set_input_format()
713 mediatype->subtype = subtype; in dshowaudiodec_set_input_format()
714 mediatype->bFixedSizeSamples = TRUE; in dshowaudiodec_set_input_format()
715 mediatype->bTemporalCompression = FALSE; in dshowaudiodec_set_input_format()
717 mediatype->lSampleSize = adec->block_align; in dshowaudiodec_set_input_format()
719 mediatype->lSampleSize = 8192; /* need to evaluate it dynamically */ in dshowaudiodec_set_input_format()
720 mediatype->formattype = FORMAT_WaveFormatEx; in dshowaudiodec_set_input_format()
819 mediatype->cbFormat = size; in dshowaudiodec_set_input_format()
[all …]
Dgstdshowvideodec.cpp989 AM_MEDIA_TYPE *mediatype = NULL; in gst_dshowvideodec_src_getcaps() local
993 enum_mediatypes->Next(1, &mediatype, &fetched), in gst_dshowvideodec_src_getcaps()
1000 if (IsEqualGUID (mediatype->subtype, MEDIASUBTYPE_RGB24) && in gst_dshowvideodec_src_getcaps()
1001 IsEqualGUID (mediatype->formattype, FORMAT_VideoInfo)) in gst_dshowvideodec_src_getcaps()
1003 video_info = (VIDEOINFOHEADER *) mediatype->pbFormat; in gst_dshowvideodec_src_getcaps()
1018 vdec->mediatypes = g_list_append (vdec->mediatypes, mediatype); in gst_dshowvideodec_src_getcaps()
1021 DeleteMediaType (mediatype); in gst_dshowvideodec_src_getcaps()
1024 DeleteMediaType (mediatype); in gst_dshowvideodec_src_getcaps()
1083 AM_MEDIA_TYPE *mediatype = NULL; in gst_dshowvideodec_get_filter_output_format() local
1087 enum_mediatypes->Next(1, &mediatype, &fetched), in gst_dshowvideodec_get_filter_output_format()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshow.cpp70 if (pin_mediatype->mediatype) { in gst_dshow_free_pin_mediatype()
71 gst_dshow_free_mediatype (pin_mediatype->mediatype); in gst_dshow_free_pin_mediatype()
72 pin_mediatype->mediatype = NULL; in gst_dshow_free_pin_mediatype()
94 HRESULT hres = enum_mediatypes->Next (1, &pin_mediatype->mediatype, NULL); in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
95 if (hres != S_OK || !pin_mediatype->mediatype) { in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
100 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
117 HRESULT hres = streamcaps->GetStreamCaps (id, &pin_mediatype->mediatype, in gst_dshow_new_pin_mediatype_from_streamcaps()
119 if (FAILED (hres) || !pin_mediatype->mediatype) { in gst_dshow_new_pin_mediatype_from_streamcaps()
124 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshow_new_pin_mediatype_from_streamcaps()
598 gst_dshow_guid_to_gst_video_format (AM_MEDIA_TYPE *mediatype) in gst_dshow_guid_to_gst_video_format() argument
[all …]
Dgstdshowvideosrc.cpp701 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshowvideosrc_set_caps()
707 pin_mediatype->mediatype->lSampleSize = DIBSIZE (video_info->bmiHeader); in gst_dshowvideosrc_set_caps()
709 src->dshow_fakesink->gst_set_media_type (pin_mediatype->mediatype); in gst_dshowvideosrc_set_caps()
731 hres = src->pVSC->SetFormat(pin_mediatype->mediatype); in gst_dshowvideosrc_set_caps()
738 input_pin, pin_mediatype->mediatype); in gst_dshowvideosrc_set_caps()
946 gst_dshow_guid_to_gst_video_format (pin_mediatype->mediatype); in gst_dshowvideosrc_getcaps_from_streamcaps()
952 } else if (gst_dshow_check_mediatype (pin_mediatype->mediatype, in gst_dshowvideosrc_getcaps_from_streamcaps()
958 } else if (gst_dshow_check_mediatype (pin_mediatype->mediatype, in gst_dshowvideosrc_getcaps_from_streamcaps()
967 } else if (gst_dshow_check_mediatype (pin_mediatype->mediatype, in gst_dshowvideosrc_getcaps_from_streamcaps()
973 } else if (gst_dshow_check_mediatype (pin_mediatype->mediatype, in gst_dshowvideosrc_getcaps_from_streamcaps()
[all …]
Dgstdshow.h48 AM_MEDIA_TYPE *mediatype; member
104 GstVideoFormat gst_dshow_guid_to_gst_video_format (AM_MEDIA_TYPE *mediatype);
Dgstdshowaudiosrc.cpp532 src->dshow_fakesink->gst_set_media_type (pin_mediatype->mediatype); in gst_dshowaudiosrc_prepare()
734 hres = streamcaps->GetStreamCaps (i, &pin_mediatype->mediatype, in gst_dshowaudiosrc_getcaps_from_streamcaps()
736 if (hres == S_OK && pin_mediatype->mediatype) { in gst_dshowaudiosrc_getcaps_from_streamcaps()
742 if (gst_dshow_check_mediatype (pin_mediatype->mediatype, MEDIASUBTYPE_PCM, in gst_dshowaudiosrc_getcaps_from_streamcaps()
746 (WAVEFORMATEX *) pin_mediatype->mediatype->pbFormat; in gst_dshowaudiosrc_getcaps_from_streamcaps()
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/
Ddshowvideosink.cpp39 static GstCaps * gst_directshow_media_type_to_caps (AM_MEDIA_TYPE *mediatype);
41 GstCaps *caps, AM_MEDIA_TYPE *mediatype);
625 AM_MEDIA_TYPE pmt = (AM_MEDIA_TYPE)sink->mediatype; in gst_dshowvideosink_window_thread()
1552 if (!gst_caps_to_directshow_media_type (sink, caps, &sink->mediatype)) { in gst_dshowvideosink_set_caps()
1561 sink->fakesrc->GetOutputPin()->SetMediaType (&sink->mediatype); in gst_dshowvideosink_set_caps()
1682 audio_media_type_to_caps (AM_MEDIA_TYPE *mediatype) in audio_media_type_to_caps() argument
1688 video_media_type_to_caps (AM_MEDIA_TYPE *mediatype) in video_media_type_to_caps() argument
1693 if (IsEqualGUID (mediatype->subtype, MEDIASUBTYPE_YUY2)) in video_media_type_to_caps()
1696 else if (IsEqualGUID (mediatype->subtype, MEDIASUBTYPE_UYVY)) in video_media_type_to_caps()
1699 else if (IsEqualGUID (mediatype->subtype, MEDIASUBTYPE_YV12)) in video_media_type_to_caps()
[all …]
Ddshowvideofakesrc.cpp258 AM_MEDIA_TYPE *mediatype; in PushBuffer() local
282 pSample->GetMediaType(&mediatype); in PushBuffer()
283 if (mediatype) in PushBuffer()
284 SetMediaType (mediatype); in PushBuffer()
Ddshowvideosink.h85 AM_MEDIA_TYPE mediatype; member
/third_party/ffmpeg/libavformat/
Dwtvdec.c644 ff_asf_guid mediatype, ff_asf_guid subtype, in parse_media_type() argument
667 st = parse_media_type(s, st, sid, mediatype, actual_subtype, actual_formattype, size - 32); in parse_media_type()
670 } else if (!ff_guidcmp(mediatype, ff_mediatype_audio)) { in parse_media_type()
697 } else if (!ff_guidcmp(mediatype, ff_mediatype_video)) { in parse_media_type()
722 } else if (!ff_guidcmp(mediatype, mediatype_mpeg2_pes) && in parse_media_type()
732 } else if (!ff_guidcmp(mediatype, mediatype_mstvcaption) && in parse_media_type()
742 } else if (!ff_guidcmp(mediatype, mediatype_mpeg2_sections) && in parse_media_type()
752 … FF_ARG_GUID(mediatype), FF_ARG_GUID(subtype), FF_ARG_GUID(formattype)); in parse_media_type()
814 ff_asf_guid mediatype, subtype, formattype; in parse_chunks() local
817 ff_get_guid(pb, &mediatype); in parse_chunks()
[all …]
/third_party/gstreamer/gstreamer/docs/random/wtay/
Dregistry22 plugins able to handle the mediatype it should fall back to system registry.
/third_party/python/Lib/urllib/
Drequest.py1656 mediatype, data = data.split(",",1)
1660 if mediatype.endswith(";base64"):
1662 mediatype = mediatype[:-7]
1664 if not mediatype:
1665 mediatype = "text/plain;charset=US-ASCII"
1668 (mediatype, len(data)))
/third_party/ffmpeg/libavdevice/
Ddshow.c572 const GUID *mediatype[2] = { &MEDIATYPE_Video, &MEDIATYPE_Audio }; in dshow_cycle_pins() local
663 if (IsEqualGUID(&type->majortype, mediatype[devtype])) { in dshow_cycle_pins()
/third_party/ffmpeg/fftools/
Dffmpeg_opt.c126 #define MATCH_PER_TYPE_OPT(name, type, outvar, fmtctx, mediatype)\ argument
131 if (!strcmp(spec, mediatype))\
/third_party/gstreamer/gstplugins_base/
DChangeLog14274 [1] https://gstreamer.freedesktop.org/documentation/design/mediatype-video-raw.html#formats
46350 * docs/design/part-mediatype-audio-raw.txt:
46351 * docs/design/part-mediatype-text-raw.txt:
46352 * docs/design/part-mediatype-video-raw.txt:
49799 * docs/design/part-mediatype-video-raw.txt:
58997 * docs/design/part-mediatype-video-raw.txt:
69886 part-mediatype-video-raw.txt.
70511 * docs/design/part-mediatype-video-raw.txt:
70525 * docs/design/part-mediatype-video-raw.txt:
70601 * docs/design/part-mediatype-video-raw.txt:
[all …]
/third_party/gstreamer/gstplugins_bad/
DChangeLog74149 essential fields; additionaly explicitely setting the mediatype for the capture