Home
last modified time | relevance | path

Searched refs:video_info (Results 1 – 24 of 24) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dgstwaylandsink.c541 gsize size = sink->video_info.size; in gst_wayland_create_pool()
572 if (!gst_video_info_from_caps (&sink->video_info, caps)) in gst_wayland_sink_set_caps()
575 format = GST_VIDEO_INFO_FORMAT (&sink->video_info); in gst_wayland_sink_set_caps()
626 gst_query_add_allocation_pool (query, pool, sink->video_info.size, 2, 0); in gst_wayland_sink_propose_allocation()
677 info = &sink->video_info; in render_last_buffer()
721 &sink->video_info, sink->fullscreen, &sink->render_lock); in gst_wayland_sink_show_frame()
749 old_vinfo = sink->video_info; in gst_wayland_sink_show_frame()
755 sink->video_info.offset[i] = vmeta->offset[i]; in gst_wayland_sink_show_frame()
756 sink->video_info.stride[i] = vmeta->stride[i]; in gst_wayland_sink_show_frame()
758 sink->video_info.size = gst_buffer_get_size (buffer); in gst_wayland_sink_show_frame()
[all …]
Dgstwaylandsink.h62 GstVideoInfo video_info; member
/third_party/gstreamer/gstplugins_base/tools/
Dgst-discoverer.c286 GstDiscovererVideoInfo *video_info; in gst_stream_video_information_to_string() local
297 video_info = (GstDiscovererVideoInfo *) info; in gst_stream_video_information_to_string()
299 gst_discoverer_video_info_get_width (video_info)); in gst_stream_video_information_to_string()
301 gst_discoverer_video_info_get_height (video_info)); in gst_stream_video_information_to_string()
303 gst_discoverer_video_info_get_depth (video_info)); in gst_stream_video_information_to_string()
306 gst_discoverer_video_info_get_framerate_num (video_info), in gst_stream_video_information_to_string()
307 gst_discoverer_video_info_get_framerate_denom (video_info)); in gst_stream_video_information_to_string()
310 gst_discoverer_video_info_get_par_num (video_info), in gst_stream_video_information_to_string()
311 gst_discoverer_video_info_get_par_denom (video_info)); in gst_stream_video_information_to_string()
314 gst_discoverer_video_info_is_interlaced (video_info) ? "true" : "false"); in gst_stream_video_information_to_string()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvtdec.c386 format, vtdec->video_info.width, vtdec->video_info.height, in gst_vtdec_negotiate()
559 gst_video_info_from_caps (&vtdec->video_info, state->caps); in gst_vtdec_set_format()
724 vtdec->video_info.width); in gst_vtdec_create_session()
726 vtdec->video_info.height); in gst_vtdec_create_session()
750 cm_format, vtdec->video_info.width, vtdec->video_info.height, in create_format_description()
781 vtdec->video_info.par_n); in create_format_description_from_codec_data()
783 vtdec->video_info.par_d); in create_format_description_from_codec_data()
797 cm_format, vtdec->video_info.width, vtdec->video_info.height, in create_format_description_from_codec_data()
1166 int width_in_mb_s = GST_ROUND_UP_16 (vtdec->video_info.width) / dpb_mb_size; in compute_h264_decode_picture_buffer_length()
1167 int height_in_mb_s = GST_ROUND_UP_16 (vtdec->video_info.height) / dpb_mb_size; in compute_h264_decode_picture_buffer_length()
[all …]
Dvtenc.c864 self->video_info = state->info; in gst_vtenc_set_format()
1037 GstVideoColorimetry cm = GST_VIDEO_INFO_COLORIMETRY (&self->video_info); in gst_vtenc_set_colorimetry()
1228 switch (GST_VIDEO_INFO_INTERLACE_MODE (&self->video_info)) { in gst_vtenc_create_session()
1236 switch (GST_VIDEO_INFO_FIELD_ORDER (&self->video_info)) { in gst_vtenc_create_session()
1457 if (self->video_info.fps_d == 0) { in gst_vtenc_update_latency()
1472 if (self->video_info.fps_d == 0 || self->video_info.fps_n == 0) { in gst_vtenc_update_latency()
1479 self->video_info.fps_d, self->video_info.fps_n); in gst_vtenc_update_latency()
1484 frames, self->video_info.fps_n, self->video_info.fps_d, in gst_vtenc_update_latency()
1557 switch (GST_VIDEO_INFO_FORMAT (&self->video_info)) { in gst_vtenc_encode_frame()
1568 if (!gst_video_frame_map (&inframe, &self->video_info, frame->input_buffer, in gst_vtenc_encode_frame()
[all …]
Dvtdec.h49 GstVideoInfo video_info; member
Dvtenc.h81 GstVideoInfo video_info; member
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkbufferpool.c107 GstVideoInfo video_info; in gst_msdk_buffer_pool_set_config() local
117 if (!gst_video_info_from_caps (&video_info, caps)) in gst_msdk_buffer_pool_set_config()
141 gst_msdk_set_video_alignment (&video_info, 0, 0, &priv->alignment); in gst_msdk_buffer_pool_set_config()
142 gst_video_info_align (&video_info, &priv->alignment); in gst_msdk_buffer_pool_set_config()
161 gst_msdk_dmabuf_allocator_new (priv->context, &video_info, in gst_msdk_buffer_pool_set_config()
165 gst_msdk_video_allocator_new (priv->context, &video_info, in gst_msdk_buffer_pool_set_config()
168 allocator = gst_msdk_system_allocator_new (&video_info); in gst_msdk_buffer_pool_set_config()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dgstccextractor.c171 memset (&filter->video_info, 0, sizeof (filter->video_info)); in gst_cc_extractor_reset()
236 if (!gst_video_info_from_caps (&filter->video_info, caps)) { in gst_cc_extractor_sink_event()
295 const GstVideoInfo * video_info) in create_caps_from_caption_type() argument
300 video_info->fps_n, video_info->fps_d, NULL); in create_caps_from_caption_type()
314 &filter->video_info); in forward_sticky_events()
376 create_caps_from_caption_type (meta->caption_type, &filter->video_info); in gst_cc_extractor_handle_meta()
Dgstccextractor.h50 GstVideoInfo video_info; member
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/
Dgstdshow.cpp92 VIDEOINFOHEADER *video_info = NULL; in gst_dshow_new_pin_mediatype_from_enum_mediatypes() local
100 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
102 pin_mediatype->defaultWidth = video_info->bmiHeader.biWidth; in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
103 pin_mediatype->defaultHeight = video_info->bmiHeader.biHeight; in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
104 pin_mediatype->defaultFPS = (gint) (10000000 / video_info->AvgTimePerFrame); in gst_dshow_new_pin_mediatype_from_enum_mediatypes()
115 VIDEOINFOHEADER *video_info = NULL; in gst_dshow_new_pin_mediatype_from_streamcaps() local
124 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshow_new_pin_mediatype_from_streamcaps()
126 pin_mediatype->defaultWidth = video_info->bmiHeader.biWidth; in gst_dshow_new_pin_mediatype_from_streamcaps()
127 pin_mediatype->defaultHeight = video_info->bmiHeader.biHeight; in gst_dshow_new_pin_mediatype_from_streamcaps()
128 pin_mediatype->defaultFPS = (gint) (10000000 / video_info->AvgTimePerFrame); in gst_dshow_new_pin_mediatype_from_streamcaps()
Dgstdshowvideosrc.cpp679 VIDEOINFOHEADER *video_info = NULL; in gst_dshowvideosrc_set_caps() local
701 video_info = (VIDEOINFOHEADER *) pin_mediatype->mediatype->pbFormat; in gst_dshowvideosrc_set_caps()
702 video_info->bmiHeader.biWidth = width; in gst_dshowvideosrc_set_caps()
703 video_info->bmiHeader.biHeight = height; in gst_dshowvideosrc_set_caps()
704 video_info->AvgTimePerFrame = in gst_dshowvideosrc_set_caps()
706 video_info->bmiHeader.biSizeImage = DIBSIZE (video_info->bmiHeader); in gst_dshowvideosrc_set_caps()
707 pin_mediatype->mediatype->lSampleSize = DIBSIZE (video_info->bmiHeader); in gst_dshowvideosrc_set_caps()
/third_party/gstreamer/gstplugins_bad/gst/inter/
Dgstintervideosink.c203 memset (&intervideosink->surface->video_info, 0, sizeof (GstVideoInfo)); in gst_inter_video_sink_start()
219 memset (&intervideosink->surface->video_info, 0, sizeof (GstVideoInfo)); in gst_inter_video_sink_stop()
240 intervideosink->surface->video_info = info; in gst_inter_video_sink_set_caps()
Dgstintervideosrc.c209 if (intervideosrc->surface->video_info.finfo) { in gst_inter_video_src_get_caps()
210 caps = gst_video_info_to_caps (&intervideosrc->surface->video_info); in gst_inter_video_src_get_caps()
344 if (intervideosrc->surface->video_info.finfo) { in gst_inter_video_src_create()
345 GstVideoInfo tmp_info = intervideosrc->surface->video_info; in gst_inter_video_src_create()
Dgstintersurface.h39 GstVideoInfo video_info; member
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11screencapturesrc.cpp79 GstVideoInfo video_info; member
375 gst_video_info_from_caps (&self->video_info, caps); in gst_d3d11_screen_capture_src_set_caps()
376 gst_base_src_set_blocksize (bsrc, GST_VIDEO_INFO_SIZE (&self->video_info)); in gst_d3d11_screen_capture_src_set_caps()
818 fps_n = GST_VIDEO_INFO_FPS_N (&self->video_info); in gst_d3d11_screen_capture_src_create()
819 fps_d = GST_VIDEO_INFO_FPS_D (&self->video_info); in gst_d3d11_screen_capture_src_create()
983 if (!gst_video_frame_map (&src_frame, &self->video_info, buffer, in gst_d3d11_screen_capture_src_create()
989 if (!gst_video_frame_map (&dst_frame, &self->video_info, sysmem_buf, in gst_d3d11_screen_capture_src_create()
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Dgstdxgiscreencapsrc.c78 GstVideoInfo video_info; member
339 gst_video_info_from_caps (&src->video_info, caps); in gst_dxgi_screen_cap_src_set_caps()
340 gst_base_src_set_blocksize (bsrc, GST_VIDEO_INFO_SIZE (&src->video_info)); in gst_dxgi_screen_cap_src_set_caps()
561 &src->src_rect, &src->video_info, buffer)) { in gst_dxgi_screen_cap_src_create()
Ddxgicapture.h76 LPRECT src_rect, GstVideoInfo * video_info, GstBuffer * buf);
Ddxgicapture.c561 GstVideoInfo * video_info, GstBuffer * buf) in dxgicap_copy_buffer() argument
583 if (gst_video_frame_map (&vframe, video_info, buf, GST_MAP_WRITE)) { in dxgicap_copy_buffer()
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawvideoparse.c927 GstVideoInfo *video_info = &(config_ptr->info); in gst_raw_video_parse_process() local
937 GST_VIDEO_INFO_SIZE (video_info), &alloc_params); in gst_raw_video_parse_process()
939 GST_VIDEO_INFO_SIZE (video_info)); in gst_raw_video_parse_process()
945 GST_VIDEO_INFO_SIZE (video_info)); in gst_raw_video_parse_process()
963 GST_VIDEO_INFO_N_PLANES (video_info), in gst_raw_video_parse_process()
/third_party/gstreamer/gstplugins_bad/sys/dshowdecwrapper/
Dgstdshowvideodec.cpp610 GstVideoInfo video_info; in gst_dshowvideodec_sink_setcaps() local
996 VIDEOINFOHEADER *video_info; in gst_dshowvideodec_src_getcaps() local
1003 video_info = (VIDEOINFOHEADER *) mediatype->pbFormat; in gst_dshowvideodec_src_getcaps()
1009 "width", G_TYPE_INT, video_info->bmiHeader.biWidth, in gst_dshowvideodec_src_getcaps()
1010 "height", G_TYPE_INT, video_info->bmiHeader.biHeight, in gst_dshowvideodec_src_getcaps()
1012 (int) (10000000 / video_info->AvgTimePerFrame), 1, "endianness", in gst_dshowvideodec_src_getcaps()
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dplay.c603 GstPlayVideoInfo *video_info = (GstPlayVideoInfo *) stream; in test_video_info() local
611 fail_unless_equals_int (gst_play_video_info_get_width (video_info), 320); in test_video_info()
612 fail_unless_equals_int (gst_play_video_info_get_height (video_info), 240); in test_video_info()
613 gst_play_video_info_get_framerate (video_info, &fps_n, &fps_d); in test_video_info()
616 gst_play_video_info_get_pixel_aspect_ratio (video_info, &par_n, &par_d); in test_video_info()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/play/
Dgstplay.c730 GstPlayVideoInfo *video_info = gst_play_get_current_video_track (self); in gst_play_get_property() local
731 g_value_take_object (value, video_info); in gst_play_get_property()
/third_party/gstreamer/gstplugins_bad/
DChangeLog54428 The sink->video_info might not reflect the current buffer