|
Packit |
971217 |
/* GStreamer
|
|
Packit |
971217 |
* Copyright (C) <2011> Wim Taymans <wim.taymans@gmail.com>
|
|
Packit |
971217 |
*
|
|
Packit |
971217 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
971217 |
* modify it under the terms of the GNU Library General Public
|
|
Packit |
971217 |
* License as published by the Free Software Foundation; either
|
|
Packit |
971217 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
971217 |
*
|
|
Packit |
971217 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
971217 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
971217 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
971217 |
* Library General Public License for more details.
|
|
Packit |
971217 |
*
|
|
Packit |
971217 |
* You should have received a copy of the GNU Library General Public
|
|
Packit |
971217 |
* License along with this library; if not, write to the
|
|
Packit |
971217 |
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
Packit |
971217 |
* Boston, MA 02110-1301, USA.
|
|
Packit |
971217 |
*/
|
|
Packit |
971217 |
|
|
Packit |
971217 |
#ifndef __GST_VIDEO_EVENT_H__
|
|
Packit |
971217 |
#define __GST_VIDEO_EVENT_H__
|
|
Packit |
971217 |
|
|
Packit |
971217 |
#include <gst/gst.h>
|
|
Packit |
971217 |
#include <gst/video/video-prelude.h>
|
|
Packit |
971217 |
|
|
Packit |
971217 |
G_BEGIN_DECLS
|
|
Packit |
971217 |
|
|
Packit |
971217 |
/* video still frame event creation and parsing */
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_VIDEO_API
|
|
Packit |
971217 |
GstEvent * gst_video_event_new_still_frame (gboolean in_still);
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_VIDEO_API
|
|
Packit |
971217 |
gboolean gst_video_event_parse_still_frame (GstEvent * event, gboolean * in_still);
|
|
Packit |
971217 |
|
|
Packit |
971217 |
/* video force key unit event creation and parsing */
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_VIDEO_API
|
|
Packit |
971217 |
GstEvent * gst_video_event_new_downstream_force_key_unit (GstClockTime timestamp,
|
|
Packit |
971217 |
GstClockTime stream_time,
|
|
Packit |
971217 |
GstClockTime running_time,
|
|
Packit |
971217 |
gboolean all_headers,
|
|
Packit |
971217 |
guint count);
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_VIDEO_API
|
|
Packit |
971217 |
gboolean gst_video_event_parse_downstream_force_key_unit (GstEvent * event,
|
|
Packit |
971217 |
GstClockTime * timestamp,
|
|
Packit |
971217 |
GstClockTime * stream_time,
|
|
Packit |
971217 |
GstClockTime * running_time,
|
|
Packit |
971217 |
gboolean * all_headers,
|
|
Packit |
971217 |
guint * count);
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_VIDEO_API
|
|
Packit |
971217 |
GstEvent * gst_video_event_new_upstream_force_key_unit (GstClockTime running_time,
|
|
Packit |
971217 |
gboolean all_headers,
|
|
Packit |
971217 |
guint count);
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_VIDEO_API
|
|
Packit |
971217 |
gboolean gst_video_event_parse_upstream_force_key_unit (GstEvent * event,
|
|
Packit |
971217 |
GstClockTime * running_time,
|
|
Packit |
971217 |
gboolean * all_headers,
|
|
Packit |
971217 |
guint * count);
|
|
Packit |
971217 |
|
|
Packit |
971217 |
GST_VIDEO_API
|
|
Packit |
971217 |
gboolean gst_video_event_is_force_key_unit(GstEvent *event);
|
|
Packit |
971217 |
|
|
Packit |
971217 |
G_END_DECLS
|
|
Packit |
971217 |
|
|
Packit |
971217 |
#endif /* __GST_VIDEO_EVENT_H__ */
|