diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-11-22 10:19:06 +0100 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-11-22 10:27:19 +0100 |
commit | 7a464ba015535854aa345628766f3014b245fca8 (patch) | |
tree | 5b5649f560801860662502bbcc793b28aa3e0901 /gst/vaapi/gstvaapipostproc.h | |
parent | 1d1f18bcbe22071599075a7d7e39efa3f7d0c964 (diff) |
vaapipostproc: fix and optimize advanced deinterlacing mode.
Fix advanced deinterlacing modes with VPP to track only up to 2 past
reference buffers. This used to be 3 past reference buffers but this
doesn't fit with the existing decode pipeline that only has 4 extra
scratch surfaces.
Also optimize references tracking to be only enabled when needed, i.e.
when advanced deinterlacing mode is used. This means that we don't
need to track past references for basic bob or weave deinterlacing.
Diffstat (limited to 'gst/vaapi/gstvaapipostproc.h')
-rwxr-xr-x | gst/vaapi/gstvaapipostproc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/vaapi/gstvaapipostproc.h b/gst/vaapi/gstvaapipostproc.h index c10801d1..e15472e8 100755 --- a/gst/vaapi/gstvaapipostproc.h +++ b/gst/vaapi/gstvaapipostproc.h @@ -82,7 +82,7 @@ typedef enum { * number of allowed surfaces used as references shall be less than * the actual number of scratch surfaces used for decoding (4). */ -#define GST_VAAPI_DEINTERLACE_MAX_REFERENCES 3 +#define GST_VAAPI_DEINTERLACE_MAX_REFERENCES 2 /** * GstVaapiPostprocFlags: |