mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
3af6b0b8a0
The built-in video parsers elements are built into a single DSO named libgstvaapi_parse.so. The various video parsers could be accessed as vaapiparse_CODEC. For now, this only includes a modified version of h264parse so that to support H.264 MVC encoded streams.
41 lines
1.6 KiB
Diff
41 lines
1.6 KiB
Diff
From c78b4c043dc41f071bdf170ecb001dc1aef8f5f6 Mon Sep 17 00:00:00 2001
|
|
From: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
|
|
Date: Mon, 28 Apr 2014 17:44:03 +0200
|
|
Subject: [PATCH 1/3] plugins: compile the built-in video parsers as
|
|
"vaapiparse" element.
|
|
|
|
The built-in video parsers elements are built into a single DSO named
|
|
libgstvaapi_parse.so. The various video parsers could be accessed as
|
|
vaapiparse_CODEC.
|
|
---
|
|
configure.ac | 9 ++++++++
|
|
gst/vaapi/Makefile.am | 35 ++++++++++++++++++++++++++++++
|
|
gst/vaapi/gsth264parse.c | 4 +++-
|
|
gst/vaapi/gstvaapiparse.c | 53 +++++++++++++++++++++++++++++++++++++++++++++
|
|
gst/vaapi/gstvaapiparse.h | 36 ++++++++++++++++++++++++++++++
|
|
5 files changed, 136 insertions(+), 1 deletion(-)
|
|
create mode 100644 gst/vaapi/gstvaapiparse.c
|
|
create mode 100644 gst/vaapi/gstvaapiparse.h
|
|
|
|
diff --git a/gst/vaapi/gsth264parse.c b/gst/vaapi/gsth264parse.c
|
|
index 9105d7f..4246b6e 100644
|
|
--- a/gst/vaapi/gsth264parse.c
|
|
+++ b/gst/vaapi/gsth264parse.c
|
|
@@ -26,6 +26,7 @@
|
|
# include "config.h"
|
|
#endif
|
|
|
|
+#include "gstvaapiparse.h"
|
|
#include <gst/base/base.h>
|
|
#include <gst/pbutils/pbutils.h>
|
|
#include <gst/video/video.h>
|
|
@@ -105,7 +106,8 @@ gst_h264_parse_class_init (GstH264ParseClass * klass)
|
|
GstBaseParseClass *parse_class = GST_BASE_PARSE_CLASS (klass);
|
|
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
|
|
|
|
- GST_DEBUG_CATEGORY_INIT (h264_parse_debug, "h264parse", 0, "h264 parser");
|
|
+ GST_DEBUG_CATEGORY_INIT (h264_parse_debug, "vaapiparse_h264", 0,
|
|
+ "h264 parser");
|
|
|
|
gobject_class->finalize = gst_h264_parse_finalize;
|
|
gobject_class->set_property = gst_h264_parse_set_property;
|