Home
last modified time | relevance | path

Searched refs:in_info (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dvideoflip.c53 GstVideoInfo in_info, out_info; in GST_START_TEST() local
58 gst_video_info_set_format (&in_info, GST_VIDEO_FORMAT_RGBA, 4, 9); in GST_START_TEST()
59 in_caps = gst_video_info_to_caps (&in_info); in GST_START_TEST()
70 fail_unless_equals_int (GST_VIDEO_INFO_WIDTH (&in_info), in GST_START_TEST()
72 fail_unless_equals_int (GST_VIDEO_INFO_HEIGHT (&in_info), in GST_START_TEST()
80 buf = create_test_video_buffer_rgba8 (&in_info); in GST_START_TEST()
93 GstVideoInfo in_info, out_info; in GST_START_TEST() local
98 gst_video_info_set_format (&in_info, GST_VIDEO_FORMAT_RGBA, 4, 9); in GST_START_TEST()
99 in_caps = gst_video_info_to_caps (&in_info); in GST_START_TEST()
110 fail_unless_equals_int (GST_VIDEO_INFO_WIDTH (&in_info), in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstcudaconvert.c61 GstVideoInfo * in_info, GstCaps * outcaps, GstVideoInfo * out_info);
146 score_value (GstBaseTransform * base, const GstVideoFormatInfo * in_info, in score_value() argument
160 if (in_info == t_info) { in score_value()
168 in_flags = GST_VIDEO_FORMAT_INFO_FLAGS (in_info); in score_value()
196 if ((in_info->h_sub[1]) != (t_info->h_sub[1])) { in score_value()
198 if ((in_info->h_sub[1]) < (t_info->h_sub[1])) in score_value()
201 if ((in_info->w_sub[1]) != (t_info->w_sub[1])) { in score_value()
203 if ((in_info->w_sub[1]) < (t_info->w_sub[1])) in score_value()
207 if ((in_info->bits) != (t_info->bits)) { in score_value()
209 if ((in_info->bits) > (t_info->bits)) in score_value()
[all …]
Dcuda-converter.c734 GstVideoInfo in_info; member
749 GstVideoInfo * in_info, GstCudaMemory * dst, GstVideoInfo * out_info,
783 gst_cuda_converter_new (GstVideoInfo * in_info, GstVideoInfo * out_info, in gst_cuda_converter_new() argument
789 g_return_val_if_fail (in_info != NULL, NULL); in gst_cuda_converter_new()
793 g_return_val_if_fail (in_info->fps_n == out_info->fps_n, NULL); in gst_cuda_converter_new()
794 g_return_val_if_fail (in_info->fps_d == out_info->fps_d, NULL); in gst_cuda_converter_new()
796 g_return_val_if_fail (in_info->interlace_mode == out_info->interlace_mode, in gst_cuda_converter_new()
801 convert->in_info = *in_info; in gst_cuda_converter_new()
910 GstVideoInfo * in_info, GstCudaMemory * dst, GstVideoInfo * out_info, in gst_cuda_converter_frame() argument
917 g_return_val_if_fail (in_info, FALSE); in gst_cuda_converter_frame()
[all …]
Dgstcudabasefilter.c65 GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps,
124 GstVideoInfo * in_info, GstVideoInfo * out_info) in gst_cuda_base_filter_configure() argument
152 GstVideoInfo * in_info, GstCaps * outcaps, GstVideoInfo * out_info) in gst_cuda_base_filter_set_info() argument
156 if (!gst_cuda_base_filter_configure (filter, in_info, out_info)) { in gst_cuda_base_filter_set_info()
164 gst_cuda_converter_new (in_info, out_info, btrans->context); in gst_cuda_base_filter_set_info()
170 GST_VIDEO_INFO_FORMAT (in_info), GST_VIDEO_INFO_FORMAT (out_info)); in gst_cuda_base_filter_set_info()
199 params.info = btrans->in_info; in gst_cuda_base_filter_transform_frame()
275 gst_cuda_converter_frame (filter->converter, in_mem, &btrans->in_info, in gst_cuda_base_filter_transform_frame()
Dcuda-converter.h35 GstCudaConverter * gst_cuda_converter_new (GstVideoInfo * in_info,
43 GstVideoInfo * in_info,
50 GstVideoInfo * in_info,
/third_party/gstreamer/gstplugins_base/gst/videoconvert/
Dgstvideoconvert.c111 GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps,
204 score_value (GstBaseTransform * base, const GstVideoFormatInfo * in_info, in score_value() argument
218 if (in_info == t_info) { in score_value()
226 in_flags = GST_VIDEO_FORMAT_INFO_FLAGS (in_info); in score_value()
254 if ((in_info->h_sub[1]) != (t_info->h_sub[1])) { in score_value()
256 if ((in_info->h_sub[1]) < (t_info->h_sub[1])) in score_value()
259 if ((in_info->w_sub[1]) != (t_info->w_sub[1])) { in score_value()
261 if ((in_info->w_sub[1]) < (t_info->w_sub[1])) in score_value()
265 if ((in_info->bits) != (t_info->bits)) { in score_value()
267 if ((in_info->bits) > (t_info->bits)) in score_value()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11converter.cpp423 GstVideoInfo in_info; member
652 GstVideoInfo * in_info, GstVideoInfo * out_info) in converter_get_matrix() argument
657 in_bits = GST_VIDEO_INFO_COMP_DEPTH (in_info, 0); in converter_get_matrix()
660 same_matrix = in_info->colorimetry.matrix == out_info->colorimetry.matrix; in converter_get_matrix()
662 GST_DEBUG ("matrix %d -> %d (%d)", in_info->colorimetry.matrix, in converter_get_matrix()
679 compute_matrix_to_RGB (self, matrix, in_info); in converter_get_matrix()
702 const GstVideoInfo * in_info, const GstVideoInfo * out_info) in setup_convert_info_rgb_to_rgb() argument
812 const GstVideoInfo * in_info, const GstVideoInfo * out_info) in setup_convert_info_yuv_to_rgb() argument
819 switch (GST_VIDEO_INFO_FORMAT (in_info)) { in setup_convert_info_yuv_to_rgb()
830 if (!get_packed_yuv_components (self, GST_VIDEO_INFO_FORMAT (in_info), in setup_convert_info_yuv_to_rgb()
[all …]
Dgstd3d11convert.cpp115 GstCaps * incaps, GstVideoInfo * in_info, GstCaps * outcaps,
394 score_value (GstBaseTransform * base, const GstVideoFormatInfo * in_info, in score_value() argument
408 if (in_info == t_info) { in score_value()
416 in_flags = GST_VIDEO_FORMAT_INFO_FLAGS (in_info); in score_value()
444 if ((in_info->h_sub[1]) != (t_info->h_sub[1])) { in score_value()
446 if ((in_info->h_sub[1]) < (t_info->h_sub[1])) in score_value()
449 if ((in_info->w_sub[1]) != (t_info->w_sub[1])) { in score_value()
451 if ((in_info->w_sub[1]) < (t_info->w_sub[1])) in score_value()
455 if ((in_info->bits) != (t_info->bits)) { in score_value()
457 if ((in_info->bits) > (t_info->bits)) in score_value()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dgstline21dec.c106 GstCaps * incaps, GstVideoInfo * in_info,
266 GstCaps * incaps, GstVideoInfo * in_info, in gst_line_21_decoder_set_info() argument
271 vbi_pixfmt_from_gst_video_format (GST_VIDEO_INFO_FORMAT (in_info), in gst_line_21_decoder_set_info()
276 GST_VIDEO_INFO_PLANE_STRIDE (in_info, 0), in gst_line_21_decoder_set_info()
277 GST_VIDEO_INFO_COMP_STRIDE (in_info, 0), in gst_line_21_decoder_set_info()
278 GST_VIDEO_INFO_COMP_PSTRIDE (in_info, 0)); in gst_line_21_decoder_set_info()
280 GST_VIDEO_INFO_N_PLANES (in_info), GST_VIDEO_INFO_N_COMPONENTS (in_info)); in gst_line_21_decoder_set_info()
293 if (!GST_VIDEO_INFO_IS_INTERLACED (in_info)) { in gst_line_21_decoder_set_info()
299 if (GST_VIDEO_INFO_WIDTH (in_info) != 720) { in gst_line_21_decoder_set_info()
306 GST_VIDEO_INFO_HEIGHT (in_info) != 525 && in gst_line_21_decoder_set_info()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/
Dgsteglimage.c574 gint dmabuf, const GstVideoInfo * in_info, gint plane, gsize offset) in gst_egl_image_from_dmabuf() argument
584 gst_video_format_info_component (in_info->finfo, plane, comp); in gst_egl_image_from_dmabuf()
585 fourcc = _drm_rgba_fourcc_from_info (in_info, plane, &format); in gst_egl_image_from_dmabuf()
588 GST_VIDEO_INFO_COMP_WIDTH (in_info, comp[0]), in gst_egl_image_from_dmabuf()
589 GST_VIDEO_INFO_COMP_HEIGHT (in_info, comp[0])); in gst_egl_image_from_dmabuf()
592 attribs[atti++] = GST_VIDEO_INFO_COMP_WIDTH (in_info, comp[0]); in gst_egl_image_from_dmabuf()
594 attribs[atti++] = GST_VIDEO_INFO_COMP_HEIGHT (in_info, comp[0]); in gst_egl_image_from_dmabuf()
602 attribs[atti++] = GST_VIDEO_INFO_PLANE_STRIDE (in_info, plane); in gst_egl_image_from_dmabuf()
734 const GstVideoInfo * in_info, GstGLTextureTarget target) in gst_egl_image_check_dmabuf_direct() argument
753 fourcc = _drm_direct_fourcc_from_info (in_info); in gst_egl_image_check_dmabuf_direct()
[all …]
Dgsteglimage.h88 const GstVideoInfo * in_info,
95 const GstVideoInfo * in_info);
100 const GstVideoInfo * in_info,
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvavpp.c399 GstVideoInfo * in_info, GstCaps * outcaps, GstVideoInfo * out_info) in gst_va_vpp_set_info() argument
405 if (GST_VIDEO_INFO_INTERLACE_MODE (in_info) != in gst_va_vpp_set_info()
413 if (!gst_util_fraction_multiply (GST_VIDEO_INFO_WIDTH (in_info), in gst_va_vpp_set_info()
414 GST_VIDEO_INFO_HEIGHT (in_info), GST_VIDEO_INFO_PAR_N (in_info), in gst_va_vpp_set_info()
415 GST_VIDEO_INFO_PAR_D (in_info), &from_dar_n, &from_dar_d)) { in gst_va_vpp_set_info()
464 if (!gst_video_info_is_equal (in_info, out_info)) { in gst_va_vpp_set_info()
465 if (GST_VIDEO_INFO_FORMAT (in_info) != GST_VIDEO_INFO_FORMAT (out_info)) in gst_va_vpp_set_info()
470 if (GST_VIDEO_INFO_WIDTH (in_info) != GST_VIDEO_INFO_WIDTH (out_info) in gst_va_vpp_set_info()
471 || GST_VIDEO_INFO_HEIGHT (in_info) != GST_VIDEO_INFO_HEIGHT (out_info) in gst_va_vpp_set_info()
487 if (gst_va_filter_set_video_info (btrans->filter, in_info, out_info)) { in gst_va_vpp_set_info()
[all …]
Dgstvabasetransform.c134 GstVideoInfo in_info, out_info; in gst_va_base_transform_set_caps() local
138 if (!gst_video_info_from_caps (&in_info, incaps)) 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()
157 self->in_info = in_info; in gst_va_base_transform_set_caps()
639 GstVideoInfo in_info = btrans->in_info; in _try_import_dmabuf_unlocked() local
645 n_planes = GST_VIDEO_INFO_N_PLANES (&in_info); in _try_import_dmabuf_unlocked()
659 GST_VIDEO_INFO_WIDTH (&in_info) = meta->width; in _try_import_dmabuf_unlocked()
660 GST_VIDEO_INFO_HEIGHT (&in_info) = meta->height; in _try_import_dmabuf_unlocked()
663 GST_VIDEO_INFO_PLANE_OFFSET (&in_info, i) = meta->offset[i]; in _try_import_dmabuf_unlocked()
664 GST_VIDEO_INFO_PLANE_STRIDE (&in_info, i) = meta->stride[i]; in _try_import_dmabuf_unlocked()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglcolorconvert.c618 gst_video_info_set_format (&convert->in_info, GST_VIDEO_FORMAT_ENCODED, 0, 0); in gst_gl_color_convert_new()
756 GstVideoInfo in_info, out_info; in _gst_gl_color_convert_set_caps_unlocked() local
768 if (!gst_video_info_from_caps (&in_info, in_caps)) in _gst_gl_color_convert_set_caps_unlocked()
774 g_return_val_if_fail (GST_VIDEO_INFO_FORMAT (&in_info) != in _gst_gl_color_convert_set_caps_unlocked()
776 g_return_val_if_fail (GST_VIDEO_INFO_FORMAT (&in_info) != in _gst_gl_color_convert_set_caps_unlocked()
817 if (gst_video_info_is_equal (&convert->in_info, &in_info) && in _gst_gl_color_convert_set_caps_unlocked()
825 _gst_gl_color_convert_can_passthrough_info (&in_info, &out_info) && in _gst_gl_color_convert_set_caps_unlocked()
835 in_flags = GST_VIDEO_FORMAT_INFO_FLAGS (in_info.finfo); in _gst_gl_color_convert_set_caps_unlocked()
846 convert->in_info = in_info; in _gst_gl_color_convert_set_caps_unlocked()
1254 score_format_target (const GstVideoFormatInfo * in_info, guint targets_mask, in score_format_target() argument
[all …]
Dgstglupload.c94 GstVideoInfo in_info; member
299 GstVideoInfo *in_info = &upload->upload->priv->in_info; in _gl_memory_upload_accept() local
300 guint expected_memories = GST_VIDEO_INFO_N_PLANES (in_info); in _gl_memory_upload_accept()
303 if (GST_VIDEO_INFO_MULTIVIEW_MODE (in_info) == in _gl_memory_upload_accept()
305 expected_memories *= GST_VIDEO_INFO_VIEWS (in_info); in _gl_memory_upload_accept()
620 GstVideoInfo *in_info = &dmabuf->upload->priv->in_info; in _dma_buf_upload_accept() local
622 guint n_planes = GST_VIDEO_INFO_N_PLANES (in_info); in _dma_buf_upload_accept()
670 in_info->width = meta->width; in _dma_buf_upload_accept()
671 in_info->height = meta->height; in _dma_buf_upload_accept()
674 in_info->offset[i] = meta->offset[i]; in _dma_buf_upload_accept()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dgstglcolorconvert.c137 GstVideoInfo in_info; in check_conversion() local
144 gst_video_info_set_format (&in_info, in_v_format, in_width, in_height); in check_conversion()
145 in_caps = gst_video_info_to_caps (&in_info); in check_conversion()
151 for (j = 0; j < GST_VIDEO_INFO_N_PLANES (&in_info); j++) { in check_conversion()
153 &in_info, j); in check_conversion()
159 &in_info, j, NULL, GST_GL_TEXTURE_TARGET_2D, tex_format, in check_conversion()
169 fail_unless (gst_video_frame_map (&in_frame, &in_info, inbuf, in check_conversion()
173 for (j = 0; j < GST_VIDEO_INFO_N_PLANES (&in_info); j++) { in check_conversion()
174 for (k = 0; k < _video_info_plane_size (&in_info, j); k++) { in check_conversion()
/third_party/gstreamer/gstplugins_base/gst/audioconvert/
Dgstaudioconvert.c448 const GstAudioFormatInfo *in_info, *out_info = NULL; in gst_audio_convert_fixate_format() local
466 in_info = in gst_audio_convert_fixate_format()
468 if (!in_info) in gst_audio_convert_fixate_format()
471 in_flags = GST_AUDIO_FORMAT_INFO_FLAGS (in_info); in gst_audio_convert_fixate_format()
475 in_depth = GST_AUDIO_FORMAT_INFO_DEPTH (in_info); in gst_audio_convert_fixate_format()
749 GstAudioInfo in_info; in gst_audio_convert_set_caps() local
762 if (!gst_audio_info_from_caps (&in_info, incaps)) in gst_audio_convert_set_caps()
777 this->convert = gst_audio_converter_new (0, &in_info, &out_info, config); in gst_audio_convert_set_caps()
788 this->in_info = in_info; in gst_audio_convert_set_caps()
831 if (!gst_audio_buffer_map (&srcabuf, &this->in_info, inbuf, in gst_audio_convert_transform()
[all …]
/third_party/gstreamer/gstplugins_base/gst/videoscale/
Dgstvideoscale.c201 GstCaps * in, GstVideoInfo * in_info, GstCaps * out,
552 { &videofilter->in_info, &videofilter->out_info }; in gst_video_scale_transform_meta()
565 GstVideoInfo * in_info, GstCaps * out, GstVideoInfo * out_info) in gst_video_scale_set_info() argument
570 if (!gst_util_fraction_multiply (in_info->width, in gst_video_scale_set_info()
571 in_info->height, in_info->par_n, in_info->par_d, &from_dar_n, in gst_video_scale_set_info()
608 if (in_info->width == out_info->width && in_info->height == out_info->height in gst_video_scale_set_info()
714 videoscale->convert = gst_video_converter_new (in_info, out_info, options); in gst_video_scale_set_info()
720 in_info->width, in_info->height, in_info->par_n, in_info->par_d, in gst_video_scale_set_info()
721 from_dar_n, from_dar_d, in_info->size, out_info->width, in gst_video_scale_set_info()
1204 if (filter->in_info.width != filter->out_info.width || in gst_video_scale_src_event()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideofilter.c214 GstVideoInfo in_info, out_info; in gst_video_filter_set_caps() local
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()
232 filter->in_info = in_info; in gst_video_filter_set_caps()
267 if (!gst_video_frame_map (&in_frame, &filter->in_info, inbuf, in gst_video_filter_transform()
322 if (!gst_video_frame_map (&frame, &filter->in_info, buf, flags)) in gst_video_filter_transform_ip()
/third_party/gstreamer/gstplugins_good/gst/videocrop/
Dgstvideocrop.c112 GstVideoInfo * in_info, GstCaps * out, GstVideoInfo * out_info);
436 if (!gst_video_crop_set_info (vfilter, NULL, &vcrop->in_info, NULL, in gst_video_crop_transform_frame()
544 if (!gst_video_crop_set_info (vfilter, NULL, &vcrop->in_info, NULL, in gst_video_crop_transform_ip()
556 GST_VIDEO_INFO_FORMAT (&vcrop->in_info), vcrop->in_info.width, in gst_video_crop_transform_ip()
557 vcrop->in_info.height); in gst_video_crop_transform_ip()
752 GstVideoInfo * in_info, GstCaps * out, GstVideoInfo * out_info) in gst_video_crop_set_info() argument
766 dx = GST_VIDEO_INFO_WIDTH (in_info) - GST_VIDEO_INFO_WIDTH (out_info); in gst_video_crop_set_info()
767 dy = GST_VIDEO_INFO_HEIGHT (in_info) - GST_VIDEO_INFO_HEIGHT (out_info); in gst_video_crop_set_info()
796 GST_VIDEO_INFO_WIDTH (in_info) in gst_video_crop_set_info()
798 GST_VIDEO_INFO_HEIGHT (in_info))) in gst_video_crop_set_info()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dvkcolorconvert.c71 GstVideoInfo in_info, out_info; in GST_START_TEST() local
75 fail_unless (gst_video_info_set_format (&in_info, in GST_START_TEST()
82 in_caps = gst_video_info_to_caps (&in_info); in GST_START_TEST()
88 gst_video_format_to_string (GST_VIDEO_INFO_FORMAT (&in_info)), in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkcolorconvert.c268 GstVideoInfo in_info; member
279 GstVideoInfo *info = &conv->in_info; in convert_to_RGB()
433 conv->in_info.colorimetry.matrix == conv->out_info.colorimetry.matrix;
435 conv->in_info.colorimetry.primaries ==
438 GST_DEBUG ("matrix %d -> %d (%d)", conv->in_info.colorimetry.matrix,
440 GST_DEBUG ("primaries %d -> %d (%d)", conv->in_info.colorimetry.primaries,
448 pi = gst_video_color_primaries_get_info (conv->in_info.colorimetry.
472 convert_info_new (GstVideoInfo * in_info, GstVideoInfo * out_info) in convert_info_new() argument
480 memcpy (&conv->in_info, in_info, sizeof (*in_info)); in convert_info_new()
666 calculate_reorder_indexes (GST_VIDEO_INFO_FORMAT (&conv->quad->in_info), in swizzle_rgb_create_uniform_memory()
[all …]
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstshagadelic.c58 GstVideoInfo * in_info);
82 GstVideoInfo * in_info, GstCaps * outcaps, GstVideoInfo * out_info) in gst_shagadelictv_set_info() argument
87 width = GST_VIDEO_INFO_WIDTH (in_info); in gst_shagadelictv_set_info()
88 height = GST_VIDEO_INFO_HEIGHT (in_info); in gst_shagadelictv_set_info()
97 gst_shagadelic_initialize (filter, in_info); in gst_shagadelictv_set_info()
Dgstdice.c96 GstVideoInfo * in_info, GstCaps * outcaps, GstVideoInfo * out_info) in gst_dicetv_set_info() argument
102 (guint8 *) g_malloc (GST_VIDEO_INFO_WIDTH (in_info) * in gst_dicetv_set_info()
103 GST_VIDEO_INFO_WIDTH (in_info)); in gst_dicetv_set_info()
104 gst_dicetv_create_map (filter, in_info); in gst_dicetv_set_info()
241 gst_dicetv_create_map (filter, &GST_VIDEO_FILTER (filter)->in_info); in gst_dicetv_set_property()
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/
Dgstdvbsubenc.c338 find_largest_subregion (pixels, stride, pixel_stride, enc->in_info.width, in process_largest_subregion()
339 enc->in_info.height, &left, &right, &top, &bottom); in process_largest_subregion()
485 if (!gst_video_frame_map (&vframe, &enc->in_info, buf, GST_MAP_READ)) { in gst_dvb_sub_enc_chain()
507 if (!gst_video_info_from_caps (&enc->in_info, caps)) { in gst_dvb_sub_enc_sink_setcaps()
513 "width", G_TYPE_INT, enc->in_info.width, in gst_dvb_sub_enc_sink_setcaps()
514 "height", G_TYPE_INT, enc->in_info.height, in gst_dvb_sub_enc_sink_setcaps()
515 "framerate", GST_TYPE_FRACTION, enc->in_info.fps_n, enc->in_info.fps_d, in gst_dvb_sub_enc_sink_setcaps()

12345