diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2017-10-24 15:17:15 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2017-10-24 15:23:28 +0800 |
commit | ce1960eec8d94d0badb7ede2f80c5dd4829640e2 (patch) | |
tree | 8b3561a37c8db77e230c8e3028b27ebbb4d4051b | |
parent | cb1f254ec65954ff7585f40df4b38337c462b14c (diff) | |
parent | 24cbd05c9477ab59cc5665989026b4ad17e06eb6 (diff) | |
download | libva-coverity_scan.tar.gz |
Merge branch 'v2.0-branch' into mastercoverity_scan
Conflicts:
configure.ac
-rw-r--r-- | NEWS | 16 | ||||
-rw-r--r-- | va/Android.mk | 3 | ||||
-rw-r--r-- | va/android/va_android.cpp | 2 | ||||
-rw-r--r-- | va/va_internal.h | 8 |
4 files changed, 26 insertions, 3 deletions
@@ -1,6 +1,20 @@ -libva NEWS -- summary of user visible changes. 2017-06-28 +libva NEWS -- summary of user visible changes. 2017-10-21 Copyright (C) 2009-2017 Intel Corporation +Version 2.0.0 - 21.Oct.2017 +* Bump VA-API version to 1.0.0 and libva to 2.0.0 +* Add new API for H264 FEI support +* Add definition of VA_FOURCC_I420 +* Add functions for converting common enums to strings +* Deprecate H.264 baseline profile and FMO support +* Deprecate packed misc packed header flag +* Delete libva-tpi and libva-egl backends +* Refine VASliceParameterBufferHEVC, VAEncMiscParameterBuffer +* Fix errors in VAConfigAttribValEncROI, VAEncMacroblockParameterBufferH264 +* Fix race condition in wayland support +* Rename vaMessageCallback to VAMessageCallback +* Make logging callbacks library-safe + Version 1.8.3 - 28.Jun.2017 * Bump libva to 1.8.3 * Fix build issue on Android diff --git a/va/Android.mk b/va/Android.mk index 0f872c3..22f80c8 100644 --- a/va/Android.mk +++ b/va/Android.mk @@ -36,7 +36,8 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := \ va.c \ va_trace.c \ - va_fool.c + va_fool.c \ + va_str.c LOCAL_CFLAGS_32 += \ -DVA_DRIVERS_PATH="\"$(LIBVA_DRIVERS_PATH_32)\"" \ diff --git a/va/android/va_android.cpp b/va/android/va_android.cpp index ab54684..ae96236 100644 --- a/va/android/va_android.cpp +++ b/va/android/va_android.cpp @@ -206,7 +206,7 @@ VAStatus vaPutSurface ( { VADriverContextP ctx; - if (fool_postp) + if (va_fool_postp) return VA_STATUS_SUCCESS; if (draw == NULL) diff --git a/va/va_internal.h b/va/va_internal.h index c666159..7b8da55 100644 --- a/va/va_internal.h +++ b/va/va_internal.h @@ -25,6 +25,10 @@ #ifndef VA_INTERNAL_H #define VA_INTERNAL_H +#ifdef __cplusplus +extern "C" { +#endif + #define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext) #define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; } @@ -35,4 +39,8 @@ int va_parseConfig(char *env, char *env_value); VADisplayContextP va_newDisplayContext(void); +#ifdef __cplusplus +} +#endif + #endif /* VA_INTERNAL_H */ |