Commit fe19bc0a authored by He Junyan's avatar He Junyan Committed by GStreamer Marge Bot
Browse files

videoparsers: av1: Add the AV1 parse.

This AV1 parse implements the conversion between alignment of obu,
tu and frame, and the conversion between stream-format of obu-stream
and annexb.

TODO:
1. May need a property of operating_point to filter the OBUs
2. May add a property to disable deep parse.

Part-of: <gstreamer/gst-plugins-bad!1614>
parent 057fedd1
This diff is collapsed.
/* GStreamer
* Copyright (C) 2020 He Junyan <junyan.he@intel.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#ifndef __GST_AV1_PARSE_H__
#define __GST_AV1_PARSE_H__
#include <gst/gst.h>
#include <gst/base/gstbaseparse.h>
G_BEGIN_DECLS
#define GST_TYPE_AV1_PARSE (gst_av1_parse_get_type())
G_DECLARE_FINAL_TYPE (GstAV1Parse,
gst_av1_parse, GST, AV1_PARSE, GstBaseParse);
G_END_DECLS
#endif /* __GST_AV1_PARSE_H__ */
......@@ -13,6 +13,7 @@ vparse_sources = [
'gstvideoparseutils.c',
'gstjpeg2000parse.c',
'gstvp9parse.c',
'gstav1parse.c',
]
gstvideoparsersbad = library('gstvideoparsersbad',
......
......@@ -32,6 +32,7 @@
#include "gstvc1parse.h"
#include "gsth265parse.h"
#include "gstvp9parse.h"
#include "gstav1parse.h"
GST_DEBUG_CATEGORY (videoparseutils_debug);
......@@ -70,6 +71,14 @@ plugin_init (GstPlugin * plugin)
ret |= gst_element_register (plugin, "vp9parse",
GST_RANK_SECONDARY, GST_TYPE_VP9_PARSE);
/**
* element-av1parse:
*
* Since: 1.20
*/
ret |= gst_element_register (plugin, "av1parse",
GST_RANK_SECONDARY, GST_TYPE_AV1_PARSE);
return ret;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment