[Libva] [PATCH][libva-intel-driver] i965_GetDisplayAttributes: propagate flags from src to dst

2016-11-21 Thread Daniel Charles
flags need to be propagated for user to know which flags are supported by VADisplayAttribType. When only VA_DISPLAY_ATTRIB_SETTABLE is reported as flag then it has to be propagated back to user. The rest of the values should be left untouched Signed-off-by: Daniel Charles <daniel.c

[Libva] [PATCH][libva-intel-driver] i965_driver_info: add vp9_enc_profiles

2016-11-16 Thread Daniel Charles
Not all profiles for vp9 are supported by the encoder and user needs to know about it Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_device_info.c | 1 + src/i965_drv_video.c | 2 +- src/i965_drv_video.h | 5 + 3 files changed, 7 insertions(+), 1 deletion(-)

[Libva] [PATCH 2/2 v3][libva-intel-driver] i965_test_config: return properly unsupported profile

2016-11-10 Thread Daniel Charles
jpege/jpegd and avce/avcd config tests to check against all supported entrypoints for a profile. UNSUPPORTED_PROFILE is expected when no entrypoints are available for a given profile, else expect UNSUPPORTED_ENTRYPOINT. Signed-off-by: Daniel Charles <daniel.char...@intel.com> ---

[Libva] [PATCH 1/2 v3][libva-intel-driver] i965_validate_config: return unsupported profile

2016-11-10 Thread Daniel Charles
When all the profiles are not supported return VA_STATUS_ERROR_UNSUPPORTED_PROFILE instead of VA_STATUS_ERROR_UNSUPPORTED_ENTRYPOINT. Also change the style on the code modified to be common on all cases Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_drv_video.

[Libva] [PATCH 0/2 v3][libva-intel-driver] report unsupported profile

2016-11-10 Thread Daniel Charles
is preferred, let me know and I'll resubmit. v2: do not change the checks for specific h/w, i.e. IS_SKL as it will change the purpose of the test v3: fix the config tests for all components available so far using the same purpose as the original test. Daniel Charles (2): i965_validate_config

[Libva] [PATCH 0/2 v2][libva-intel-driver] report unsupported profile

2016-10-26 Thread Daniel Charles
is preferred, let me know and I'll resubmit. v2: do not change the checks for specific h/w, i.e. IS_SKL as it will change the purpose of the test Daniel Charles (2): i965_validate_config: return unsupported profile i965_test_config: return properly unsupported profile src/i965_drv_video.c

[Libva] [PATCH 2/2 v2][libva-intel-driver] i965_test_config: return properly unsupported profile

2016-10-26 Thread Daniel Charles
jpege and avce config tests to check against all supported entrypoints for a profile. UNSUPPORTED_PROFILE is expected when no entrypoints are available for a given profile, else expect UNSUPPORTED_ENTRYPOINT. Signed-off-by: Daniel Charles <daniel.char...@intel.com> ---

[Libva] [PATCH 1/2 v2][libva-intel-driver] i965_validate_config: return unsupported profile

2016-10-26 Thread Daniel Charles
When all the profiles are not supported return VA_STATUS_ERROR_UNSUPPORTED_PROFILE instead of VA_STATUS_ERROR_UNSUPPORTED_ENTRYPOINT. Also change the style on the code modified to be common on all cases Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_drv_video.

[Libva] [PATCH 2/2][libva-intel-driver] i965_test_config: return properly unsupported profile

2016-10-25 Thread Daniel Charles
jpege and avce config tests to check against all supported entrypoints for a profile. UNSUPPORTED_PROFILE is expected when no entrypoints are available for a given profile, else expect UNSUPPORTED_ENTRYPOINT Signed-off-by: Daniel Charles <daniel.char...@intel.com> ---

[Libva] [PATCH 0/2][libva-intel-driver] report unsupported profile

2016-10-25 Thread Daniel Charles
is preferred, let me know and I'll resubmit. Daniel Charles (2): i965_validate_config: return unsupported profile i965_test_config: return properly unsupported profile src/i965_drv_video.c| 49 + test/i965_avce_config_test.cpp | 27

[Libva] [PATCH 1/2][libva-intel-driver] i965_validate_config: return unsupported profile

2016-10-25 Thread Daniel Charles
When all the profiles are not supported return VA_STATUS_ERROR_UNSUPPORTED_PROFILE instead of VA_STATUS_ERROR_UNSUPPORTED_ENTRYPOINT. Also change the style on the code modified to be common on all cases Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_drv_video.

[Libva] [PATCH][libva-intel-driver] i965_validate_config: return unsupported profile

2016-10-17 Thread Daniel Charles
When all the profiles are not supported return VA_STATUS_ERROR_UNSUPPORTED_PROFILE instead of VA_STATUS_ERROR_UNSUPPORTED_ENTRYPOINT. Also change the style on the code modified to be common on all cases Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_drv_video.

[Libva] [PATCH v3][libva-intel-driver] vpp chroma-formats: report supported chroma formats for vpp

2016-10-13 Thread Daniel Charles
vpp to report the chroma formats according to what's allowed by vaCreateSurfaces2 Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_drv_video.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 3

