/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | textoverlay.c | 419 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 …]
|
D | subparse.c | 250 GstCaps *outcaps; in test_srt_do_test() local 267 outcaps = gst_pad_get_current_caps (mysinkpad); in test_srt_do_test() 296 fail_unless (outcaps != NULL); in test_srt_do_test() 297 buffer_caps_struct = gst_caps_get_structure (outcaps, 0); in test_srt_do_test() 302 gst_caps_unref (outcaps); in test_srt_do_test() 332 GstCaps *outcaps; in test_vtt_do_test() local 359 outcaps = gst_pad_get_current_caps (mysinkpad); in test_vtt_do_test() 360 fail_unless (outcaps != NULL); in test_vtt_do_test() 361 buffer_caps_struct = gst_caps_get_structure (outcaps, 0); in test_vtt_do_test() 366 gst_caps_unref (outcaps); in test_vtt_do_test() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/resindvd/ |
D | rsnparsetter.c | 91 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/ |
D | x265enc.c | 102 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() 158 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local 186 outcaps = in GST_START_TEST() 197 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST() 201 gst_caps_unref (outcaps); in GST_START_TEST()
|
D | svthevcenc.c | 26 GstCaps *outcaps, *caps; in GST_START_TEST() local 43 outcaps = in GST_START_TEST() 49 fail_unless (gst_caps_can_intersect (caps, outcaps)); in GST_START_TEST() 59 gst_caps_unref (outcaps); in GST_START_TEST() 70 GstCaps *srccaps, *outcaps, *caps; in GST_START_TEST() local 81 outcaps = in GST_START_TEST() 115 fail_unless (gst_caps_can_intersect (caps, outcaps)); in GST_START_TEST() 130 gst_caps_unref (outcaps); in GST_START_TEST()
|
D | pnm.c | 68 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()
|
D | nvenc.c | 91 GstCaps *outcaps, *sinkcaps, *srccaps; in GST_START_TEST() local 123 outcaps = in GST_START_TEST() 134 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST() 138 gst_caps_unref (outcaps); in GST_START_TEST() 153 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local 193 outcaps = in GST_START_TEST() 204 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST() 208 gst_caps_unref (outcaps); in GST_START_TEST()
|
D | msdkh264enc.c | 100 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local 126 outcaps = in GST_START_TEST() 137 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST() 141 gst_caps_unref (outcaps); in GST_START_TEST()
|
D | openjpeg.c | 114 GstCaps *outcaps, *sinkcaps; in GST_START_TEST() local 143 outcaps = in GST_START_TEST() 154 fail_unless (gst_caps_can_intersect (sinkcaps, outcaps)); in GST_START_TEST() 158 gst_caps_unref (outcaps); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtpopuspay.c | 220 GstStructure *s, *outcaps; in gst_rtp_opus_pay_setcaps() local 226 outcaps = gst_structure_new_empty ("unused"); in gst_rtp_opus_pay_setcaps() 262 gst_structure_set (outcaps, "num_streams", G_TYPE_STRING, num_streams, in gst_rtp_opus_pay_setcaps() 268 gst_structure_set (outcaps, "coupled_streams", G_TYPE_STRING, in gst_rtp_opus_pay_setcaps() 287 gst_structure_set (outcaps, "channel_mapping", G_TYPE_STRING, str->str, in gst_rtp_opus_pay_setcaps() 293 gst_structure_set (outcaps, "sprop-stereo", G_TYPE_STRING, in gst_rtp_opus_pay_setcaps() 301 gst_structure_set (outcaps, "encoding-params", G_TYPE_STRING, in gst_rtp_opus_pay_setcaps() 308 gst_structure_set (outcaps, "sprop-maxcapturerate", G_TYPE_STRING, in gst_rtp_opus_pay_setcaps() 317 res = gst_rtp_base_payload_set_outcaps_structure (payload, outcaps); in gst_rtp_opus_pay_setcaps() 319 gst_structure_free (outcaps); in gst_rtp_opus_pay_setcaps()
|
D | gstrtpgstdepay.c | 156 GstCaps *outcaps; in gst_rtp_gst_depay_setcaps() local 164 outcaps = gst_caps_from_string (capsstr); in gst_rtp_gst_depay_setcaps() 177 gst_caps_replace (&rtpgstdepay->current_caps, outcaps); in gst_rtp_gst_depay_setcaps() 179 res = gst_pad_set_caps (depayload->srcpad, outcaps); in gst_rtp_gst_depay_setcaps() 180 gst_caps_unref (outcaps); in gst_rtp_gst_depay_setcaps() 440 GstCaps *outcaps; in gst_rtp_gst_depay_process() local 452 outcaps = read_caps (rtpgstdepay, outbuf, &size); in gst_rtp_gst_depay_process() 453 if (outcaps == NULL) in gst_rtp_gst_depay_process() 457 "inline caps %u, length %u, %" GST_PTR_FORMAT, CV, size, outcaps); in gst_rtp_gst_depay_process() 460 || !gst_caps_is_strictly_equal (rtpgstdepay->current_caps, outcaps)) in gst_rtp_gst_depay_process() [all …]
|
D | gstrtpmpadepay.c | 100 GstCaps *outcaps; in gst_rtp_mpa_depay_setcaps() local 110 outcaps = in gst_rtp_mpa_depay_setcaps() 112 res = gst_pad_set_caps (depayload->srcpad, outcaps); in gst_rtp_mpa_depay_setcaps() 113 gst_caps_unref (outcaps); in gst_rtp_mpa_depay_setcaps()
|
D | gstrtpmpvdepay.c | 103 GstCaps *outcaps; in gst_rtp_mpv_depay_setcaps() local 112 outcaps = gst_caps_new_simple ("video/mpeg", in gst_rtp_mpv_depay_setcaps() 115 res = gst_pad_set_caps (depayload->srcpad, outcaps); in gst_rtp_mpv_depay_setcaps() 116 gst_caps_unref (outcaps); in gst_rtp_mpv_depay_setcaps()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglviewconvert.c | 87 GstCaps * outcaps); 184 GstCaps * outcaps) in gst_gl_view_convert_element_set_caps() argument 192 " outcaps %" GST_PTR_FORMAT, incaps, outcaps); in gst_gl_view_convert_element_set_caps() 195 outcaps = gst_caps_copy (outcaps); in gst_gl_view_convert_element_set_caps() 202 gst_caps_set_simple (outcaps, "format", G_TYPE_STRING, "RGBA", NULL); in gst_gl_view_convert_element_set_caps() 205 gst_caps_set_features (outcaps, 0, gl_features); in gst_gl_view_convert_element_set_caps() 208 incaps, outcaps); in gst_gl_view_convert_element_set_caps() 211 gst_caps_unref (outcaps); in gst_gl_view_convert_element_set_caps()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | gstvideofilter.c | 130 GstCaps *outcaps = NULL; in gst_video_filter_decide_allocation() local 136 gst_query_parse_allocation (query, &outcaps, NULL); in gst_video_filter_decide_allocation() 142 gst_query_parse_allocation (query, &outcaps, NULL); in gst_video_filter_decide_allocation() 144 gst_video_info_from_caps (&vinfo, outcaps); in gst_video_filter_decide_allocation() 155 if (outcaps) in gst_video_filter_decide_allocation() 156 gst_buffer_pool_config_set_params (config, outcaps, size, 0, 0); in gst_video_filter_decide_allocation() 210 GstCaps * outcaps) in gst_video_filter_set_caps() argument 222 if (!gst_video_info_from_caps (&out_info, outcaps)) in gst_video_filter_set_caps() 227 res = fclass->set_info (filter, incaps, &in_info, outcaps, &out_info); in gst_video_filter_set_caps()
|
/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | transform1.c | 35 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 …]
|
D | transform2.c | 102 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_bad/sys/d3d11/ |
D | gstd3d11download.cpp | 101 GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps, 331 GstCaps *outcaps = NULL; in gst_d3d11_download_decide_allocation() local 337 gst_query_parse_allocation (query, &outcaps, NULL); in gst_d3d11_download_decide_allocation() 343 gst_query_parse_allocation (query, &outcaps, NULL); in gst_d3d11_download_decide_allocation() 344 gst_video_info_from_caps (&vinfo, outcaps); in gst_d3d11_download_decide_allocation() 355 if (outcaps) in gst_d3d11_download_decide_allocation() 356 gst_buffer_pool_config_set_params (config, outcaps, size, 0, 0); in gst_d3d11_download_decide_allocation() 457 GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps, in gst_d3d11_download_set_info() argument
|
D | gstd3d11upload.cpp | 96 GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps, 361 GstCaps *outcaps = NULL; in gst_d3d11_upload_decide_allocation() local 376 gst_query_parse_allocation (query, &outcaps, NULL); in gst_d3d11_upload_decide_allocation() 378 if (!outcaps) in gst_d3d11_upload_decide_allocation() 381 gst_video_info_from_caps (&vinfo, outcaps); in gst_d3d11_upload_decide_allocation() 386 GST_ERROR_OBJECT (filter, "Unknown format caps %" GST_PTR_FORMAT, outcaps); in gst_d3d11_upload_decide_allocation() 436 gst_buffer_pool_config_set_params (config, outcaps, size, min, max); in gst_d3d11_upload_decide_allocation() 558 GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps, in gst_d3d11_upload_set_info() argument
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | aspectratiocrop.c | 52 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()
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvabasetransform.c | 130 GstCaps * outcaps) in gst_va_base_transform_set_caps() argument 142 if (!gst_video_info_from_caps (&out_info, outcaps)) in gst_va_base_transform_set_caps() 147 res = fclass->set_info (self, incaps, &in_info, outcaps, &out_info); in gst_va_base_transform_set_caps() 155 gst_caps_replace (&self->out_caps, outcaps); in gst_va_base_transform_set_caps() 302 GstCaps *outcaps = NULL; in gst_va_base_transform_decide_allocation() local 308 gst_query_parse_allocation (query, &outcaps, NULL); in gst_va_base_transform_decide_allocation() 313 if (!gst_video_info_from_caps (&vinfo, outcaps)) { in gst_va_base_transform_decide_allocation() 314 GST_ERROR_OBJECT (self, "Cannot parse caps %" GST_PTR_FORMAT, outcaps); in gst_va_base_transform_decide_allocation() 354 if (gst_caps_is_dmabuf (outcaps) && GST_VIDEO_INFO_IS_RGB (&vinfo)) in gst_va_base_transform_decide_allocation() 357 gst_va_base_transform_allocator_from_caps (self, outcaps))) in gst_va_base_transform_decide_allocation() [all …]
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbasetransform.c | 793 GstCaps *outcaps; in gst_base_transform_default_decide_allocation() local 836 gst_query_parse_allocation (query, &outcaps, NULL); in gst_base_transform_default_decide_allocation() 866 gst_buffer_pool_config_set_params (config, outcaps, size, min, max); in gst_base_transform_default_decide_allocation() 874 if (!gst_buffer_pool_config_validate_params (config, outcaps, size, min, in gst_base_transform_default_decide_allocation() 880 gst_buffer_pool_config_set_params (config, outcaps, size, min, max); in gst_base_transform_default_decide_allocation() 914 gst_base_transform_do_bufferpool (GstBaseTransform * trans, GstCaps * outcaps) in gst_base_transform_do_bufferpool() argument 946 query = gst_query_new_allocation (outcaps, TRUE); in gst_base_transform_do_bufferpool() 1311 GstCaps *outcaps, *prev_incaps = NULL, *prev_outcaps = NULL; in gst_base_transform_setcaps() local 1317 outcaps = gst_base_transform_find_transform (trans, pad, incaps); in gst_base_transform_setcaps() 1318 if (!outcaps || gst_caps_is_empty (outcaps)) in gst_base_transform_setcaps() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstcudabasetransform.c | 60 GstCaps * incaps, GstCaps * outcaps); 230 GstCaps * outcaps) in gst_cuda_base_transform_set_caps() argument 247 if (!gst_video_info_from_caps (&out_info, outcaps)) in gst_cuda_base_transform_set_caps() 252 res = klass->set_info (filter, incaps, &in_info, outcaps, &out_info); in gst_cuda_base_transform_set_caps() 538 GstCaps *outcaps = NULL; in gst_cuda_base_transform_decide_allocation() local 546 gst_query_parse_allocation (query, &outcaps, NULL); in gst_cuda_base_transform_decide_allocation() 548 if (!outcaps) in gst_cuda_base_transform_decide_allocation() 551 features = gst_caps_get_features (outcaps, 0); in gst_cuda_base_transform_decide_allocation() 568 gst_video_info_from_caps (&vinfo, outcaps); in gst_cuda_base_transform_decide_allocation() 584 gst_buffer_pool_config_set_params (config, outcaps, size, min, max); in gst_cuda_base_transform_decide_allocation()
|
/third_party/gstreamer/gstplugins_bad/gst/siren/ |
D | gstsirenenc.c | 126 GstCaps *outcaps; in gst_siren_enc_set_format() local 128 outcaps = gst_static_pad_template_get_caps (&srctemplate); in gst_siren_enc_set_format() 129 res = gst_audio_encoder_set_output_format (benc, outcaps); in gst_siren_enc_set_format() 130 gst_caps_unref (outcaps); in gst_siren_enc_set_format()
|
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/ |
D | gstaudiomixmatrix.c | 141 GstCaps * incaps, GstCaps * outcaps); 555 GstCaps * outcaps) in gst_audio_mix_matrix_set_caps() argument 563 if (!gst_audio_info_from_caps (&out_info, outcaps)) in gst_audio_mix_matrix_set_caps() 689 GstCaps *outcaps = gst_caps_copy (caps); in gst_audio_mix_matrix_transform_caps() local 693 guint capssize = gst_caps_get_size (outcaps); in gst_audio_mix_matrix_transform_caps() 697 s = gst_caps_get_structure (outcaps, i); in gst_audio_mix_matrix_transform_caps() 723 s = gst_caps_get_structure (outcaps, i); in gst_audio_mix_matrix_transform_caps() 737 ret = gst_caps_intersect_full (filter, outcaps, GST_CAPS_INTERSECT_FIRST); in gst_audio_mix_matrix_transform_caps() 738 gst_caps_unref (outcaps); in gst_audio_mix_matrix_transform_caps() 740 ret = outcaps; in gst_audio_mix_matrix_transform_caps()
|