Home
last modified time | relevance | path

Searched refs:pmt (Results 1 – 25 of 48) sorted by relevance

12

/third_party/gstreamer/gstplugins_bad/gst-libs/gst/mpegts/
Dgstmpegtssection.c598 _gst_mpegts_pmt_stream_copy (GstMpegtsPMTStream * pmt) in _gst_mpegts_pmt_stream_copy() argument
602 copy = g_slice_dup (GstMpegtsPMTStream, pmt); in _gst_mpegts_pmt_stream_copy()
603 copy->descriptors = g_ptr_array_ref (pmt->descriptors); in _gst_mpegts_pmt_stream_copy()
609 _gst_mpegts_pmt_stream_free (GstMpegtsPMTStream * pmt) in _gst_mpegts_pmt_stream_free() argument
611 if (pmt->descriptors) in _gst_mpegts_pmt_stream_free()
612 g_ptr_array_unref (pmt->descriptors); in _gst_mpegts_pmt_stream_free()
613 g_slice_free (GstMpegtsPMTStream, pmt); in _gst_mpegts_pmt_stream_free()
621 _gst_mpegts_pmt_copy (GstMpegtsPMT * pmt) in _gst_mpegts_pmt_copy() argument
625 copy = g_slice_dup (GstMpegtsPMT, pmt); in _gst_mpegts_pmt_copy()
626 if (pmt->descriptors) in _gst_mpegts_pmt_copy()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshowfakesink.cpp32 STDMETHODIMP CDshowFakeSink::gst_set_media_type (AM_MEDIA_TYPE * pmt) in gst_set_media_type() argument
34 m_MediaType.Set (*pmt); in gst_set_media_type()
47 HRESULT CDshowFakeSink::CheckMediaType (const CMediaType * pmt) in CheckMediaType() argument
49 if (!IsEqualGUID(pmt->majortype, m_MediaType.majortype) || in CheckMediaType()
50 !IsEqualGUID(pmt->subtype, m_MediaType.subtype) || in CheckMediaType()
51 !IsEqualGUID(pmt->formattype, m_MediaType.formattype) || in CheckMediaType()
52 (pmt->cbFormat != m_MediaType.cbFormat)) in CheckMediaType()
55 VIDEOINFOHEADER *info1 = (VIDEOINFOHEADER*)pmt->pbFormat; in CheckMediaType()
Dgstdshowfakesink.h44 virtual HRESULT CheckMediaType (const CMediaType * pmt);
47 STDMETHOD (gst_set_media_type) (AM_MEDIA_TYPE * pmt);
Dgstdshow.cpp43 gst_dshow_free_mediatype (AM_MEDIA_TYPE * pmt) in gst_dshow_free_mediatype() argument
45 if (pmt != NULL) { in gst_dshow_free_mediatype()
46 if (pmt->cbFormat != 0) { in gst_dshow_free_mediatype()
47 CoTaskMemFree ((PVOID) pmt->pbFormat); in gst_dshow_free_mediatype()
48 pmt->cbFormat = 0; in gst_dshow_free_mediatype()
49 pmt->pbFormat = NULL; in gst_dshow_free_mediatype()
51 if (pmt->pUnk != NULL) { in gst_dshow_free_mediatype()
53 pmt->pUnk->Release (); in gst_dshow_free_mediatype()
54 pmt->pUnk = NULL; in gst_dshow_free_mediatype()
57 CoTaskMemFree (pmt); in gst_dshow_free_mediatype()
/third_party/gstreamer/gstplugins_bad/sys/dvb/
Dcamswclient.c121 send_ca_pmt (CamSwClient * client, GstMpegtsPMT * pmt, in send_ca_pmt() argument
131 ca_pmt = cam_build_ca_pmt (pmt, list_management, cmd_id, &ca_pmt_size); in send_ca_pmt()
157 cam_sw_client_set_pmt (CamSwClient * client, GstMpegtsPMT * pmt) in cam_sw_client_set_pmt() argument
160 g_return_if_fail (pmt != NULL); in cam_sw_client_set_pmt()
162 return send_ca_pmt (client, pmt, 0x03 /* only */ , in cam_sw_client_set_pmt()
167 cam_sw_client_update_pmt (CamSwClient * client, GstMpegtsPMT * pmt) in cam_sw_client_update_pmt() argument
170 g_return_if_fail (pmt != NULL); in cam_sw_client_update_pmt()
172 return send_ca_pmt (client, pmt, 0x05 /* update */ , in cam_sw_client_update_pmt()
Dcamutils.c203 cam_build_ca_pmt (GstMpegtsPMT * pmt, guint8 list_management, guint8 cmd_id, in cam_build_ca_pmt() argument
206 GstMpegtsSection *section = (GstMpegtsSection *) pmt; in cam_build_ca_pmt()
215 len = get_ca_descriptors_length (pmt->descriptors); in cam_build_ca_pmt()
223 for (i = 0; i < pmt->streams->len; i++) { in cam_build_ca_pmt()
224 GstMpegtsPMTStream *pmtstream = g_ptr_array_index (pmt->streams, i); in cam_build_ca_pmt()
264 body = write_ca_descriptors (body, pmt->descriptors); in cam_build_ca_pmt()
267 for (i = 0; i < pmt->streams->len; i++) { in cam_build_ca_pmt()
268 GstMpegtsPMTStream *pmtstream = g_ptr_array_index (pmt->streams, i); in cam_build_ca_pmt()
Ddvbbasebin.c123 const GstMpegtsPMT *pmt; member
146 GstMpegtsSection * pmt);
222 program->pmt = NULL; in dvb_base_bin_add_program()
783 GstMpegtsPMT *pmt; in dvb_base_bin_reset_pmtlist() local
799 pmt = (GstMpegtsPMT *) walk->data; in dvb_base_bin_reset_pmtlist()
800 cam_device_set_pmt (dvbbasebin->hwcam, pmt, flag); in dvb_base_bin_reset_pmtlist()
915 const GstMpegtsPMT * pmt) in dvb_base_bin_remove_pmt_streams() argument
920 for (i = 0; i < pmt->streams->len; i++) { in dvb_base_bin_remove_pmt_streams()
921 GstMpegtsPMTStream *pmtstream = g_ptr_array_index (pmt->streams, i); in dvb_base_bin_remove_pmt_streams()
935 dvb_base_bin_add_pmt_streams (DvbBaseBin * dvbbasebin, const GstMpegtsPMT * pmt) in dvb_base_bin_add_pmt_streams() argument
[all …]
Dcamswclient.h51 void cam_sw_client_set_pmt (CamSwClient *sw_client, GstMpegtsPMT *pmt);
52 void cam_sw_client_update_pmt (CamSwClient *sw_client, GstMpegtsPMT *pmt);
Dcamconditionalaccess.c73 send_ca_pmt (CamConditionalAccess * cas, GstMpegtsPMT * pmt, in send_ca_pmt() argument
84 ca_pmt = cam_build_ca_pmt (pmt, list_management, cmd_id, &ca_pmt_size); in send_ca_pmt()
111 GstMpegtsPMT * pmt, CamConditionalAccessPmtFlag flag) in cam_conditional_access_set_pmt() argument
113 return send_ca_pmt (cas, pmt, flag, 0x01 /* ok_descrambling */ ); in cam_conditional_access_set_pmt()
/third_party/mingw-w64/mingw-w64-headers/direct-x/include/
Dmediaobj.h353 DMO_MEDIA_TYPE *pmt) = 0;
358 DMO_MEDIA_TYPE *pmt) = 0;
362 const DMO_MEDIA_TYPE *pmt,
367 const DMO_MEDIA_TYPE *pmt,
372 DMO_MEDIA_TYPE *pmt) = 0;
376 DMO_MEDIA_TYPE *pmt) = 0;
469 DMO_MEDIA_TYPE *pmt);
475 DMO_MEDIA_TYPE *pmt);
480 const DMO_MEDIA_TYPE *pmt,
486 const DMO_MEDIA_TYPE *pmt,
[all …]
Dmediaobj.idl145 [out] DMO_MEDIA_TYPE *pmt
151 [out] DMO_MEDIA_TYPE *pmt
156 [in] const DMO_MEDIA_TYPE *pmt,
162 [in] const DMO_MEDIA_TYPE *pmt,
168 [out] DMO_MEDIA_TYPE *pmt
173 [out] DMO_MEDIA_TYPE *pmt
/third_party/mingw-w64/mingw-w64-headers/include/
Dmediaobj.h297 DMO_MEDIA_TYPE *pmt) = 0;
302 DMO_MEDIA_TYPE *pmt) = 0;
306 const DMO_MEDIA_TYPE *pmt,
311 const DMO_MEDIA_TYPE *pmt,
316 DMO_MEDIA_TYPE *pmt) = 0;
320 DMO_MEDIA_TYPE *pmt) = 0;
413 DMO_MEDIA_TYPE *pmt);
419 DMO_MEDIA_TYPE *pmt);
424 const DMO_MEDIA_TYPE *pmt,
430 const DMO_MEDIA_TYPE *pmt,
[all …]
Dmediaobj.idl122 HRESULT GetInputType (DWORD dwInputStreamIndex, DWORD dwTypeIndex,[out] DMO_MEDIA_TYPE *pmt);
123 HRESULT GetOutputType (DWORD dwOutputStreamIndex, DWORD dwTypeIndex,[out] DMO_MEDIA_TYPE *pmt);
124 HRESULT SetInputType (DWORD dwInputStreamIndex,[in] const DMO_MEDIA_TYPE *pmt, DWORD dwFlags);
125 HRESULT SetOutputType (DWORD dwOutputStreamIndex,[in] const DMO_MEDIA_TYPE *pmt, DWORD dwFlags);
126 HRESULT GetInputCurrentType (DWORD dwInputStreamIndex,[out] DMO_MEDIA_TYPE *pmt);
127 HRESULT GetOutputCurrentType (DWORD dwOutputStreamIndex,[out] DMO_MEDIA_TYPE *pmt);
Dtapi3ds.h57 virtual HRESULT WINAPI put_MediaFormat(const AM_MEDIA_TYPE *pmt) = 0;
66 HRESULT (WINAPI *put_MediaFormat)(ITAMMediaFormat *This,const AM_MEDIA_TYPE *pmt);
77 #define ITAMMediaFormat_put_MediaFormat(This,pmt) (This)->lpVtbl->put_MediaFormat(This,pmt) argument
82 …ESULT WINAPI ITAMMediaFormat_put_MediaFormat_Proxy(ITAMMediaFormat *This,const AM_MEDIA_TYPE *pmt);
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dmpegts.c134 GstMpegtsPMT *pmt; in GST_START_TEST() local
143 pmt = gst_mpegts_pmt_new (); in GST_START_TEST()
145 pmt->pcr_pid = 0x1FFF; in GST_START_TEST()
146 pmt->program_number = 1; in GST_START_TEST()
149 g_ptr_array_add (pmt->descriptors, desc); in GST_START_TEST()
160 g_ptr_array_add (pmt->streams, stream); in GST_START_TEST()
163 pmt_section = gst_mpegts_section_from_pmt (pmt, 0x30); in GST_START_TEST()
167 pmt = (GstMpegtsPMT *) gst_mpegts_section_get_pmt (pmt_section); in GST_START_TEST()
169 fail_unless (pmt->pcr_pid == 0x1FFF); in GST_START_TEST()
170 fail_unless (pmt->program_number == 1); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/
Ddshowvideofakesrc.cpp52 HRESULT VideoFakeSrcPin::CheckMediaType(const CMediaType *pmt) in CheckMediaType() argument
54 GST_DEBUG ("CheckMediaType called: %p", pmt); in CheckMediaType()
60 if (IsEqualGUID(pmt->majortype,m_MediaType.majortype) && in CheckMediaType()
61 IsEqualGUID(pmt->subtype,m_MediaType.subtype) && in CheckMediaType()
62 IsEqualGUID(pmt->formattype,m_MediaType.formattype) && in CheckMediaType()
63 pmt->cbFormat >= m_MediaType.cbFormat) in CheckMediaType()
65 if (IsEqualGUID(pmt->formattype, FORMAT_VideoInfo)) { in CheckMediaType()
66 VIDEOINFOHEADER *newvh = (VIDEOINFOHEADER *)pmt->pbFormat; in CheckMediaType()
118 STDMETHODIMP VideoFakeSrcPin::SetMediaType (AM_MEDIA_TYPE *pmt) in SetMediaType() argument
120 m_MediaType.Set (*pmt); in SetMediaType()
Ddshowvideofakesrc.h41 virtual HRESULT CheckMediaType(const CMediaType *pmt);
47 STDMETHOD (SetMediaType) (AM_MEDIA_TYPE *pmt);
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
Dmpegtsbase.c294 GstMpegtsPMTStream *pmt = stream->stream; in mpegts_get_descriptor_from_stream() local
299 return gst_mpegts_find_descriptor (pmt->descriptors, tag); in mpegts_get_descriptor_from_stream()
337 const GstMpegtsPMT *pmt = program->pmt; in mpegts_get_descriptor_from_program() local
339 return gst_mpegts_find_descriptor (pmt->descriptors, tag); in mpegts_get_descriptor_from_program()
473 if (program->pmt) { in mpegts_base_free_program()
475 program->pmt = NULL; in mpegts_base_free_program()
606 _stream_in_pmt (const GstMpegtsPMT * pmt, MpegTSBaseStream * stream) in _stream_in_pmt() argument
608 guint i, nbstreams = pmt->streams->len; in _stream_in_pmt()
611 GstMpegtsPMTStream *pmt_stream = g_ptr_array_index (pmt->streams, i); in _stream_in_pmt()
633 GstMpegtsSection * section, const GstMpegtsPMT * pmt) in mpegts_base_update_program() argument
[all …]
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/
Dtsmux.c1183 if (program->pmt.section) in tsmux_program_free()
1184 gst_mpegts_section_unref (program->pmt.section); in tsmux_program_free()
1259 GstMpegtsPMT *pmt; in tsmux_write_pmt() local
1263 pmt = gst_mpegts_pmt_new (); in tsmux_write_pmt()
1266 pmt->pcr_pid = 0x1FFF; in tsmux_write_pmt()
1268 pmt->pcr_pid = tsmux_stream_get_pid (program->pcr_stream); in tsmux_write_pmt()
1271 g_ptr_array_add (pmt->descriptors, descriptor); in tsmux_write_pmt()
1274 g_ptr_array_add (pmt->descriptors, descriptor); in tsmux_write_pmt()
1289 g_ptr_array_add (pmt->streams, pmt_stream); in tsmux_write_pmt()
1295 pmt->program_number = program->pgm_number; in tsmux_write_pmt()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowfakesrc.cpp73 HRESULT FakeOutputPin::CheckMediaType(const CMediaType *pmt) in CheckMediaType() argument
75 if (m_MediaType == *pmt) { in CheckMediaType()
94 STDMETHODIMP FakeOutputPin::SetMediaType (AM_MEDIA_TYPE *pmt) in SetMediaType() argument
96 m_MediaType.Set (*pmt); in SetMediaType()
Dgstdshowaudiodec.h144 HRESULT CheckMediaType(const CMediaType *pmt);
145 HRESULT SetMediaType (AM_MEDIA_TYPE *pmt) in SetMediaType() argument
147 m_MediaType.Set (*pmt); in SetMediaType()
Dgstdshowvideodec.h148 HRESULT CheckMediaType(const CMediaType *pmt);
149 HRESULT SetMediaType (AM_MEDIA_TYPE *pmt) in SetMediaType() argument
151 m_MediaType.Set (*pmt); in SetMediaType()
Dgstdshowfakesrc.h40 virtual HRESULT CheckMediaType(const CMediaType *pmt);
43 STDMETHOD (SetMediaType) (AM_MEDIA_TYPE *pmt);
Dgstdshowaudiodec.cpp267 HRESULT AudioFakeSink::CheckMediaType(const CMediaType *pmt) in CheckMediaType() argument
269 if(pmt != NULL) in CheckMediaType()
276 if (IsEqualGUID (pmt->majortype, m_MediaType.majortype) && in CheckMediaType()
277 IsEqualGUID (pmt->subtype, m_MediaType.subtype) && in CheckMediaType()
278 IsEqualGUID (pmt->formattype, m_MediaType.formattype)) in CheckMediaType()
286 if (pmt->formattype == FORMAT_WaveFormatEx) { in CheckMediaType()
287 if (pmt->cbFormat >= sizeof (WAVEFORMATEX) && in CheckMediaType()
290 WAVEFORMATEX *wf1 = (WAVEFORMATEX *)pmt->pbFormat; in CheckMediaType()
298 if (pmt->cbFormat == m_MediaType.cbFormat && in CheckMediaType()
299 pmt->cbFormat == 0 || in CheckMediaType()
[all …]
/third_party/ffmpeg/tests/fate/
Dmpegts.mak18 FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS) += fate-mpegts-probe-pmt-merge
19 fate-mpegts-probe-pmt-merge: SRC = $(TARGET_SAMPLES)/mpegts/pmtchange.ts
20 fate-mpegts-probe-pmt-merge: CMD = run $(PROBE_CODEC_NAME_COMMAND) -merge_pmt_versions 1 -i "$(SRC)"

12