/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstcaps.c | 33 GstCaps *caps2; in GST_START_TEST() local 44 caps2 = gst_caps_from_string (to_str); in GST_START_TEST() 45 fail_if (caps2 == NULL, "Could not create caps from string %s\n", to_str); in GST_START_TEST() 48 fail_unless (gst_caps_is_equal (caps, caps2)); in GST_START_TEST() 51 gst_caps_unref (caps2); in GST_START_TEST() 107 GstCaps *caps2; in GST_START_TEST() local 118 caps2 = gst_static_caps_get (&scaps); in GST_START_TEST() 119 fail_unless (caps2 != NULL); in GST_START_TEST() 123 fail_unless (caps1 == caps2); in GST_START_TEST() 126 gst_caps_unref (caps2); in GST_START_TEST() [all …]
|
D | gststream.c | 32 GstCaps *caps2; in GST_START_TEST() local 40 caps2 = gst_stream_get_caps (stream); in GST_START_TEST() 41 fail_unless (gst_caps_is_equal (caps, caps2)); in GST_START_TEST() 42 gst_caps_unref (caps2); in GST_START_TEST() 65 GstCaps *caps2; in GST_START_TEST() local 82 caps2 = gst_stream_get_caps (stream); in GST_START_TEST() 83 fail_unless (gst_caps_is_equal (caps, caps2)); in GST_START_TEST() 85 gst_caps_unref (caps2); in GST_START_TEST()
|
D | gstmessage.c | 436 GstCaps *caps1, *caps2; in GST_START_TEST() local 440 caps2 = gst_caps_from_string ("some/other-string"); in GST_START_TEST() 443 stream2 = gst_stream_new ("stream-2", caps2, GST_STREAM_TYPE_VIDEO, 0); in GST_START_TEST() 459 gst_caps_unref (caps2); in GST_START_TEST() 466 GstCaps *caps1, *caps2; in GST_START_TEST() local 470 caps2 = gst_caps_from_string ("some/other-string"); in GST_START_TEST() 473 stream2 = gst_stream_new ("stream-2", caps2, GST_STREAM_TYPE_VIDEO, 0); in GST_START_TEST() 513 gst_caps_unref (caps2); in GST_START_TEST()
|
D | gststructure.c | 731 GstCaps *caps, *caps2; in GST_START_TEST() local 758 G_TYPE_STRING, &c, "caps", GST_TYPE_CAPS, &caps2, "buf", in GST_START_TEST() 769 fail_unless (caps == caps2); in GST_START_TEST() 781 gst_caps_unref (caps2); in GST_START_TEST() 782 caps2 = NULL; in GST_START_TEST() 789 &c, g_quark_from_static_string ("caps"), GST_TYPE_CAPS, &caps2, in GST_START_TEST() 799 fail_unless (caps == caps2); in GST_START_TEST() 812 gst_caps_unref (caps2); in GST_START_TEST()
|
D | gstghostpad.c | 686 GstCaps *templ_caps, *caps1, *caps2; in GST_START_TEST() local 717 caps2 = gst_pad_get_current_caps (ghost); in GST_START_TEST() 718 fail_unless (gst_caps_is_equal (caps1, caps2)); in GST_START_TEST() 723 gst_caps_unref (caps2); in GST_START_TEST() 739 caps2 = gst_pad_get_current_caps (src); in GST_START_TEST() 740 fail_unless (caps2 == NULL); in GST_START_TEST() 761 caps2 = gst_pad_get_current_caps (sink); in GST_START_TEST() 762 fail_unless (gst_caps_is_equal (caps1, caps2)); in GST_START_TEST() 767 gst_caps_unref (caps2); in GST_START_TEST() 788 caps2 = gst_pad_get_current_caps (ghost); in GST_START_TEST() [all …]
|
D | gstevent.c | 287 GstCaps *caps1, *caps2; in GST_START_TEST() local 291 caps2 = gst_caps_from_string ("some/other-string"); in GST_START_TEST() 294 stream2 = gst_stream_new ("stream-2", caps2, GST_STREAM_TYPE_VIDEO, 0); in GST_START_TEST() 311 gst_caps_unref (caps2); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | imagefreeze.c | 59 setup_imagefreeze (const GstCaps * caps1, const GstCaps * caps2, in setup_imagefreeze() argument 81 g_object_set (capsfilter2, "caps", caps2, NULL); in setup_imagefreeze() 122 GstCaps *caps1, *caps2; in GST_START_TEST() local 137 caps2 = gst_video_info_to_caps (&i2); in GST_START_TEST() 140 setup_imagefreeze (caps1, caps2, G_CALLBACK (sink_handoff_cb_0_1), in GST_START_TEST() 164 gst_caps_unref (caps2); in GST_START_TEST() 191 GstCaps *caps1, *caps2; in GST_START_TEST() local 208 caps2 = gst_video_info_to_caps (&i2); in GST_START_TEST() 211 setup_imagefreeze (caps1, caps2, in GST_START_TEST() 243 gst_caps_unref (caps2); in GST_START_TEST() [all …]
|
D | deinterleave.c | 278 GstCaps *caps, *caps2; in GST_START_TEST() local 338 caps2 = gst_caps_from_string (CAPS_32khz); in GST_START_TEST() 344 gst_caps_set_simple (caps2, "channel-mask", GST_TYPE_BITMASK, channel_mask, in GST_START_TEST() 346 ret_caps = gst_pad_peer_query_caps (mysrcpad, caps2); in GST_START_TEST() 348 fail_unless (gst_pad_peer_query_accept_caps (mysrcpad, caps2)); in GST_START_TEST() 350 gst_pad_set_caps (mysrcpad, caps2); in GST_START_TEST() 365 gst_caps_unref (caps2); in GST_START_TEST() 367 caps2 = gst_caps_from_string (CAPS_48khz_3CH); in GST_START_TEST() 375 gst_caps_set_simple (caps2, "channel-mask", GST_TYPE_BITMASK, channel_mask, in GST_START_TEST() 377 ret_caps = gst_pad_peer_query_caps (mysrcpad, caps2); in GST_START_TEST() [all …]
|
D | rtpmux.c | 80 GstCaps **caps2 = g_object_get_data (G_OBJECT (pad), "caps"); in event_func() local 86 caps2_no_ssrc = remove_ssrc_from_caps (*caps2); in event_func() 88 fail_unless (caps2 != NULL && *caps2 != NULL); in event_func() 90 fail_unless (gst_caps_is_fixed (*caps2)); in event_func()
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstcaps.c | 546 gst_caps_append (GstCaps * caps1, GstCaps * caps2) in gst_caps_append() argument 553 g_return_if_fail (GST_IS_CAPS (caps2)); in gst_caps_append() 556 if (G_UNLIKELY (CAPS_IS_ANY (caps1) || CAPS_IS_ANY (caps2))) { in gst_caps_append() 558 gst_caps_unref (caps2); in gst_caps_append() 560 caps2 = gst_caps_make_writable (caps2); in gst_caps_append() 562 for (i = GST_CAPS_LEN (caps2); i; i--) { in gst_caps_append() 563 gst_caps_remove_and_get_structure_and_features (caps2, 0, &structure, in gst_caps_append() 567 gst_caps_unref (caps2); /* guaranteed to free it */ in gst_caps_append() 584 gst_caps_merge (GstCaps * caps1, GstCaps * caps2) in gst_caps_merge() argument 592 g_return_val_if_fail (GST_IS_CAPS (caps2), NULL); in gst_caps_merge() [all …]
|
D | gstcaps.h | 437 GstCaps *caps2); 450 GstCaps *caps2) G_GNUC_WARN_UNUSED_RESULT; 522 const GstCaps *caps2); 535 const GstCaps *caps2); 538 const GstCaps *caps2); 541 const GstCaps * caps2); 544 const GstCaps *caps2); 551 GstCaps *caps2) G_GNUC_WARN_UNUSED_RESULT; 554 GstCaps *caps2,
|
/third_party/ltp/testcases/kernel/security/filecaps/ |
D | check_simple_capset.c | 31 cap_t caps, caps2; in main() local 35 caps2 = cap_from_text("cap_setpcap+ep"); in main() 37 ret = cap_compare(caps, caps2); in main() 41 cap_free(caps2); in main()
|
/third_party/gstreamer/gstplugins_bad/gst/debugutils/ |
D | gstcompare.c | 236 GstBuffer * buf2, GstCaps * caps2) in gst_compare_meta() argument 280 if (!gst_caps_is_equal (caps1, caps2)) { in gst_compare_meta() 283 "caps %" GST_PTR_FORMAT " != caps %" GST_PTR_FORMAT, caps1, caps2); in gst_compare_meta() 303 GstBuffer * buf2, GstCaps * caps2) in gst_compare_mem() argument 321 GstBuffer * buf2, GstCaps * caps2) in gst_compare_max() argument 427 GstBuffer * buf2, GstCaps * caps2) in gst_compare_ssim() argument 440 if (!caps2) in gst_compare_ssim() 512 GstBuffer * buf2, GstCaps * caps2) in gst_compare_buffers() argument 518 gst_compare_meta (comp, buf1, caps1, buf2, caps2); in gst_compare_buffers() 538 delta = gst_compare_mem (comp, buf1, caps1, buf2, caps2); in gst_compare_buffers() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpopuspay.c | 231 GstCaps *caps2 = gst_caps_copy (caps); in gst_rtp_opus_pay_getcaps() local 234 gst_caps_set_simple (caps2, "channels", G_TYPE_INT, 1, NULL); in gst_rtp_opus_pay_getcaps() 235 caps = gst_caps_merge (caps, caps2); in gst_rtp_opus_pay_getcaps() 237 GstCaps *caps2 = gst_caps_copy (caps); in gst_rtp_opus_pay_getcaps() local 240 gst_caps_set_simple (caps2, "channels", G_TYPE_INT, 2, NULL); in gst_rtp_opus_pay_getcaps() 241 caps = gst_caps_merge (caps, caps2); in gst_rtp_opus_pay_getcaps()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | appsrc.c | 212 GstCaps *caps2; member 234 h->expected_caps = h->caps2; in handoff_cb() 235 GST_INFO ("got buffer, expect caps %" GST_PTR_FORMAT " next", h->caps2); in handoff_cb() 248 h.caps2 = gst_caps_new_simple ("bar/foo", "xyz", G_TYPE_INT, 3, NULL); in GST_START_TEST() 269 gst_app_src_set_caps (GST_APP_SRC (src), h.caps2); in GST_START_TEST() 271 fail_unless (gst_caps_is_equal (caps, h.caps2)); in GST_START_TEST() 276 h.expected_caps = h.caps2; in GST_START_TEST() 318 gst_app_src_set_caps (GST_APP_SRC (src), h.caps2); in GST_START_TEST() 320 fail_unless (gst_caps_is_equal (caps, h.caps2)); in GST_START_TEST() 332 gst_caps_unref (h.caps2); in GST_START_TEST()
|
D | audiorate.c | 500 GstCaps *caps1, *caps2; in GST_START_TEST() local 506 caps2 = gst_caps_from_string (SECOND_CAPS); in GST_START_TEST() 529 gst_app_src_set_caps (GST_APP_SRC (src), caps2); in GST_START_TEST() 560 gst_caps_unref (caps2); in GST_START_TEST()
|
D | audioconvert.c | 1154 GstCaps *caps1, *caps2; in GST_START_TEST() local 1195 caps2 = gst_pad_query_caps (ac3_src, NULL); in GST_START_TEST() 1197 fail_if (caps2 == NULL, "gst_pad_query_caps returned NULL"); in GST_START_TEST() 1198 GST_DEBUG ("Caps size 2 : %d", gst_caps_get_size (caps2)); in GST_START_TEST() 1199 fail_unless (gst_caps_get_size (caps1) == gst_caps_get_size (caps2)); in GST_START_TEST() 1202 gst_caps_unref (caps2); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | sdp.c | 386 GstCaps *caps1, *caps2, *caps3; in GST_START_TEST() local 402 caps2 = gst_sdp_media_get_caps_from_media (media1, 101); in GST_START_TEST() 404 fail_unless (gst_caps_is_strictly_equal (caps2, result2)); in GST_START_TEST() 407 gst_caps_unref (caps2); in GST_START_TEST() 426 GstCaps *caps1, *caps2, *caps3; in GST_START_TEST() local 442 caps2 = gst_sdp_media_get_caps_from_media (media1, 101); in GST_START_TEST() 444 fail_unless (gst_caps_is_strictly_equal (caps2, result2)); in GST_START_TEST() 447 gst_caps_unref (caps2); in GST_START_TEST()
|
D | profile.c | 37 gst_caps_is_equal_unref (GstCaps * caps1, GstCaps * caps2) in gst_caps_is_equal_unref() argument 41 ret = gst_caps_is_equal (caps1, caps2); in gst_caps_is_equal_unref() 233 GstCaps *caps, *caps2; in create_saveload_target() local 247 caps2 = gst_caps_from_string ("audio/x-raw,channels=1,rate=44100"); in create_saveload_target() 249 (GstEncodingProfile *) gst_encoding_audio_profile_new (caps, NULL, caps2, in create_saveload_target() 254 gst_caps_unref (caps2); in create_saveload_target() 257 caps2 = in create_saveload_target() 260 gst_encoding_video_profile_new (caps, "seriously glittery", caps2, 0); in create_saveload_target() 266 gst_caps_unref (caps2); in create_saveload_target()
|
D | videodecoder.c | 1105 GstCaps *caps1, *caps2; in GST_START_TEST() local 1133 caps2 = gst_caps_from_string (test_default_caps[__i__][1]); in GST_START_TEST() 1135 gst_video_info_from_caps (&info2, caps2); in GST_START_TEST() 1138 gst_caps_unref (caps2); in GST_START_TEST()
|
/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | transform1.c | 405 GstCaps *caps1, *caps2; in set_caps_ct1() local 410 caps2 = gst_caps_new_empty_simple ("foo/x-bar"); in set_caps_ct1() 413 fail_unless (gst_caps_is_equal (outcaps, caps2)); in set_caps_ct1() 418 gst_caps_unref (caps2); in set_caps_ct1() 578 GstCaps *caps1, *caps2; in set_caps_ct2() local 585 caps2 = gst_caps_copy (caps1); in set_caps_ct2() 587 caps2 = gst_caps_new_empty_simple ("baz/x-foo"); in set_caps_ct2() 590 fail_unless (gst_caps_is_equal (outcaps, caps2)); in set_caps_ct2() 595 gst_caps_unref (caps2); in set_caps_ct2()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | srtp.c | 219 GstCaps *caps1, *caps2; in GST_START_TEST() local 245 caps2 = in GST_START_TEST() 248 fail_unless (gst_caps_can_intersect (caps1, caps2)); in GST_START_TEST() 250 gst_caps_unref (caps2); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_good/gst/smpte/ |
D | gstsmpte.c | 555 GstCaps *caps1, *caps2; in gst_smpte_collected() local 558 caps2 = gst_pad_get_current_caps (smpte->sinkpad2); in gst_smpte_collected() 561 caps1, caps2)); in gst_smpte_collected() 564 if (caps2) in gst_smpte_collected() 565 gst_caps_unref (caps2); in gst_smpte_collected()
|
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/ |
D | gstdshowvideosrc.cpp | 397 GstCaps *caps2; in gst_dshowvideosrc_getcaps_from_capture_filter() local 398 caps2 = gst_dshowvideosrc_getcaps_from_streamcaps (capture_pin, in gst_dshowvideosrc_getcaps_from_capture_filter() 400 if (caps2) { in gst_dshowvideosrc_getcaps_from_capture_filter() 401 gst_caps_append (caps, caps2); in gst_dshowvideosrc_getcaps_from_capture_filter() 403 caps2 = gst_dshowvideosrc_getcaps_from_enum_mediatypes ( in gst_dshowvideosrc_getcaps_from_capture_filter() 405 if (caps2) { in gst_dshowvideosrc_getcaps_from_capture_filter() 406 gst_caps_append (caps, caps2); in gst_dshowvideosrc_getcaps_from_capture_filter()
|
/third_party/gstreamer/gstplugins_base/tests/examples/gl/generic/doublecube/ |
D | main.cpp | 211 GstCaps* caps2 = gst_pad_query_caps (element_pad, NULL); in cb_new_pad() local 212 gst_caps_unref (caps2); in cb_new_pad()
|