/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | capssetter.c | 72 GstCaps * in_caps, GstCaps * out_caps) in push_and_test() argument 107 fail_unless (gst_caps_is_equal (out_caps, current_out)); in push_and_test() 109 gst_caps_unref (out_caps); in push_and_test() 129 GstCaps *in_caps, *prop_caps, *out_caps; in GST_START_TEST() local 134 out_caps = gst_caps_new_simple ("video/x-bar", in GST_START_TEST() 137 push_and_test (prop_caps, FALSE, FALSE, in_caps, out_caps); in GST_START_TEST() 144 GstCaps *in_caps, *prop_caps, *out_caps; in GST_START_TEST() local 149 out_caps = gst_caps_copy (prop_caps); in GST_START_TEST() 150 push_and_test (prop_caps, FALSE, TRUE, in_caps, out_caps); in GST_START_TEST() 157 GstCaps *in_caps, *prop_caps, *out_caps; in GST_START_TEST() local [all …]
|
D | videoflip.c | 54 GstCaps *in_caps, *out_caps; in GST_START_TEST() local 68 gst_event_parse_caps (e, &out_caps); in GST_START_TEST() 69 fail_unless (gst_video_info_from_caps (&out_info, out_caps)); in GST_START_TEST() 94 GstCaps *in_caps, *out_caps; in GST_START_TEST() local 108 gst_event_parse_caps (e, &out_caps); in GST_START_TEST() 109 fail_unless (gst_video_info_from_caps (&out_info, out_caps)); in GST_START_TEST() 131 gst_event_parse_caps (e, &out_caps); in GST_START_TEST() 132 fail_unless (gst_video_info_from_caps (&out_info, out_caps)); in GST_START_TEST() 151 GstCaps *in_caps, *out_caps; in GST_START_TEST() local 166 gst_event_parse_caps (e, &out_caps); in GST_START_TEST() [all …]
|
D | videocrop.c | 254 GstCaps * out_caps, gint left, gint right, gint top, gint bottom, in videocrop_test_cropping() argument 259 out_caps); in videocrop_test_cropping() 262 g_object_set (ctx->filter2, "caps", out_caps, NULL); in videocrop_test_cropping() 437 GstCaps *in_caps, *out_caps; in GST_START_TEST() local 447 out_caps = gst_caps_copy (caps); in GST_START_TEST() 472 videocrop_test_cropping (&ctx, in_caps, out_caps, -1, -1, -1, -1, NULL); in GST_START_TEST() 473 videocrop_test_cropping (&ctx, in_caps, out_caps, 0, -1, -1, -1, NULL); in GST_START_TEST() 474 videocrop_test_cropping (&ctx, in_caps, out_caps, -1, 0, -1, -1, NULL); in GST_START_TEST() 475 videocrop_test_cropping (&ctx, in_caps, out_caps, -1, -1, 0, -1, NULL); in GST_START_TEST() 476 videocrop_test_cropping (&ctx, in_caps, out_caps, -1, -1, -1, 0, NULL); in GST_START_TEST() [all …]
|
D | parser.c | 230 gst_parser_test_run (GstParserTest * test, GstCaps ** out_caps) in gst_parser_test_run() argument 304 if (out_caps) in gst_parser_test_run() 305 *out_caps = src_caps; in gst_parser_test_run() 423 GstCaps *out_caps; in gst_parser_test_get_output_caps() local 430 gst_parser_test_run (&ptest, &out_caps); in gst_parser_test_get_output_caps() 434 return out_caps; in gst_parser_test_get_output_caps()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | audioconvert.c | 510 #define RUN_CONVERSION_TO_FAIL(which, inarray, in_caps, outarray, out_caps) \ argument 512 in_caps, outarray, sizeof (outarray), out_caps, \ 918 GstCaps *out_caps = get_int_mc_caps (2, G_BYTE_ORDER, 16, 16, TRUE, in GST_START_TEST() local 922 in_caps, out, out_caps); in GST_START_TEST() 930 GstCaps *out_caps = in GST_START_TEST() local 934 in, gst_caps_copy (in_caps), out, gst_caps_copy (out_caps)); in GST_START_TEST() 937 out, out_caps, in, in_caps); in GST_START_TEST() 951 GstCaps *out_caps = get_int_mc_caps (2, G_BYTE_ORDER, 16, 16, TRUE, in GST_START_TEST() local 955 in_caps, out, out_caps); in GST_START_TEST() 969 GstCaps *out_caps = get_int_mc_caps (1, G_BYTE_ORDER, 16, 16, TRUE, in GST_START_TEST() local [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | videotexturecache.m | 35 GstVideoFormat in_format, GstCaps * out_caps); 44 if (cache->out_caps) 45 gst_caps_unref (cache->out_caps); 68 GstVideoFormat in_format, GstCaps * out_caps) 72 g_return_if_fail (gst_caps_is_fixed (out_caps)); 74 out_caps = gst_caps_copy (out_caps); 75 gst_video_info_from_caps (&cache->output_info, out_caps); 77 in_caps = gst_caps_copy (out_caps); 83 gst_caps_take (&cache->out_caps, out_caps); 88 GstVideoFormat in_format, GstCaps * out_caps) [all …]
|
D | videotexturecache.h | 45 GstCaps *out_caps; member 54 GstCaps * out_caps); 64 GstCaps * out_caps);
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | gstglupload.c | 265 GstCaps *in_caps, *out_caps; in GST_START_TEST() local 273 out_caps = gst_caps_from_string ("video/x-raw(memory:GLMemory)," in GST_START_TEST() 276 gst_gl_upload_set_caps (upload, in_caps, out_caps); in GST_START_TEST() 307 gst_caps_unref (out_caps); in GST_START_TEST() 320 GstCaps *in_caps, *out_caps; in GST_START_TEST() local 353 out_caps = gst_gl_upload_transform_caps (upload, context, in GST_START_TEST() 355 out_s = gst_caps_get_structure (out_caps, 0); in GST_START_TEST() 358 gst_caps_unref (out_caps); in GST_START_TEST() 361 out_caps = gst_caps_from_string ("video/x-raw(memory:GLMemory)," in GST_START_TEST() 365 gst_gl_upload_set_caps (upload, in_caps, out_caps); in GST_START_TEST() [all …]
|
D | gstglcolorconvert.c | 188 GstCaps *out_caps; in check_conversion() local 192 out_caps = gst_video_info_to_caps (&out_info); in check_conversion() 193 gst_caps_set_features (out_caps, 0, in check_conversion() 200 gst_gl_color_convert_set_caps (convert, in_caps, out_caps); in check_conversion() 223 gst_caps_unref (out_caps); in check_conversion()
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gstcapsfilter.c | 416 GstCaps *out_caps; in gst_capsfilter_prepare_buf() local 423 out_caps = gst_pad_get_current_caps (trans->srcpad); in gst_capsfilter_prepare_buf() 424 if (out_caps == NULL) { in gst_capsfilter_prepare_buf() 425 out_caps = gst_pad_get_allowed_caps (trans->srcpad); in gst_capsfilter_prepare_buf() 426 g_return_val_if_fail (out_caps != NULL, GST_FLOW_ERROR); in gst_capsfilter_prepare_buf() 429 out_caps = gst_caps_simplify (out_caps); in gst_capsfilter_prepare_buf() 431 if (gst_caps_is_fixed (out_caps) && !gst_caps_is_empty (out_caps)) { in gst_capsfilter_prepare_buf() 433 GST_PTR_FORMAT " to apply to srcpad", out_caps); in gst_capsfilter_prepare_buf() 436 if (gst_pad_set_caps (trans->srcpad, out_caps)) { in gst_capsfilter_prepare_buf() 450 gst_caps_unref (out_caps); in gst_capsfilter_prepare_buf() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglupload.c | 97 GstCaps *out_caps; member 208 GstCaps * out_caps); 282 GstCaps * out_caps) in _gl_memory_upload_accept() argument 288 features = gst_caps_get_features (out_caps, 0); in _gl_memory_upload_accept() 386 if (upload->upload->priv->out_caps) { in _gl_memory_upload_propose_allocation() 391 _caps_get_texture_target (upload->upload->priv->out_caps, in _gl_memory_upload_propose_allocation() 441 upload->upload->priv->out_caps) { in _gl_memory_upload_perform() 443 _caps_get_texture_target (upload->upload->priv->out_caps, in _gl_memory_upload_perform() 502 gpointer out_caps; member 617 GstCaps * out_caps) in _dma_buf_upload_accept() argument [all …]
|
D | gstglviewconvert.c | 436 GstCaps * in_caps, GstCaps * out_caps) in gst_gl_view_convert_set_caps() argument 445 g_return_val_if_fail (GST_IS_CAPS (out_caps), FALSE); in gst_gl_view_convert_set_caps() 449 " to %" GST_PTR_FORMAT, in_caps, out_caps); in gst_gl_view_convert_set_caps() 452 out_features = gst_caps_get_features (out_caps, 0); in gst_gl_view_convert_set_caps() 463 if (!gst_video_info_from_caps (&out_info, out_caps)) in gst_gl_view_convert_set_caps() 468 GstStructure *out_s = gst_caps_get_structure (out_caps, 0); in gst_gl_view_convert_set_caps() 808 GstCaps * out_caps, GstStructure * structure, GstCapsFeatures * features) in _expand_structure() argument 1014 return out_caps; in _expand_structure() 1022 out_caps = gst_caps_merge (out_caps, expanded_caps); in _expand_structure() 1023 out_caps = gst_caps_merge (out_caps, tmp); in _expand_structure() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/vulkan/ |
D | vkdownload.c | 123 _image_to_raw_set_caps (gpointer impl, GstCaps * in_caps, GstCaps * out_caps) in _image_to_raw_set_caps() argument 130 if (!gst_video_info_from_caps (&raw->out_info, out_caps)) in _image_to_raw_set_caps() 171 gst_buffer_pool_config_set_params (config, raw->download->out_caps, size, in _image_to_raw_perform() 445 GstCaps * in_caps, GstCaps * out_caps); 542 gst_caps_replace (&vk_download->out_caps, NULL); in gst_vulkan_download_finalize() 751 GstCaps * out_caps) in gst_vulkan_download_set_caps() argument 758 gst_caps_replace (&vk_download->out_caps, out_caps); in gst_vulkan_download_set_caps() 771 if (!gst_caps_can_intersect (out_caps, templ)) { in gst_vulkan_download_set_caps() 778 out_caps)) in gst_vulkan_download_set_caps() 782 " out: %" GST_PTR_FORMAT, download_methods[i]->name, in_caps, out_caps); in gst_vulkan_download_set_caps() [all …]
|
D | vkviewconvert.c | 530 GstCaps * in_caps, GstCaps * out_caps); 998 GstCaps * out_caps, GstStructure * structure, GstCapsFeatures * features) in _expand_structure() argument 1204 return out_caps; in _expand_structure() 1212 out_caps = gst_caps_merge (out_caps, expanded_caps); in _expand_structure() 1214 return out_caps; in _expand_structure() 1269 GstCaps *out_caps, *tmp_caps; in gst_vulkan_view_convert_transform_caps() local 1284 out_caps = gst_caps_copy (caps); in gst_vulkan_view_convert_transform_caps() 1291 gst_caps_set_simple (out_caps, "multiview-mode", G_TYPE_STRING, in gst_vulkan_view_convert_transform_caps() 1296 out_caps = gst_caps_new_empty (); in gst_vulkan_view_convert_transform_caps() 1302 out_caps = _expand_structure (viewconvert, out_caps, structure, features); in gst_vulkan_view_convert_transform_caps() [all …]
|
D | vkupload.c | 100 _buffer_set_caps (gpointer impl, GstCaps * in_caps, GstCaps * out_caps) in _buffer_set_caps() argument 226 _raw_to_buffer_set_caps (gpointer impl, GstCaps * in_caps, GstCaps * out_caps) in _raw_to_buffer_set_caps() argument 235 if (!gst_video_info_from_caps (&raw->out_info, out_caps)) in _raw_to_buffer_set_caps() 284 gst_buffer_pool_config_set_params (config, raw->upload->out_caps, size, min, in _raw_to_buffer_perform() 414 _buffer_to_image_set_caps (gpointer impl, GstCaps * in_caps, GstCaps * out_caps) in _buffer_to_image_set_caps() argument 421 if (!gst_video_info_from_caps (&raw->out_info, out_caps)) in _buffer_to_image_set_caps() 463 gst_buffer_pool_config_set_params (config, raw->upload->out_caps, size, min, in _buffer_to_image_perform() 733 _raw_to_image_set_caps (gpointer impl, GstCaps * in_caps, GstCaps * out_caps) in _raw_to_image_set_caps() argument 740 if (!gst_video_info_from_caps (&raw->out_info, out_caps)) in _raw_to_image_set_caps() 792 gst_buffer_pool_config_set_params (config, raw->upload->out_caps, size, min, in _raw_to_image_perform() [all …]
|
D | vkimageidentity.c | 49 GstCaps * in_caps, GstCaps * out_caps); 124 GstCaps * out_caps) in gst_vulkan_image_identity_set_caps() argument 130 out_caps)) in gst_vulkan_image_identity_set_caps()
|
D | vkdownload.h | 52 GstCaps * out_caps); 71 GstCaps *out_caps; member
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkvideofilter.c | 53 GstCaps * in_caps, GstCaps * out_caps); 122 gst_caps_replace (&render->out_caps, NULL); in gst_vulkan_video_filter_finalize() 219 GstCaps * in_caps, GstCaps * out_caps) in gst_vulkan_video_filter_set_caps() argument 225 if (!gst_video_info_from_caps (&render->out_info, out_caps)) in gst_vulkan_video_filter_set_caps() 229 gst_caps_replace (&render->out_caps, out_caps); in gst_vulkan_video_filter_set_caps()
|
/third_party/gstreamer/gstplugins_good/tests/icles/ |
D | videocrop-test.c | 292 GstCaps *caps, *out_caps; in main() local 305 out_caps = gst_caps_copy (GST_CAPS (l->data)); in main() 306 gst_structure_set (gst_caps_get_structure (out_caps, 0), "width", in main() 309 g_object_set (filter2, "caps", out_caps, NULL); in main() 312 g_object_set (filter1, "caps", out_caps, NULL); in main() 313 gst_caps_unref (out_caps); in main()
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkvpp.c | 1291 GstCaps * out_caps) in gst_msdkvpp_set_caps() argument 1300 gst_caps_get_features (out_caps, 0))) in gst_msdkvpp_set_caps() 1304 gst_video_info_from_caps (&out_info, out_caps); in gst_msdkvpp_set_caps() 1356 GstCaps *caps, *out_caps; in pad_can_dmabuf() local 1371 out_caps = gst_pad_peer_query_caps (pad, caps); in pad_can_dmabuf() 1372 if (!out_caps) in pad_can_dmabuf() 1375 if (gst_caps_is_any (out_caps) || gst_caps_is_empty (out_caps) in pad_can_dmabuf() 1376 || out_caps == caps) in pad_can_dmabuf() 1379 if (_gst_caps_has_feature (out_caps, GST_CAPS_FEATURE_MEMORY_DMABUF)) in pad_can_dmabuf() 1384 if (out_caps) in pad_can_dmabuf() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11basefilter.cpp | 277 GstCaps *out_caps = NULL; in gst_d3d11_base_filter_before_transform() local 316 out_caps = gst_pad_get_current_caps (GST_BASE_TRANSFORM_SRC_PAD (trans)); in gst_d3d11_base_filter_before_transform() 317 if (!out_caps) { in gst_d3d11_base_filter_before_transform() 325 gst_d3d11_base_filter_set_caps (trans, in_caps, out_caps); in gst_d3d11_base_filter_before_transform() 332 gst_clear_caps (&out_caps); in gst_d3d11_base_filter_before_transform()
|
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/ |
D | gstwasapi2util.c | 405 GstCaps * template_caps, GstCaps ** out_caps, in gst_wasapi2_util_parse_waveformatex() argument 411 *out_caps = NULL; in gst_wasapi2_util_parse_waveformatex() 430 *out_caps = gst_caps_copy (template_caps); in gst_wasapi2_util_parse_waveformatex() 435 gst_caps_set_simple (*out_caps, in gst_wasapi2_util_parse_waveformatex() 441 gst_caps_set_simple (*out_caps, in gst_wasapi2_util_parse_waveformatex()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | parser.c | 231 gst_parser_test_run (GstParserTest * test, GstCaps ** out_caps) in gst_parser_test_run() argument 309 if (out_caps) in gst_parser_test_run() 310 *out_caps = src_caps; in gst_parser_test_run() 426 GstCaps *out_caps; in gst_parser_test_get_output_caps() local 433 gst_parser_test_run (&ptest, &out_caps); in gst_parser_test_get_output_caps() 437 return out_caps; in gst_parser_test_get_output_caps()
|
D | vkcolorconvert.c | 70 GstCaps *in_caps, *out_caps; in GST_START_TEST() local 83 out_caps = gst_video_info_to_caps (&out_info); in GST_START_TEST() 85 gst_harness_set_caps (h, in_caps, out_caps); in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_bad/sys/kms/ |
D | gstkmssink.c | 513 GstCaps *out_caps, *tmp_caps, *caps; in ensure_allowed_caps() local 523 out_caps = gst_caps_new_empty (); in ensure_allowed_caps() 524 if (!out_caps) in ensure_allowed_caps() 570 out_caps = gst_caps_merge (out_caps, gst_caps_simplify (tmp_caps)); in ensure_allowed_caps() 573 if (gst_caps_is_empty (out_caps)) { in ensure_allowed_caps() 575 gst_caps_unref (out_caps); in ensure_allowed_caps() 579 self->allowed_caps = gst_caps_simplify (out_caps); in ensure_allowed_caps() 980 GstCaps *caps, *out_caps; in gst_kms_sink_get_caps() local 993 out_caps = gst_caps_new_empty (); in gst_kms_sink_get_caps() 1002 gst_caps_append_structure (out_caps, s); in gst_kms_sink_get_caps() [all …]
|