Home
last modified time | relevance | path

Searched refs:outcaps (Results 1 – 25 of 112) sorted by relevance

12345

/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dtextoverlay.c419 GstCaps *incaps, *outcaps; in GST_START_TEST() local
466 outcaps = gst_pad_get_current_caps (mysinkpad); in GST_START_TEST()
467 fail_unless (buffer_is_all_black (outbuffer, outcaps)); in GST_START_TEST()
468 gst_caps_unref (outcaps); in GST_START_TEST()
537 outcaps = gst_pad_get_current_caps (mysinkpad); in GST_START_TEST()
541 fail_unless (buffer_is_all_black (outbuffer, outcaps)); in GST_START_TEST()
542 gst_caps_unref (outcaps); in GST_START_TEST()
560 GstCaps *incaps, *outcaps; in GST_START_TEST() local
594 outcaps = gst_pad_get_current_caps (mysinkpad); in GST_START_TEST()
598 fail_unless (buffer_is_all_black (outbuffer, outcaps) == TRUE); in GST_START_TEST()
[all …]
Dsubparse.c249 GstCaps *outcaps; in test_srt_do_test() local
266 outcaps = gst_pad_get_current_caps (mysinkpad); in test_srt_do_test()
295 fail_unless (outcaps != NULL); in test_srt_do_test()
296 buffer_caps_struct = gst_caps_get_structure (outcaps, 0); in test_srt_do_test()
301 gst_caps_unref (outcaps); in test_srt_do_test()
331 GstCaps *outcaps; in test_vtt_do_test() local
358 outcaps = gst_pad_get_current_caps (mysinkpad); in test_vtt_do_test()
359 fail_unless (outcaps != NULL); in test_vtt_do_test()
360 buffer_caps_struct = gst_caps_get_structure (outcaps, 0); in test_vtt_do_test()
365 gst_caps_unref (outcaps); in test_vtt_do_test()
[all …]
Daudioconvert.c49 setup_audioconvert (GstCaps * outcaps) in setup_audioconvert() argument
60 gst_pad_template_new ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, outcaps); in setup_audioconvert()
62 GST_DEBUG ("setup_audioconvert with caps %" GST_PTR_FORMAT, outcaps); in setup_audioconvert()
410 GstCaps * incaps, void *out, int outlength, GstCaps * outcaps, in verify_convert() argument
419 GST_DEBUG ("outcaps: %" GST_PTR_FORMAT, outcaps); in verify_convert()
421 ASSERT_CAPS_REFCOUNT (outcaps, "outcaps", 1); in verify_convert()
422 audioconvert = setup_audioconvert (outcaps); in verify_convert()
423 ASSERT_CAPS_REFCOUNT (outcaps, "outcaps", 2); in verify_convert()
501 gst_caps_unref (outcaps); in verify_convert()
640 GstCaps *incaps, *outcaps; in GST_START_TEST() local
[all …]
/third_party/gstreamer/gstplugins_bad/ext/resindvd/
Drsnparsetter.c91 gst_caps_replace (&parset->outcaps, NULL); in rsn_parsetter_finalize()
133 caps_event = gst_event_new_caps (parset->outcaps); in rsn_parsetter_sink_event()
155 " with %" GST_PTR_FORMAT, parset->outcaps); in rsn_parsetter_sink_event()
156 event = gst_event_new_caps (parset->outcaps); in rsn_parsetter_sink_event()
260 GstCaps *outcaps; in rsn_parsetter_convert_caps() local
268 outcaps = gst_caps_ref (parset->in_caps_converted); in rsn_parsetter_convert_caps()
272 outcaps = gst_caps_copy (caps); in rsn_parsetter_convert_caps()
276 s = gst_caps_get_structure (outcaps, 0); in rsn_parsetter_convert_caps()
300 gst_caps_replace (&parset->in_caps_converted, outcaps); in rsn_parsetter_convert_caps()
302 return outcaps; in rsn_parsetter_convert_caps()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dnvenc.c90 GstCaps *outcaps, *sinkcaps, *srccaps; in GST_START_TEST() local
122 outcaps = in GST_START_TEST()
133 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
137 gst_caps_unref (outcaps); in GST_START_TEST()
152 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local
192 outcaps = in GST_START_TEST()
203 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
207 gst_caps_unref (outcaps); in GST_START_TEST()
Dpnm.c68 GstCaps *outcaps = in GST_START_TEST() local
76 GST_DEBUG ("Setting out caps %" GST_PTR_FORMAT, outcaps); in GST_START_TEST()
77 g_object_set (G_OBJECT (outcf), "caps", outcaps, NULL); in GST_START_TEST()
80 gst_caps_unref (outcaps); in GST_START_TEST()
Dx265enc.c102 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local
130 outcaps = in GST_START_TEST()
141 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
145 gst_caps_unref (outcaps); in GST_START_TEST()
Dmsdkh264enc.c103 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local
129 outcaps = in GST_START_TEST()
140 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST()
144 gst_caps_unref (outcaps); in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtpgstdepay.c171 GstCaps *outcaps; in gst_rtp_gst_depay_setcaps() local
179 outcaps = gst_caps_from_string (capsstr); in gst_rtp_gst_depay_setcaps()
192 gst_caps_ref (outcaps); in gst_rtp_gst_depay_setcaps()
193 store_cache (rtpgstdepay, CV, outcaps); in gst_rtp_gst_depay_setcaps()
195 res = gst_pad_set_caps (depayload->srcpad, outcaps); in gst_rtp_gst_depay_setcaps()
196 gst_caps_unref (outcaps); in gst_rtp_gst_depay_setcaps()
455 GstCaps *outcaps; in gst_rtp_gst_depay_process() local
467 outcaps = read_caps (rtpgstdepay, outbuf, &size); in gst_rtp_gst_depay_process()
468 if (outcaps == NULL) in gst_rtp_gst_depay_process()
472 "inline caps %u, length %u, %" GST_PTR_FORMAT, CV, size, outcaps); in gst_rtp_gst_depay_process()
[all …]
Dgstrtpmpadepay.c97 GstCaps *outcaps; in gst_rtp_mpa_depay_setcaps() local
107 outcaps = in gst_rtp_mpa_depay_setcaps()
109 res = gst_pad_set_caps (depayload->srcpad, outcaps); in gst_rtp_mpa_depay_setcaps()
110 gst_caps_unref (outcaps); in gst_rtp_mpa_depay_setcaps()
Dgstrtpmpvdepay.c100 GstCaps *outcaps; in gst_rtp_mpv_depay_setcaps() local
109 outcaps = gst_caps_new_simple ("video/mpeg", in gst_rtp_mpv_depay_setcaps()
112 res = gst_pad_set_caps (depayload->srcpad, outcaps); in gst_rtp_mpv_depay_setcaps()
113 gst_caps_unref (outcaps); in gst_rtp_mpv_depay_setcaps()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglviewconvert.c84 GstCaps * outcaps);
181 GstCaps * outcaps) in gst_gl_view_convert_element_set_caps() argument
189 " outcaps %" GST_PTR_FORMAT, incaps, outcaps); in gst_gl_view_convert_element_set_caps()
192 outcaps = gst_caps_copy (outcaps); in gst_gl_view_convert_element_set_caps()
199 gst_caps_set_simple (outcaps, "format", G_TYPE_STRING, "RGBA", NULL); in gst_gl_view_convert_element_set_caps()
202 gst_caps_set_features (outcaps, 0, gl_features); in gst_gl_view_convert_element_set_caps()
205 incaps, outcaps); in gst_gl_view_convert_element_set_caps()
208 gst_caps_unref (outcaps); in gst_gl_view_convert_element_set_caps()
Dgstglstereosplit.c240 GstCaps *outcaps = gst_caps_make_writable (incaps); in strip_mview_fields() local
244 n = gst_caps_get_size (outcaps); in strip_mview_fields()
246 GstStructure *st = gst_caps_get_structure (outcaps, i); in strip_mview_fields()
259 return outcaps; in strip_mview_fields()
269 GstCaps *outcaps, *tmp, *templ_caps; in stereosplit_get_src_caps() local
298 outcaps = gst_caps_intersect_full (tmp, templ_caps, GST_CAPS_INTERSECT_FIRST); in stereosplit_get_src_caps()
303 pad, outcaps); in stereosplit_get_src_caps()
304 return outcaps; in stereosplit_get_src_caps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideofilter.c126 GstCaps *outcaps = NULL; in gst_video_filter_decide_allocation() local
132 gst_query_parse_allocation (query, &outcaps, NULL); in gst_video_filter_decide_allocation()
138 gst_query_parse_allocation (query, &outcaps, NULL); in gst_video_filter_decide_allocation()
140 gst_video_info_from_caps (&vinfo, outcaps); in gst_video_filter_decide_allocation()
151 if (outcaps) in gst_video_filter_decide_allocation()
152 gst_buffer_pool_config_set_params (config, outcaps, size, 0, 0); in gst_video_filter_decide_allocation()
206 GstCaps * outcaps) in gst_video_filter_set_caps() argument
218 if (!gst_video_info_from_caps (&out_info, outcaps)) in gst_video_filter_set_caps()
223 res = fclass->set_info (filter, incaps, &in_info, outcaps, &out_info); in gst_video_filter_set_caps()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dtransform1.c35 set_caps_pt1 (GstBaseTransform * trans, GstCaps * incaps, GstCaps * outcaps) in set_caps_pt1() argument
114 set_caps_pt2 (GstBaseTransform * trans, GstCaps * incaps, GstCaps * outcaps) in set_caps_pt2() argument
120 fail_unless (gst_caps_is_equal (incaps, outcaps)); in set_caps_pt2()
288 set_caps_1 (GstBaseTransform * trans, GstCaps * incaps, GstCaps * outcaps) in set_caps_1() argument
299 fail_unless (gst_caps_is_equal (outcaps, caps)); in set_caps_1()
403 set_caps_ct1 (GstBaseTransform * trans, GstCaps * incaps, GstCaps * outcaps) in set_caps_ct1() argument
413 fail_unless (gst_caps_is_equal (outcaps, caps2)); in set_caps_ct1()
480 GstCaps *incaps, *outcaps; in GST_START_TEST() local
491 outcaps = gst_caps_new_empty_simple ("foo/x-bar"); in GST_START_TEST()
559 gst_caps_unref (outcaps); in GST_START_TEST()
[all …]
Dtransform2.c102 GstCaps *incaps, *outcaps; in GST_START_TEST() local
113 outcaps = gst_caps_new_empty_simple ("foo/x-bar"); in GST_START_TEST()
145 gst_caps_unref (outcaps); in GST_START_TEST()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Daspectratiocrop.c52 GstCaps *outcaps; in check_aspectratiocrop() local
56 outcaps = gst_caps_from_string (out_string); in check_aspectratiocrop()
110 gst_check_caps_equal (sinkpad_caps, outcaps); in check_aspectratiocrop()
116 gst_caps_unref (outcaps); in check_aspectratiocrop()
Dvp8enc.c99 GstCaps *outcaps; in GST_START_TEST() local
132 outcaps = in GST_START_TEST()
148 gst_caps_unref (outcaps); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dgstccconverter.c359 GstPadDirection direction, GstCaps * incaps, GstCaps * outcaps) in gst_cc_converter_fixate_caps() argument
368 if (gst_caps_is_subset (incaps, outcaps)) { in gst_cc_converter_fixate_caps()
369 gst_caps_unref (outcaps); in gst_cc_converter_fixate_caps()
377 gst_caps_intersect_full (templ, outcaps, GST_CAPS_INTERSECT_FIRST); in gst_cc_converter_fixate_caps()
378 gst_caps_unref (outcaps); in gst_cc_converter_fixate_caps()
379 outcaps = intersection; in gst_cc_converter_fixate_caps()
381 outcaps = in gst_cc_converter_fixate_caps()
383 incaps, outcaps); in gst_cc_converter_fixate_caps()
386 return outcaps; in gst_cc_converter_fixate_caps()
393 outcaps = gst_caps_make_writable (outcaps); in gst_cc_converter_fixate_caps()
[all …]
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasetransform.c790 GstCaps *outcaps; in gst_base_transform_default_decide_allocation() local
833 gst_query_parse_allocation (query, &outcaps, NULL); in gst_base_transform_default_decide_allocation()
863 gst_buffer_pool_config_set_params (config, outcaps, size, min, max); in gst_base_transform_default_decide_allocation()
871 if (!gst_buffer_pool_config_validate_params (config, outcaps, size, min, in gst_base_transform_default_decide_allocation()
877 gst_buffer_pool_config_set_params (config, outcaps, size, min, max); in gst_base_transform_default_decide_allocation()
911 gst_base_transform_do_bufferpool (GstBaseTransform * trans, GstCaps * outcaps) in gst_base_transform_do_bufferpool() argument
943 query = gst_query_new_allocation (outcaps, TRUE); in gst_base_transform_do_bufferpool()
1303 GstCaps *outcaps, *prev_incaps = NULL, *prev_outcaps = NULL; in gst_base_transform_setcaps() local
1309 outcaps = gst_base_transform_find_transform (trans, pad, incaps); in gst_base_transform_setcaps()
1310 if (!outcaps || gst_caps_is_empty (outcaps)) in gst_base_transform_setcaps()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/siren/
Dgstsirenenc.c125 GstCaps *outcaps; in gst_siren_enc_set_format() local
127 outcaps = gst_static_pad_template_get_caps (&srctemplate); in gst_siren_enc_set_format()
128 res = gst_audio_encoder_set_output_format (benc, outcaps); in gst_siren_enc_set_format()
129 gst_caps_unref (outcaps); in gst_siren_enc_set_format()
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/
Dgstaudiomixmatrix.c141 GstCaps * incaps, GstCaps * outcaps);
551 GstCaps * outcaps) in gst_audio_mix_matrix_set_caps() argument
559 if (!gst_audio_info_from_caps (&out_info, outcaps)) in gst_audio_mix_matrix_set_caps()
685 GstCaps *outcaps = gst_caps_copy (caps); in gst_audio_mix_matrix_transform_caps() local
689 guint capssize = gst_caps_get_size (outcaps); in gst_audio_mix_matrix_transform_caps()
693 s = gst_caps_get_structure (outcaps, i); in gst_audio_mix_matrix_transform_caps()
719 s = gst_caps_get_structure (outcaps, i); in gst_audio_mix_matrix_transform_caps()
733 ret = gst_caps_intersect_full (filter, outcaps, GST_CAPS_INTERSECT_FIRST); in gst_audio_mix_matrix_transform_caps()
734 gst_caps_unref (outcaps); in gst_audio_mix_matrix_transform_caps()
736 ret = outcaps; in gst_audio_mix_matrix_transform_caps()
/third_party/gstreamer/gstplugins_bad/gst/bayer/
Dgstrgb2bayer.c42 GstCaps * outcaps);
191 GstCaps * outcaps) in gst_rgb2bayer_set_caps() argument
199 outcaps); in gst_rgb2bayer_set_caps()
206 structure = gst_caps_get_structure (outcaps, 0); in gst_rgb2bayer_set_caps()
/third_party/gstreamer/gstplugins_base/tests/examples/gl/generic/recordgraphic/
Dmain.cpp199 GstCaps *outcaps = gst_caps_new_simple("video/x-raw", in main() local
222 link_ok = gst_element_link_filtered(glfilterapp, avenc_mpeg4, outcaps) ; in main()
223 gst_caps_unref(outcaps) ; in main()
/third_party/gstreamer/gstplugins_bad/sys/vdpau/
Dgstvdpdecoder.c180 GstCaps *outcaps; in gst_vdp_decoder_decide_allocation() local
187 gst_query_parse_allocation (query, &outcaps, NULL); in gst_vdp_decoder_decide_allocation()
189 gst_video_info_from_caps (&vinfo, outcaps); in gst_vdp_decoder_decide_allocation()
216 gst_buffer_pool_config_set_params (config, outcaps, size, min, max); in gst_vdp_decoder_decide_allocation()

12345