Merge pull request #1 from skibey/master

Fix a memory corruption to prevent segfault in VP8
follows void** for VASurfaceAttributeTPI.buffers

it supports 64bits system as well

Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
Signed-off-by: Halley Zhao <halley.zhao@intel.com>

Change-Id: I4b5b4f35503cb328486c6522c91150b692aef31b
Additional 64bit changes to TPI buffer size calculations

Change-Id: If22827dcd8ece2015fd0736f90a0ee3b85fc39ca
Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
debug fix for psb_parse_config

Change-Id: Ief478b1ce247b20ec5c430391a18525ff7edb087
Merge pull request #2 from halleyzhao/master

debug fix for psb_parse_config
psb_buffer: Leave pointer lists with existing types

Has no effect on 64bit addressing issue.

Change-Id: I2fce92c7db9c35e69194878b5e78defe1f5cd765
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
Revert "VP8: Restore slice data offset for compatibility"

This reverts commit 770c41ac9ddc3291a78308a402e641dc03f6ae54.
Now using updated slice data offsets compatible with the
1.3.0 libva-intel-driver release.
vp8dec: follows va_vp8_dec.h parameters clarification

Change-Id: I2c59fe622dc094e1b67a1980cbd0510544ddf6e0
Merge pull request #4 from halleyzhao/master

vp8dec: follows va_vp8_dec.h parameters clarification
psb_CreateSurfaces2: Fix memory leak

Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
tng_vp8: Add better checks on frame concealment.

Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
psb_video: Remove MPEG4 from EC checks

Not supported.

Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
psb_video: Fix potential coherency issue

When two threads attempt to call into the driver, if obj_surface is set as
static for EC, another thread will also use the same obj_surface for EC.
Potentially the other thread could destroy the surface killing the other
thread.

Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>
psb_video: refine VP8 Decoding API

To follow proposed change/clarification for dec_va_vp8.h,
refine VP8 Decoding API.

Changes to dec_va.vp8.h are below,
1. Remove mb_skip_coeff from VAPictureParameterBUfferVP8
2. num_of_partitions count the control partition

BUG= BZ: 158760, JIRA: CHRMOS-1062
TEST="update psb_video and libmix, run test in CHRMOS-1062.
      The video should not show corruption and color
      artifacts"

Change-Id: I649907ce2cfd07685a4acf4d3f08f3575ffcf8a0
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
Signed-off-by: Sameer Kibey <sameer.kibey@intel.com>
Revert "vp8dec: follows va_vp8_dec.h parameters clarification"

This reverts commit 5155da001398fb538755d780a30ca2d9f9a605bf.