| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_sink.c | 36 static void dc_sink_destruct(struct dc_sink *sink) in dc_sink_destruct() argument 38 if (sink->dc_container_id) { in dc_sink_destruct() 39 kfree(sink->dc_container_id); in dc_sink_destruct() 40 sink->dc_container_id = NULL; in dc_sink_destruct() 44 static bool dc_sink_construct(struct dc_sink *sink, const struct dc_sink_init_data *init_params) in dc_sink_construct() argument 52 sink->sink_signal = init_params->sink_signal; in dc_sink_construct() 53 sink->link = link; in dc_sink_construct() 54 sink->ctx = link->ctx; in dc_sink_construct() 55 sink->dongle_max_pix_clk = init_params->dongle_max_pix_clk; in dc_sink_construct() 56 sink->converter_disable_audio = init_params->converter_disable_audio; in dc_sink_construct() [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/ |
| H A D | 0007-waylandsink-Enable-changing-window-handle.patch | 19 @@ -675,9 +675,10 @@ render_last_buffer (GstWaylandSink * sink, gboolean redraw) 20 sink->callback = callback; 21 wl_callback_add_listener (callback, &frame_callback_listener, sink); 23 - if (G_UNLIKELY (sink->video_info_changed && !redraw)) { 24 + if (G_UNLIKELY ((sink->video_info_changed && !redraw) || sink->resend_info)) { 25 info = &sink->video_info; 26 sink->video_info_changed = FALSE; 27 + sink->resend_info = FALSE; 29 gst_wl_window_render (sink->window, wlbuffer, info); 33 g_return_if_fail (sink != NULL); [all …]
|
| H A D | 0019-waylandsink-Support-window-alpha-property.patch | 41 @@ -251,6 +257,7 @@ gst_wayland_sink_init (GstWaylandSink * sink) 43 sink->window_handle = 1; 44 sink->layer = GST_WL_WINDOW_LAYER_NORMAL; 45 + sink->alpha = 1.0; 49 @@ -277,6 +284,18 @@ gst_wayland_sink_set_layer (GstWaylandSink * sink, GstWlWindowLayer layer) 50 g_mutex_unlock (&sink->render_lock); 54 +gst_wayland_sink_set_alpha (GstWaylandSink * sink, gdouble alpha) 56 + if (alpha == sink->alpha) 59 + g_mutex_lock (&sink->render_lock); 60 + sink->alpha = alpha; [all …]
|
| H A D | 0023-waylandsink-Support-frame-sync-mode.patch | 18 @@ -284,6 +284,7 @@ gst_wayland_sink_init (GstWaylandSink * sink) 20 g_mutex_init (&sink->display_lock); 21 g_mutex_init (&sink->render_lock); 22 + g_cond_init (&sink->redraw_cond); 24 sink->window_handle = 1; 25 sink->layer = GST_WL_WINDOW_LAYER_NORMAL; 28 g_mutex_clear (&sink->display_lock); 29 g_mutex_clear (&sink->render_lock); 30 + g_cond_clear (&sink->redraw_cond); 36 g_mutex_lock (&sink->render_lock); [all …]
|
| H A D | 0018-waylandsink-Support-window-layer-property.patch | 69 @@ -225,6 +250,7 @@ gst_wayland_sink_init (GstWaylandSink * sink) 70 g_mutex_init (&sink->render_lock); 72 sink->window_handle = 1; 73 + sink->layer = GST_WL_WINDOW_LAYER_NORMAL; 77 @@ -239,6 +265,18 @@ gst_wayland_sink_set_fullscreen (GstWaylandSink * sink, gboolean fullscreen) 78 g_mutex_unlock (&sink->render_lock); 82 +gst_wayland_sink_set_layer (GstWaylandSink * sink, GstWlWindowLayer layer) 84 + if (layer == sink->layer) 87 + g_mutex_lock (&sink->render_lock); 88 + sink->layer = layer; [all …]
|
| H A D | 0020-waylandsink-Support-window-fill-mode-property.patch | 75 @@ -258,6 +288,7 @@ gst_wayland_sink_init (GstWaylandSink * sink) 76 sink->window_handle = 1; 77 sink->layer = GST_WL_WINDOW_LAYER_NORMAL; 78 sink->alpha = 1.0; 79 + sink->fill_mode = DEFAULT_FILL_MODE; 83 @@ -296,6 +327,19 @@ gst_wayland_sink_set_alpha (GstWaylandSink * sink, gdouble alpha) 84 g_mutex_unlock (&sink->render_lock); 88 +gst_wayland_sink_set_fill_mode (GstWaylandSink * sink, 91 + if (fill_mode == sink->fill_mode) 94 + g_mutex_lock (&sink->render_lock); [all …]
|
| H A D | 0009-waylandsink-Support-setting-toplevel-window-position.patch | 41 GST_OBJECT_UNLOCK (sink); 51 if (!sink->window) { 53 sink->window = gst_wl_window_new_toplevel (sink->display, 54 - &sink->video_info, sink->fullscreen, &sink->render_lock); 55 + &sink->video_info, sink->fullscreen, &sink->render_lock, 56 + &sink->render_rectangle); 57 g_signal_connect_object (sink->window, "closed", 58 G_CALLBACK (on_window_closed), sink, 0); 61 g_return_if_fail (sink != NULL); 63 g_mutex_lock (&sink->render_lock); [all …]
|
| H A D | 0016-waylandsink-Defer-prepare-window-when-getting-zero-w.patch | 18 @@ -223,6 +223,8 @@ gst_wayland_sink_init (GstWaylandSink * sink) 20 g_mutex_init (&sink->display_lock); 21 g_mutex_init (&sink->render_lock); 23 + sink->window_handle = 1; 28 gst_video_overlay_prepare_window_handle (GST_VIDEO_OVERLAY (sink)); 29 g_mutex_lock (&sink->render_lock); 32 + if (!sink->window_handle) { 33 + GST_LOG_OBJECT (sink, "buffer %p dropped (window not ready)", buffer); 37 if (!sink->window) { 39 sink->window = gst_wl_window_new_toplevel (sink->display,
|
| H A D | 0032-waylandsink-Parse-video-size-in-propose_allocation.patch | 21 -gst_wayland_create_pool (GstWaylandSink * sink, GstCaps * caps) 22 +gst_wayland_create_pool (GstWaylandSink * sink, GstCaps * caps, gsize size) 26 - gsize size = sink->video_info.size; 32 if (sink->pool) 33 gst_object_unref (sink->pool); 34 - sink->pool = gst_wayland_create_pool (sink, caps); 35 + sink->pool = gst_wayland_create_pool (sink, caps, sink->video_info.size); 59 - pool = gst_wayland_create_pool (sink, caps); 60 + pool = gst_wayland_create_pool (sink, caps, info.size); 62 - gst_query_add_allocation_pool (query, pool, sink->video_info.size, 2, 0);
|
| H A D | 0014-waylandsink-Fix-random-crash.patch | 18 GST_DEBUG_OBJECT (sink, "expose"); 20 g_mutex_lock (&sink->render_lock); 21 - if (sink->last_buffer && !sink->redraw_pending) { 22 + if (sink->window && sink->last_buffer && !sink->redraw_pending) { 23 GST_DEBUG_OBJECT (sink, "redrawing last buffer"); 24 render_last_buffer (sink, TRUE);
|
| H A D | 0029-kmssink-Support-ignoring-aspect-ratio.patch | 50 + sink->keep_aspect = g_value_get_boolean (value); 57 gst_value_set_structure (value, sink->plane_props); 60 + g_value_set_boolean (value, sink->keep_aspect); 65 @@ -2150,6 +2160,7 @@ gst_kms_sink_init (GstKMSSink * sink) 66 sink->plane_id = -1; 67 sink->saved_zpos = -1; 68 sink->can_scale = TRUE; 69 + sink->keep_aspect = TRUE; 70 gst_poll_fd_init (&sink->pollfd); 71 sink->poll = gst_poll_new (TRUE); [all …]
|
| H A D | 0026-waylandsink-Use-the-correct-video-info-to-access-all.patch | 31 - old_vinfo = sink->video_info; 37 GstVideoInfo src_info = sink->video_info; 40 - sink->video_info = old_vinfo; 46 if (!gst_buffer_pool_set_config (sink->pool, config) || 47 !gst_buffer_pool_set_active (sink->pool, TRUE)) 50 + sink->pool_vinfo = sink->video_info; 54 + sink->video_info = sink->pool_vinfo; 56 ret = gst_buffer_pool_acquire_buffer (sink->pool, &to_render, NULL);
|
| H A D | 0003-waylandsink-release-frame-callback-when-finalizing.patch | 17 GST_DEBUG_OBJECT (sink, "Finalizing the sink.."); 19 + if (sink->callback) 20 + wl_callback_destroy (sink->callback); 21 if (sink->last_buffer) 22 gst_buffer_unref (sink->last_buffer); 23 if (sink->display)
|
| H A D | 0025-waylandsink-Support-NV12_10LE40-and-NV12-NV12_10LE40.patch | 34 static GstStaticPadTemplate sink_template = GST_STATIC_PAD_TEMPLATE ("sink", 41 +gst_wayland_sink_fixup_caps (GstWaylandSink * sink, GstCaps * caps) 47 + if (sink->display->support_nv12_10le40) { 53 + if (sink->display->support_afbc) { 64 + if (sink->display->support_afbc) { 65 + if (gst_wl_display_check_format_for_dmabuf (sink->display, 74 + if (gst_wl_display_check_format_for_dmabuf (sink->display, 94 + caps = gst_wayland_sink_fixup_caps (sink, caps); 96 GST_DEBUG_OBJECT (sink, "display caps: %" GST_PTR_FORMAT, caps); 100 GstWaylandSink *sink; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | lc.c | 314 static int tb_lc_dp_sink_available(struct tb_switch *sw, int sink) in tb_lc_dp_sink_available() argument 328 if (!sink) { in tb_lc_dp_sink_available() 352 int sink; in tb_lc_dp_sink_query() local 361 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_query() 362 if (sink < 0) in tb_lc_dp_sink_query() 365 return !tb_lc_dp_sink_available(sw, sink); in tb_lc_dp_sink_query() 380 int ret, sink; in tb_lc_dp_sink_alloc() local 386 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_alloc() 387 if (sink < 0) in tb_lc_dp_sink_alloc() 388 return sink; in tb_lc_dp_sink_alloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/mc/ |
| H A D | mc-entity.c | 235 return link->sink->entity; in media_entity_other() 322 link->sink->entity->name, link->sink->index); in media_graph_walk_iter() 451 struct media_pad *pad = link->sink->entity == entity in __media_pipeline_start() 452 ? link->sink : link->source; in __media_pipeline_start() 470 if (link->sink != pad || in __media_pipeline_start() 480 entity->name, link->sink->index, ret); in __media_pipeline_start() 608 remote = link->sink->entity; in __media_entity_remove_link() 660 struct media_entity *sink, u16 sink_pad, u32 flags) in media_create_pad_link() argument 665 if (WARN_ON(!source || !sink) || in media_create_pad_link() 667 WARN_ON(sink_pad >= sink->num_pads)) in media_create_pad_link() [all …]
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/ |
| H A D | 0031-kmssink-Support-setting-prefered-frame-syncing-mode.patch | 76 sink->keep_aspect = g_value_get_boolean (value); 79 + sink->sync_mode = g_value_get_enum (value); 86 g_value_set_boolean (value, sink->keep_aspect); 89 + g_value_set_enum (value, sink->sync_mode); 94 @@ -2539,11 +2559,15 @@ gst_kms_sink_init (GstKMSSink * sink) 95 sink->saved_zpos = -1; 96 sink->can_scale = TRUE; 97 sink->keep_aspect = TRUE; 98 + sink->sync_mode = DEFAULT_SYNC_MODE; 99 gst_poll_fd_init (&sink->pollfd); [all …]
|
| H A D | 0030-kmssink-Support-ignoring-aspect-ratio.patch | 47 sink->skip_vsync = g_value_get_boolean (value); 50 + sink->keep_aspect = g_value_get_boolean (value); 57 g_value_set_boolean (value, sink->skip_vsync); 60 + g_value_set_boolean (value, sink->keep_aspect); 65 @@ -2528,6 +2538,7 @@ gst_kms_sink_init (GstKMSSink * sink) 66 sink->plane_id = -1; 67 sink->saved_zpos = -1; 68 sink->can_scale = TRUE; 69 + sink->keep_aspect = TRUE; 70 gst_poll_fd_init (&sink->pollfd); [all …]
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/ |
| H A D | 0030-kmssink-Support-ignoring-aspect-ratio.patch | 47 sink->skip_vsync = g_value_get_boolean (value); 50 + sink->keep_aspect = g_value_get_boolean (value); 57 g_value_set_boolean (value, sink->skip_vsync); 60 + g_value_set_boolean (value, sink->keep_aspect); 65 @@ -2528,6 +2538,7 @@ gst_kms_sink_init (GstKMSSink * sink) 66 sink->plane_id = -1; 67 sink->saved_zpos = -1; 68 sink->can_scale = TRUE; 69 + sink->keep_aspect = TRUE; 70 gst_poll_fd_init (&sink->pollfd); [all …]
|
| H A D | 0031-kmssink-Support-setting-prefered-frame-syncing-mode.patch | 76 sink->keep_aspect = g_value_get_boolean (value); 79 + sink->sync_mode = g_value_get_enum (value); 86 g_value_set_boolean (value, sink->keep_aspect); 89 + g_value_set_enum (value, sink->sync_mode); 94 @@ -2539,6 +2559,7 @@ gst_kms_sink_init (GstKMSSink * sink) 95 sink->saved_zpos = -1; 96 sink->can_scale = TRUE; 97 sink->keep_aspect = TRUE; 98 + sink->sync_mode = DEFAULT_SYNC_MODE; 99 gst_poll_fd_init (&sink->pollfd); [all …]
|
| /OK3568_Linux_fs/external/rockchip-test/video/ |
| H A D | test_gst_multivideo.sh | 23 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps0 video-sink="wayla… 24 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps1 video-sink="wayla… 25 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps2 video-sink="wayla… 26 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps3 video-sink="wayla… 27 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps4 video-sink="wayla… 28 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps5 video-sink="wayla… 29 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps6 video-sink="wayla… 30 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps7 video-sink="wayla… 31 …GST_DEBUG=fps*:5 gst-launch-1.0 uridecodebin uri=$URI ! fpsdisplaysink name=fps8 video-sink="wayla…
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq_3A_server/common/mediactl/ |
| H A D | mediactl.c | 62 if (link->sink == pad) in media_entity_remote_source() 224 struct media_pad *sink, in media_setup_link() argument 241 link->sink->entity == sink->entity && in media_setup_link() 242 link->sink->index == sink->index) in media_setup_link() 259 ulink.sink.entity = sink->entity->info.id; in media_setup_link() 260 ulink.sink.index = sink->index; in media_setup_link() 261 ulink.sink.flags = MEDIA_PAD_FL_SINK; in media_setup_link() 298 ret = media_setup_link(media, link->source, link->sink, in media_reset_links() 369 struct media_entity *sink; in media_enum_links() local 372 sink = media_get_entity_by_id(media, link->sink.entity); in media_enum_links() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/ |
| H A D | coresight-etm-perf.c | 174 struct coresight_device *sink; in free_sink_buffer() local 183 sink = coresight_get_sink(etm_event_cpu_path(event_data, cpu)); in free_sink_buffer() 184 sink_ops(sink)->free_buffer(event_data->snk_config); in free_sink_buffer() 279 struct coresight_device *sink = NULL; in etm_setup_aux() local 291 sink = user_sink = coresight_get_sink_by_id(id); in etm_setup_aux() 333 sink = coresight_find_default_sink(csdev); in etm_setup_aux() 334 if (!sink) { in etm_setup_aux() 340 if (last_sink && !sinks_compatible(last_sink, sink)) { in etm_setup_aux() 344 last_sink = sink; in etm_setup_aux() 352 path = coresight_build_path(csdev, sink); in etm_setup_aux() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/ispp/ |
| H A D | dev.c | 117 struct media_entity *source, *sink; in rkispp_create_links() local 125 sink = &ispp_dev->ispp_sdev.sd.entity; in rkispp_create_links() 135 ret = media_create_pad_link(source, 0, sink, RKISPP_PAD_SINK, flags); in rkispp_create_links() 142 ret = media_create_pad_link(source, 0, sink, RKISPP_PAD_SINK_PARAMS, flags); in rkispp_create_links() 149 ret = media_create_pad_link(source, 0, sink, RKISPP_PAD_SINK_PARAMS, flags); in rkispp_create_links() 153 ret = media_create_pad_link(source, 0, sink, RKISPP_PAD_SINK_PARAMS, flags); in rkispp_create_links() 159 sink = &ispp_dev->stats_vdev[STATS_VDEV_TNR].vnode.vdev.entity; in rkispp_create_links() 160 ret = media_create_pad_link(source, RKISPP_PAD_SOURCE_STATS, sink, 0, flags); in rkispp_create_links() 163 sink = &ispp_dev->stats_vdev[STATS_VDEV_NR].vnode.vdev.entity; in rkispp_create_links() 164 ret = media_create_pad_link(source, RKISPP_PAD_SOURCE_STATS, sink, 0, flags); in rkispp_create_links() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/common/mediactl/ |
| H A D | mediactl.c | 64 if (link->sink == pad) in media_entity_remote_source() 227 struct media_pad *sink, in media_setup_link() argument 244 link->sink->entity == sink->entity && in media_setup_link() 245 link->sink->index == sink->index) in media_setup_link() 262 ulink.sink.entity = sink->entity->info.id; in media_setup_link() 263 ulink.sink.index = sink->index; in media_setup_link() 264 ulink.sink.flags = MEDIA_PAD_FL_SINK; in media_setup_link() 301 ret = media_setup_link(media, link->source, link->sink, in media_reset_links() 372 struct media_entity *sink; in media_enum_links() local 375 sink = media_get_entity_by_id(media, link->sink.entity); in media_enum_links() [all …]
|