Home
last modified time | relevance | path

Searched refs:incaps (Results 1 – 25 of 103) sorted by relevance

12345

/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
298 fail_unless (gst_caps_is_equal (incaps, caps)); in set_caps_1()
403 set_caps_ct1 (GstBaseTransform * trans, GstCaps * incaps, GstCaps * outcaps) in set_caps_ct1() argument
412 fail_unless (gst_caps_is_equal (incaps, caps1)); in set_caps_ct1()
480 GstCaps *incaps, *outcaps; in GST_START_TEST() local
490 incaps = gst_caps_new_empty_simple ("baz/x-foo"); in GST_START_TEST()
513 gst_test_trans_setcaps (trans, incaps); in GST_START_TEST()
[all …]
Dtransform2.c102 GstCaps *incaps, *outcaps; in GST_START_TEST() local
112 incaps = gst_caps_new_empty_simple ("foo/x-bar"); in GST_START_TEST()
120 GST_DEBUG_OBJECT (trans, "buffer with caps %" GST_PTR_FORMAT, incaps); in GST_START_TEST()
121 gst_test_trans_setcaps (trans, incaps); in GST_START_TEST()
144 gst_caps_unref (incaps); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dtextoverlay.c419 GstCaps *incaps, *outcaps; in GST_START_TEST() local
427 incaps = create_video_caps (VIDEO_CAPS_STRING); in GST_START_TEST()
428 gst_check_setup_events_textoverlay (myvideosrcpad, textoverlay, incaps, in GST_START_TEST()
430 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
431 gst_caps_unref (incaps); in GST_START_TEST()
560 GstCaps *incaps, *outcaps; in GST_START_TEST() local
573 incaps = create_video_caps (VIDEO_CAPS_STRING); in GST_START_TEST()
574 gst_check_setup_events_textoverlay (myvideosrcpad, textoverlay, incaps, in GST_START_TEST()
576 inbuffer = create_black_buffer (incaps); in GST_START_TEST()
577 gst_caps_unref (incaps); in GST_START_TEST()
[all …]
Daudioconvert.c410 GstCaps * incaps, void *out, int outlength, GstCaps * outcaps, in verify_convert() argument
418 GST_DEBUG ("incaps: %" GST_PTR_FORMAT, incaps); in verify_convert()
420 ASSERT_CAPS_REFCOUNT (incaps, "incaps", 1); in verify_convert()
429 gst_check_setup_events (mysrcpad, audioconvert, incaps, GST_FORMAT_TIME); in verify_convert()
436 fail_unless (gst_audio_info_from_caps (&in_info, incaps)); in verify_convert()
474 in_s = gst_caps_get_structure (incaps, 0); in verify_convert()
500 gst_caps_unref (incaps); in verify_convert()
640 GstCaps *incaps, *outcaps; in GST_START_TEST() local
643 incaps = get_int_caps (1, G_BYTE_ORDER, 8, 8, FALSE, INTERLEAVED); in GST_START_TEST()
645 GST_DEBUG ("incaps: %" GST_PTR_FORMAT, incaps); in GST_START_TEST()
[all …]
Drawaudioparse.c61 gboolean set_properties, GstCaps * incaps, GstFormat format) in setup_rawaudioparse() argument
100 gst_check_setup_events (mysrcpad, rawaudioparse, incaps, format); in setup_rawaudioparse()
101 if (incaps) in setup_rawaudioparse()
102 gst_caps_unref (incaps); in setup_rawaudioparse()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dalphacolor.c155 GstCaps *incaps; in GST_START_TEST() local
157 incaps = create_caps_rgb24 (); in GST_START_TEST()
163 gst_check_setup_events (mysrcpad, alphacolor, incaps, GST_FORMAT_TIME); in GST_START_TEST()
184 ASSERT_CAPS_REFCOUNT (incaps, "incaps", 1); in GST_START_TEST()
185 gst_caps_unref (incaps); in GST_START_TEST()
203 GstCaps *incaps; in GST_START_TEST() local
208 incaps = create_caps_rgba32 (); in GST_START_TEST()
214 gst_check_setup_events (mysrcpad, alphacolor, incaps, GST_FORMAT_TIME); in GST_START_TEST()
268 ASSERT_CAPS_REFCOUNT (incaps, "incaps", 1); in GST_START_TEST()
269 gst_caps_unref (incaps); in GST_START_TEST()
Dalpha.c132 GstCaps *incaps; in GST_START_TEST() local
138 incaps = create_caps_rgba32 (); in GST_START_TEST()
147 gst_check_setup_events (srcpad, alpha, incaps, GST_FORMAT_TIME); in GST_START_TEST()
182 ASSERT_CAPS_REFCOUNT (incaps, "incaps", 1); in GST_START_TEST()
183 gst_caps_unref (incaps); in GST_START_TEST()
196 GstCaps *incaps; in GST_START_TEST() local
202 incaps = create_caps_rgba32 (); in GST_START_TEST()
211 gst_check_setup_events (srcpad, alpha, incaps, GST_FORMAT_TIME); in GST_START_TEST()
251 ASSERT_CAPS_REFCOUNT (incaps, "incaps", 1); in GST_START_TEST()
252 gst_caps_unref (incaps); in GST_START_TEST()
Daspectratiocrop.c51 GstCaps *incaps; in check_aspectratiocrop() local
54 incaps = gst_caps_from_string (in_string); in check_aspectratiocrop()
71 GST_DEBUG ("setting caps %s %" GST_PTR_FORMAT, in_string, incaps); in check_aspectratiocrop()
72 gst_check_setup_events (src_pad, element, incaps, GST_FORMAT_TIME); in check_aspectratiocrop()
117 gst_caps_unref (incaps); in check_aspectratiocrop()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglviewconvert.c86 gst_gl_view_convert_element_set_caps (GstGLFilter * filter, GstCaps * incaps,
183 gst_gl_view_convert_element_set_caps (GstGLFilter * filter, GstCaps * incaps, in gst_gl_view_convert_element_set_caps() argument
192 " outcaps %" GST_PTR_FORMAT, incaps, outcaps); in gst_gl_view_convert_element_set_caps()
194 incaps = gst_caps_copy (incaps); in gst_gl_view_convert_element_set_caps()
197 gst_caps_set_simple (incaps, "format", G_TYPE_STRING, "RGBA", NULL); in gst_gl_view_convert_element_set_caps()
200 gst_caps_set_features (incaps, 0, gl_features); in gst_gl_view_convert_element_set_caps()
208 incaps, outcaps); in gst_gl_view_convert_element_set_caps()
210 gst_caps_unref (incaps); in gst_gl_view_convert_element_set_caps()
Dgstgluploadelement.c295 GstCaps *incaps = gst_pad_get_current_caps (sinkpad); in gst_gl_upload_element_prepare_output_buffer() local
301 gst_pad_send_event (sinkpad, gst_event_new_caps (incaps)); in gst_gl_upload_element_prepare_output_buffer()
302 gst_caps_unref (incaps); in gst_gl_upload_element_prepare_output_buffer()
Dgstglfilterapp.c71 GstCaps * incaps, GstCaps * outcaps);
182 gst_gl_filter_app_set_caps (GstGLFilter * filter, GstCaps * incaps, in gst_gl_filter_app_set_caps() argument
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiofilter.c60 GstCaps * incaps, GstCaps * outcaps);
142 gst_audio_filter_set_caps (GstBaseTransform * btrans, GstCaps * incaps, in gst_audio_filter_set_caps() argument
150 GST_LOG_OBJECT (filter, "caps: %" GST_PTR_FORMAT, incaps); in gst_audio_filter_set_caps()
153 if (!gst_audio_info_from_caps (&info, incaps)) in gst_audio_filter_set_caps()
163 GST_LOG_OBJECT (filter, "configured caps: %" GST_PTR_FORMAT, incaps); in gst_audio_filter_set_caps()
171 GST_WARNING_OBJECT (filter, "couldn't parse %" GST_PTR_FORMAT, incaps); in gst_audio_filter_set_caps()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dpnm.c64 GstCaps *incaps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, in GST_START_TEST() local
74 GST_DEBUG ("Setting in caps %" GST_PTR_FORMAT, incaps); in GST_START_TEST()
75 g_object_set (G_OBJECT (incf), "caps", incaps, NULL); in GST_START_TEST()
79 gst_caps_unref (incaps); in GST_START_TEST()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasetransform.c1308 GstCaps * incaps) in gst_base_transform_setcaps() argument
1314 GST_DEBUG_OBJECT (pad, "have new caps %p %" GST_PTR_FORMAT, incaps, incaps); in gst_base_transform_setcaps()
1317 outcaps = gst_base_transform_find_transform (trans, pad, incaps); in gst_base_transform_setcaps()
1324 if (gst_caps_is_equal (incaps, outcaps)) { in gst_base_transform_setcaps()
1327 outcaps = gst_caps_ref (incaps); in gst_base_transform_setcaps()
1332 if (prev_incaps && prev_outcaps && gst_caps_is_equal (prev_incaps, incaps) in gst_base_transform_setcaps()
1336 incaps, outcaps); in gst_base_transform_setcaps()
1340 if (!(ret = gst_base_transform_configure_caps (trans, incaps, outcaps))) in gst_base_transform_setcaps()
1372 " in anything we support", incaps); in gst_base_transform_setcaps()
1379 " and outcaps %" GST_PTR_FORMAT, incaps, outcaps); in gst_base_transform_setcaps()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/bayer/
Dgstrgb2bayer.c42 gst_rgb2bayer_set_caps (GstBaseTransform * trans, GstCaps * incaps,
193 gst_rgb2bayer_set_caps (GstBaseTransform * trans, GstCaps * incaps, in gst_rgb2bayer_set_caps() argument
201 GST_DEBUG ("in caps %" GST_PTR_FORMAT " out caps %" GST_PTR_FORMAT, incaps, in gst_rgb2bayer_set_caps()
204 if (!gst_video_info_from_caps (&info, incaps)) in gst_rgb2bayer_set_caps()
Dgstbayer2rgb.c158 GstCaps * incaps, GstCaps * outcaps);
238 gst_bayer2rgb_set_caps (GstBaseTransform * base, GstCaps * incaps, in gst_bayer2rgb_set_caps() argument
246 GST_DEBUG ("in caps %" GST_PTR_FORMAT " out caps %" GST_PTR_FORMAT, incaps, in gst_bayer2rgb_set_caps()
249 structure = gst_caps_get_structure (incaps, 0); in gst_bayer2rgb_set_caps()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11basefilter.cpp52 GstCaps * incaps, GstCaps * outcaps);
188 gst_d3d11_base_filter_set_caps (GstBaseTransform * trans, GstCaps * incaps, in gst_d3d11_base_filter_set_caps() argument
202 if (!gst_video_info_from_caps (&in_info, incaps)) in gst_d3d11_base_filter_set_caps()
211 res = klass->set_info (filter, incaps, &in_info, outcaps, &out_info); in gst_d3d11_base_filter_set_caps()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2transform.c191 gst_caps_replace (&self->incaps, NULL); in gst_v4l2_transform_stop()
198 gst_v4l2_transform_set_caps (GstBaseTransform * trans, GstCaps * incaps, in gst_v4l2_transform_set_caps() argument
207 if (self->incaps && self->outcaps) { in gst_v4l2_transform_set_caps()
208 if (gst_caps_is_equal (incaps, self->incaps) && in gst_v4l2_transform_set_caps()
218 if (!gst_v4l2_object_set_format (self->v4l2output, incaps, &error)) in gst_v4l2_transform_set_caps()
224 gst_caps_replace (&self->incaps, incaps); in gst_v4l2_transform_set_caps()
239 incaps); in gst_v4l2_transform_set_caps()
917 gst_buffer_pool_config_set_params (config, self->incaps, in gst_v4l2_transform_prepare_output_buffer()
/third_party/gstreamer/gstplugins_good/gst/videofilter/
Dgstgamma.c95 static gboolean gst_gamma_set_info (GstVideoFilter * vfilter, GstCaps * incaps,
327 gst_gamma_set_info (GstVideoFilter * vfilter, GstCaps * incaps, in gst_gamma_set_info() argument
333 "setting caps: in %" GST_PTR_FORMAT " out %" GST_PTR_FORMAT, incaps, in gst_gamma_set_info()
373 GST_ERROR_OBJECT (gamma, "Invalid caps: %" GST_PTR_FORMAT, incaps); in gst_gamma_set_info()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglfilter.c117 static gboolean gst_gl_filter_set_caps (GstBaseTransform * bt, GstCaps * incaps,
121 GstCaps * incaps, GstCaps * outcaps);
692 gst_gl_filter_gl_set_caps (GstGLBaseFilter * bt, GstCaps * incaps, in gst_gl_filter_gl_set_caps() argument
733 gst_gl_filter_set_caps (GstBaseTransform * bt, GstCaps * incaps, in gst_gl_filter_set_caps() argument
743 if (!gst_video_info_from_caps (&filter->in_info, incaps)) in gst_gl_filter_set_caps()
749 GstStructure *in_s = gst_caps_get_structure (incaps, 0); in gst_gl_filter_set_caps()
773 if (!filter_class->set_caps (filter, incaps, outcaps)) in gst_gl_filter_set_caps()
784 GST_VIDEO_INFO_HEIGHT (&filter->out_info), incaps, outcaps); in gst_gl_filter_set_caps()
786 return GST_BASE_TRANSFORM_CLASS (parent_class)->set_caps (bt, incaps, in gst_gl_filter_set_caps()
/third_party/gstreamer/gstplugins_bad/tools/element-templates/
Dvideofilter17 static gboolean gst_replace_set_info (GstVideoFilter * filter, GstCaps * incaps,
54 gst_replace_set_info (GstVideoFilter * filter, GstCaps * incaps,
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideofilter.c209 gst_video_filter_set_caps (GstBaseTransform * trans, GstCaps * incaps, in gst_video_filter_set_caps() argument
218 if (!gst_video_info_from_caps (&in_info, incaps)) 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/gstplugins_bad/sys/nvcodec/
Dgstcudaconvert.c60 gst_cuda_convert_set_info (GstCudaBaseTransform * btrans, GstCaps * incaps,
392 gst_cuda_convert_set_info (GstCudaBaseTransform * btrans, GstCaps * incaps, in gst_cuda_convert_set_info() argument
408 return GST_CUDA_BASE_TRANSFORM_CLASS (parent_class)->set_info (btrans, incaps, in gst_cuda_convert_set_info()
/third_party/gstreamer/gstplugins_bad/ext/spandsp/
Dgstdtmfdetect.c89 GstCaps * incaps, GstCaps * outcaps);
157 gst_dtmf_detect_set_caps (GstBaseTransform * trans, GstCaps * incaps, in gst_dtmf_detect_set_caps() argument
/third_party/gstreamer/gstplugins_bad/gst/coloreffects/
Dgstchromahold.c96 GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps,
246 gst_chroma_hold_set_info (GstVideoFilter * vfilter, GstCaps * incaps, in gst_chroma_hold_set_info() argument
254 "Setting caps %" GST_PTR_FORMAT " -> %" GST_PTR_FORMAT, incaps, outcaps); in gst_chroma_hold_set_info()

12345