diff options
author | Zhao Halley <halley.zhao@intel.com> | 2013-07-29 09:23:50 +0800 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-08-23 19:00:38 +0200 |
commit | 944a7bd077fdc77c7383f975af45f0db262bff77 (patch) | |
tree | 08b844803f2c6977aee503d5a7c86c8aaed81129 /gst/vaapi/gstvaapipostproc.h | |
parent | 1d222d3b4ae6a5e8959a7231ff93ad7234900239 (diff) |
filter: add initial support for deinterlacing.
Add basic deinterlacing support, i.e. bob-deinterlacing whereby only
the selected field from the input surface is kept for the target surface.
Setting gst_vaapi_filter_set_deinterlacing() method argument to
GST_VAAPI_DEINTERLACE_METHOD_NONE means to disable deinterlacing.
Also move GstVaapiDeinterlaceMethod definition from vaapipostproc plug-in
to libgstvaapi core library.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Diffstat (limited to 'gst/vaapi/gstvaapipostproc.h')
-rwxr-xr-x[-rw-r--r--] | gst/vaapi/gstvaapipostproc.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/gst/vaapi/gstvaapipostproc.h b/gst/vaapi/gstvaapipostproc.h index e983a312..b33e724e 100644..100755 --- a/gst/vaapi/gstvaapipostproc.h +++ b/gst/vaapi/gstvaapipostproc.h @@ -26,6 +26,7 @@ #include <gst/vaapi/gstvaapidisplay.h> #include <gst/vaapi/gstvaapisurface.h> #include <gst/vaapi/gstvaapisurfacepool.h> +#include <gst/vaapi/gstvaapifilter.h> G_BEGIN_DECLS @@ -68,20 +69,6 @@ typedef enum { GST_VAAPI_DEINTERLACE_MODE_DISABLED, } GstVaapiDeinterlaceMode; -/** - * GstVaapiDeinterlaceMethod: - * @GST_VAAPI_DEINTERLACE_METHOD_BOB: Basic bob deinterlacing algorithm. - * @GST_VAAPI_DEINTERLACE_METHOD_WEAVE: Weave deinterlacing algorithm. - * @GST_VAAPI_DEINTERLACE_METHOD_MOTION_ADAPTIVE: Motion adaptive deinterlacing algorithm. - * @GST_VAAPI_DEINTERLACE_METHOD_MOTION_COMPENSATED: Motion compensated deinterlacing algorithm. - */ -typedef enum { - GST_VAAPI_DEINTERLACE_METHOD_BOB = 1, - GST_VAAPI_DEINTERLACE_METHOD_WEAVE, - GST_VAAPI_DEINTERLACE_METHOD_MOTION_ADAPTIVE, - GST_VAAPI_DEINTERLACE_METHOD_MOTION_COMPENSATED, -} GstVaapiDeinterlaceMethod; - struct _GstVaapiPostproc { /*< private >*/ GstElement parent_instance; |