static GstFlowReturn gst_d3d11_av1_dec_new_picture (GstAV1Decoder * decoder,
GstVideoCodecFrame * frame, GstAV1Picture * picture);
static GstAV1Picture *gst_d3d11_av1_dec_duplicate_picture (GstAV1Decoder *
- decoder, GstVideoCodecFrame * frame, GstAV1Picture * picture);
+ decoder, GstVideoCodecFrame * frame, GstAV1Picture * picture);
static GstFlowReturn gst_d3d11_av1_dec_start_picture (GstAV1Decoder * decoder,
GstAV1Picture * picture, GstAV1Dpb * dpb);
static GstFlowReturn gst_d3d11_av1_dec_decode_tile (GstAV1Decoder * decoder,
/* d3d11 buffer pool will update buffer size based on allocated texture,
* get size from config again */
config = gst_buffer_pool_get_config (pool);
- gst_buffer_pool_config_get_params (config,
- nullptr, &size, nullptr, nullptr);
+ gst_buffer_pool_config_get_params (config, nullptr, &size, nullptr, nullptr);
gst_structure_free (config);
if (!self->downstream_supports_d3d11) {
if (self->enable_navigation_events) {
GST_LOG_OBJECT (self, "send key event %s, key %s", event, key);
if (0 == g_strcmp0 ("key-press", event))
- key_event = gst_navigation_event_new_key_press (key, GST_NAVIGATION_MODIFIER_NONE);
+ key_event =
+ gst_navigation_event_new_key_press (key,
+ GST_NAVIGATION_MODIFIER_NONE);
else if (0 == g_strcmp0 ("key-release", event))
- key_event = gst_navigation_event_new_key_release (key, GST_NAVIGATION_MODIFIER_NONE);
+ key_event =
+ gst_navigation_event_new_key_release (key,
+ GST_NAVIGATION_MODIFIER_NONE);
if (event)
gst_navigation_send_event_simple (GST_NAVIGATION (self), key_event);
GST_LOG_OBJECT (self,
"send mouse event %s, button %d (%.1f, %.1f)", event, button, x, y);
if (0 == g_strcmp0 ("mouse-button-press", event))
- mouse_event = gst_navigation_event_new_mouse_button_press (button, x, y, GST_NAVIGATION_MODIFIER_NONE);
+ mouse_event =
+ gst_navigation_event_new_mouse_button_press (button, x, y,
+ GST_NAVIGATION_MODIFIER_NONE);
else if (0 == g_strcmp0 ("mouse-button-release", event))
- mouse_event = gst_navigation_event_new_mouse_button_release (button, x, y, GST_NAVIGATION_MODIFIER_NONE);
+ mouse_event =
+ gst_navigation_event_new_mouse_button_release (button, x, y,
+ GST_NAVIGATION_MODIFIER_NONE);
else if (0 == g_strcmp0 ("mouse-move", event))
- mouse_event = gst_navigation_event_new_mouse_move (x, y, GST_NAVIGATION_MODIFIER_NONE);
+ mouse_event =
+ gst_navigation_event_new_mouse_move (x, y,
+ GST_NAVIGATION_MODIFIER_NONE);
if (event)
gst_navigation_send_event_simple (GST_NAVIGATION (self), mouse_event);