| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/ |
| 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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/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/kernel/sound/soc/meson/ |
| H A D | axg-frddr.c | 112 SOC_DAPM_ENUM("Output Sink", axg_frddr_sel_enum); 115 SND_SOC_DAPM_DEMUX("SINK SEL", SND_SOC_NOPM, 0, 0, 128 { "SINK SEL", NULL, "Playback" }, 129 { "OUT 0", "OUT 0", "SINK SEL" }, 130 { "OUT 1", "OUT 1", "SINK SEL" }, 131 { "OUT 2", "OUT 2", "SINK SEL" }, 132 { "OUT 3", "OUT 3", "SINK SEL" }, 133 { "OUT 4", "OUT 4", "SINK SEL" }, 134 { "OUT 5", "OUT 5", "SINK SEL" }, 135 { "OUT 6", "OUT 6", "SINK SEL" }, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/thunderbolt/ |
| H A D | lc.c | 305 /* The first DP IN port is sink 0 and second is sink 1 */ in tb_lc_dp_sink_from_port() 314 static int tb_lc_dp_sink_available(struct tb_switch *sw, int sink) in tb_lc_dp_sink_available() argument 325 * Sink is available for CM/SW to use if the allocation valie is in tb_lc_dp_sink_available() 328 if (!sink) { in tb_lc_dp_sink_available() 343 * tb_lc_dp_sink_query() - Is DP sink available for DP IN port 344 * @sw: Switch whose DP sink is queried 347 * Queries through LC SNK_ALLOCATION registers whether DP sink is available 352 int sink; in tb_lc_dp_sink_query() local 355 * For older generations sink is always available as there is no in tb_lc_dp_sink_query() 361 sink = tb_lc_dp_sink_from_port(sw, in); in tb_lc_dp_sink_query() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwtracing/coresight/ |
| H A D | coresight-etm-perf.c | 30 * the trace path and the sink configuration. The event data is accessible 31 * via perf_get_aux(handle). However, a sink could "end" a perf output 32 * handle via the IRQ handler. And if the "sink" encounters a failure 60 /* Sink ID - same for all ETMs */ 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() 196 /* Free the sink buffers, if there are any */ in free_event_data() 256 * so that they can use the same sink buffers, when an event 279 struct coresight_device *sink = NULL; in etm_setup_aux() local [all …]
|
| H A D | coresight-core.c | 29 * struct coresight_node - elements of a path, from source to sink 40 * path can exist from a tracer (associated to a CPU) to a sink. 496 * ETF devices are tricky... They can be a link or a sink, in coresight_disable_path_from() 498 * "activated" it will be configured as a sink, otherwise in coresight_disable_path_from() 548 * ETF devices are tricky... They can be a link or a sink, in coresight_enable_path() 550 * "activated" it will be configured as a sink, otherwise in coresight_enable_path() 562 * Sink is the first component turned on. If we in coresight_enable_path() 563 * failed to enable the sink, there are no components in coresight_enable_path() 611 struct coresight_device *sink = NULL; in coresight_find_enabled_sink() local 626 sink = coresight_find_enabled_sink(child_dev); in coresight_find_enabled_sink() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | dev-subdev.rst | 189 - Formats should be propagated from sink pads to source pads. Modifying 190 a format on a source pad should not modify the format on any sink 194 reset the scale factors to default values when sink pads formats are 196 source pads formats should be reset to the sink pads formats. 251 * - Configure frontend sink format 264 * - Configure scaler sink format 281 * - Configure scaler sink compose selection 305 host frontend and scaler sink and source pads have the default 306 values, as well as the compose rectangle on the scaler's sink pad. 308 2. The application configures the frontend sink pad format's size to [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/connector/ |
| H A D | usb-connector.yaml | 74 - sink 83 - sink 116 sink-pdos: 117 description: An array of u32 with each entry providing supported power sink 120 Sink Capabilities Message, the order of each entry(PDO) should follow the 121 PD spec chapter 6.4.1. Required for power sink and power dual role. User 122 can specify the sink PDO array via PDO_FIXED/BATT/VAR/PPS_APDO() defined 128 sink-vdos: 140 sink-vdos-v1: 151 op-sink-microwatt: [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/debian/overlay/etc/pulse/ |
| H A D | default.pa | 39 #load-module module-alsa-sink 43 #load-module module-null-sink 44 #load-module module-pipe-sink 54 ### Automatically connect sink and source if JACK server is present 86 …ad-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="devic… 99 ### Automatically restore the default sink/source when changed by the user 102 ### that look up the default sink/source get the right value 105 ### Automatically move streams to the default sink if the sink they are 109 ### Make sure we always have a sink around, even if it is a null sink. 110 load-module module-always-sink [all …]
|
| /OK3568_Linux_fs/buildroot/board/rockchip/rk3308/fs-overlay/etc/pulse/ |
| H A D | default.pa | 38 #load-module module-alsa-sink 42 #load-module module-null-sink 43 #load-module module-pipe-sink 53 ### Automatically connect sink and source if JACK server is present 85 …ad-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="devic… 98 ### Automatically restore the default sink/source when changed by the user 101 ### that look up the default sink/source get the right value 104 ### Automatically move streams to the default sink if the sink they are 108 ### Make sure we always have a sink around, even if it is a null sink. 109 load-module module-always-sink [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/mc/ |
| H A D | mc-entity.c | 124 pad->flags & MEDIA_PAD_FL_SINK ? "sink " : "", in dev_dbg_obj() 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() 468 * sink ends of the link that are enabled. 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 [all …]
|
| /OK3568_Linux_fs/kernel/include/media/ |
| H A D | v4l2-mc.h | 90 * source subdev to a sink subdev pad. 93 * @sink: pointer to a subdev sink pad 96 * subdevice to a single sink pad, and if suitable connections are found, 98 * called by the sink subdevice, in its v4l2-async notifier subdev bound 103 * Any sink subdevice that calls this function must implement the 105 * to the sink are owned by the sink. 110 struct media_pad *sink); 114 * subdev to a sink subdev. 117 * @sink_sd: pointer to a sink subdevice 120 * between source and sink subdevices, and translates them into media [all …]
|
| /OK3568_Linux_fs/buildroot/package/pulseaudio/ |
| H A D | default.pa | 38 #load-module module-alsa-sink 42 #load-module module-null-sink 43 #load-module module-pipe-sink 53 ### Automatically connect sink and source if JACK server is present 85 …ad-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="devic… 98 ### Automatically restore the default sink/source when changed by the user 101 ### that look up the default sink/source get the right value 104 ### Automatically move streams to the default sink if the sink they are 108 ### Make sure we always have a sink around, even if it is a null sink. 109 load-module module-always-sink [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 …]
|