[Libva] [PATCH v2][libva-intel-driver] vpp chroma-formats: report supported chroma formats for vpp

2016-10-13 Thread Daniel Charles
vpp to report the chroma formats according to what's allowed by vaCreateSurfaces2 Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_drv_video.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 3

[Libva] [PATCH][libva-intel-driver] vpp chroma-formats: report supported chroma formats for vpp

2016-10-12 Thread Daniel Charles
vpp to report the chroma formats according to what's allowed by vaCreateSurfaces2 Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_drv_video.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/i965_drv_video.c b/src/i965_drv_video.c index 3

[Libva] [PATCH][libva-intel-driver] ConfigAttribEncROI: check entrypoint on VAGetConfigAttrib

2016-10-12 Thread Daniel Charles
The attribute VAConfigAttribEncROI has to check that the entrypoint is actually a VAEntrypointEncSlice or VAEntrypointEncSliceLP Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_drv_video.c | 37 ++--- 1 file changed, 22 insertions(

[Libva] [PATCH v3][libva-intel-driver] i965_encoder: remove double check for VAStatus result

2016-08-18 Thread Daniel Charles
after creating underlying surface there's a double check on the VAStatus result. Replace it with ASSERT_RET. Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_encoder.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/i965_encoder.c

[Libva] [PATCH v2][libva-intel-driver] i965_encoder: remove double check for VAStatus result

2016-08-15 Thread Daniel Charles
after creating underlying surface there's a double check on the VAStatus result. Replace it with ASSERT_RET. Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i965_encoder.c b/src/i965_enc

[Libva] [PATCH][libva-intel-driver] vp9encoder: encoder to handle properly CSC on input surface

2016-08-12 Thread Daniel Charles
will place the underlying surface on the encode_state->input_yuv_object if it needed conversion or it will place the correct current_render_target if the conversion is not needed. Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/gen9_vp9_encoder.c | 1 - src/i965_encoder.

[Libva] [PATCH] va_trace: add traces for vp9encoder

2016-08-05 Thread Daniel Charles
add trace information for VAEncPictureParameterBufferVP9 and VAEncSequenceParameterBufferVP9 also add the case for VAEncMiscParameterBufferType on va_TraceVP9Buf Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- va/va_trace.c

[Libva] [PATCH][libva-intel-driver] i965_encoder: return a failing status

2016-07-28 Thread Daniel Charles
VAStatus when calling vme_pipeline was silently failing Signed-off-by: Daniel Charles <daniel.char...@intel.com> --- src/i965_encoder.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/i965_encoder.c b/src/i965_encoder.c index 1088f08..361aa93 100644 ---

[Libva] [intel-driver] check that intel-gen4asm tool is actually present

2014-07-03 Thread Daniel Charles
. Signed-off-by: Daniel Charles daniel.char...@intel.com --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 86c2b40..a588106 100644 --- a/configure.ac +++ b/configure.ac @@ -77,8 +77,9 @@ AC_SUBST(LIBDRM_VERSION) dnl Check

[Libva] [intel-driver] remove fixed uses of inte-gen4asm tool

2014-06-30 Thread Daniel Charles
-by: Daniel Charles daniel.char...@intel.com --- src/shaders/post_processing/gen7/Makefile.am | 4 ++-- src/shaders/post_processing/gen8/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shaders/post_processing/gen7/Makefile.am b/src/shaders/post_processing/gen7

[Libva] [android-build 1/3] android: rename the LOG_TAG per module

2012-08-17 Thread Daniel Charles
LOG_TAG is defined per module compiled so that tracing back errors from the Android logcat can be understood easily Signed-off-by: Daniel Charles daniel.char...@intel.com --- va/Android.mk |9 + va/sysdeps.h |1 - 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/va

[Libva] [android-build 2/3] android: fix build for Android Jelly-Bean

2012-08-17 Thread Daniel Charles
Signed-off-by: Daniel Charles daniel.char...@intel.com --- Android.mk | 13 + va/Android.mk | 23 +++ va/sysdeps.h|4 ++-- va/va_android.h |4 4 files changed, 26 insertions(+), 18 deletions(-) diff --git a/Android.mk b/Android.mk index

[Libva] [android-build 3/3] android-test: compile tests for all android versions

2012-08-17 Thread Daniel Charles
Tests can be compiled for android if the libraries needed are included with the correct directory paths depending on Android version Jelly-bean change the headers location so this is addressed by the Android.mk selector for version Signed-off-by: Daniel Charles daniel.char...@intel.com

[Libva] [PATCH v2, android] android-log: enable logs according to Android version

2012-08-01 Thread Daniel Charles
Log functions available are now Android compatible and log statements will show on user space android logging system. Defined a LOG_TAG and make it available for all versions of Android. Signed-off-by: Daniel Charles daniel.char...@intel.com --- va/Android.mk | 13 +++-- va/sysdeps.h

[Libva] [PATCH] android-log: enable logs according to Android version

2012-07-31 Thread Daniel Charles
Log functions available are now Android compatible and log statements will show on user space android logging system. Defined a LOG_TAG and make it available for all versions of Android. Change-Id: I86f863a331fcdde96e0a114c7d3078a83b6566ad Signed-off-by: Daniel Charles daniel.char...@intel.com