Home
last modified time | relevance | path

Searched refs:mpad (Results 1 – 6 of 6) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/mplex/
Dgstmplex.cc166 GstMplexPad *mpad = (GstMplexPad *) walk->data; in gst_mplex_finalize() local
168 if (mpad->pad) in gst_mplex_finalize()
169 gst_object_unref (mpad->pad); in gst_mplex_finalize()
170 mpad->pad = NULL; in gst_mplex_finalize()
217 GstMplexPad *mpad; in gst_mplex_reset() local
219 mpad = (GstMplexPad *) walk->data; in gst_mplex_reset()
221 mpad->needed = 0; in gst_mplex_reset()
222 mpad->eos = FALSE; in gst_mplex_reset()
223 gst_adapter_clear (mpad->adapter); in gst_mplex_reset()
224 if (mpad->bs) { in gst_mplex_reset()
[all …]
Dgstmplexibitstream.cc39 mpad = _data; in GstMplexIBitStream()
40 mplex = GST_MPLEX (GST_PAD_PARENT (mpad->pad)); in GstMplexIBitStream()
62 while (gst_adapter_available (mpad->adapter) < size in ReadStreamBytes()
63 && !mplex->eos && !mpad->eos) { in ReadStreamBytes()
64 mpad->needed = size; in ReadStreamBytes()
65 GST_MPLEX_SIGNAL (mplex, mpad); in ReadStreamBytes()
66 GST_MPLEX_WAIT (mplex, mpad); in ReadStreamBytes()
69 mpad->needed = 0; in ReadStreamBytes()
70 size = MIN (size, gst_adapter_available (mpad->adapter)); in ReadStreamBytes()
72 data = gst_adapter_take (mpad->adapter, size); in ReadStreamBytes()
Dgstmplexibitstream.hh50 GstMplexPad *mpad; member in GstMplexIBitStream
/third_party/gstreamer/gstplugins_good/gst/videomixer/
Dvideomixer2.c191 GstVideoMixer2Pad *mpad = l->data; in gst_videomixer2_update_src_caps() local
196 fps_n = GST_VIDEO_INFO_FPS_N (&mpad->info); in gst_videomixer2_update_src_caps()
197 fps_d = GST_VIDEO_INFO_FPS_D (&mpad->info); in gst_videomixer2_update_src_caps()
198 width = GST_VIDEO_INFO_WIDTH (&mpad->info); in gst_videomixer2_update_src_caps()
199 height = GST_VIDEO_INFO_HEIGHT (&mpad->info); in gst_videomixer2_update_src_caps()
204 this_width = width + MAX (mpad->xpos, 0); in gst_videomixer2_update_src_caps()
205 this_height = height + MAX (mpad->ypos, 0); in gst_videomixer2_update_src_caps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideoaggregator.c1160 GstVideoAggregatorPad *mpad = l->data; in gst_video_aggregator_default_fixate_src_caps() local
1165 fps_n = GST_VIDEO_INFO_FPS_N (&mpad->info); in gst_video_aggregator_default_fixate_src_caps()
1166 fps_d = GST_VIDEO_INFO_FPS_D (&mpad->info); in gst_video_aggregator_default_fixate_src_caps()
1167 width = GST_VIDEO_INFO_WIDTH (&mpad->info); in gst_video_aggregator_default_fixate_src_caps()
1168 height = GST_VIDEO_INFO_HEIGHT (&mpad->info); in gst_video_aggregator_default_fixate_src_caps()
1309 GstVideoAggregatorPad *mpad = l->data; in gst_video_aggregator_default_negotiated_src_caps() local
1311 if (GST_VIDEO_INFO_WIDTH (&mpad->info) == 0 in gst_video_aggregator_default_negotiated_src_caps()
1312 || GST_VIDEO_INFO_HEIGHT (&mpad->info) == 0) in gst_video_aggregator_default_negotiated_src_caps()
1315 if (mpad->info.finfo->flags & GST_VIDEO_FORMAT_FLAG_ALPHA) in gst_video_aggregator_default_negotiated_src_caps()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-mux.c3513 gst_matroska_mux_write_stream_tags (GstMatroskaMux * mux, GstMatroskaPad * mpad) in gst_matroska_mux_write_stream_tags() argument
3520 if (G_UNLIKELY (mpad->tags == NULL in gst_matroska_mux_write_stream_tags()
3521 || gst_matroska_mux_tag_list_is_empty (mpad->tags))) in gst_matroska_mux_write_stream_tags()
3527 gst_ebml_write_uint (ebml, GST_MATROSKA_ID_TARGETTRACKUID, mpad->track->uid); in gst_matroska_mux_write_stream_tags()
3530 gst_tag_list_foreach (mpad->tags, gst_matroska_mux_write_simple_tag, ebml); in gst_matroska_mux_write_stream_tags()