summaryrefslogtreecommitdiff
path: root/omx/gstomxh264utils.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2017-07-03 13:17:11 +0200
committerOlivier Crête <olivier.crete@collabora.com>2017-07-11 11:57:50 -0400
commit1e570fed17a2cf3ecfbca3b04b33d5bf3fe30b47 (patch)
treef133584a69d08289114de70902295b78557c5770 /omx/gstomxh264utils.h
parent043b4177172f69807d02b6bceff41d700157c4e7 (diff)
downloadgst-omx-1e570fed17a2cf3ecfbca3b04b33d5bf3fe30b47.tar.gz
omxh264enc: move profile and level parsing functions to their own files
Will allow to re-use them in the decoder element. https://bugzilla.gnome.org/show_bug.cgi?id=783114
Diffstat (limited to 'omx/gstomxh264utils.h')
-rw-r--r--omx/gstomxh264utils.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/omx/gstomxh264utils.h b/omx/gstomxh264utils.h
new file mode 100644
index 0000000..6300486
--- /dev/null
+++ b/omx/gstomxh264utils.h
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2011, Hewlett-Packard Development Company, L.P.
+ * Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>, Collabora Ltd.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation
+ * version 2.1 of the License.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ *
+ */
+
+#ifndef __GST_OMX_H264_UTILS_H__
+#define __GST_OMX_H264_UTILS_H__
+
+#include "gstomx.h"
+
+G_BEGIN_DECLS
+
+OMX_VIDEO_AVCPROFILETYPE gst_omx_h264_utils_get_profile_from_str (const
+ gchar * profile);
+OMX_VIDEO_AVCLEVELTYPE gst_omx_h264_utils_get_level_from_str (const gchar *
+ level);
+
+G_END_DECLS
+#endif /* __GST_OMX_H264_UTILS_H__ */