[PORT FROM R42B-STABLE] To fix the corruption problem of widevine playback on BYT

BZ: 146611

When the widevine clips have multiple slices in one frame,
the corruptions will be observed. This is caused by the mismatched
parameters between the LibMIX and i965 driver.

In the fix, the PAVP encrypted buffer is passed as the
VASliceDataBuffer just one time for each frame. The slice offset
and slice size are passed in the VASliceParameterBuffer for each

Change-Id: I1f4fadae60e76ca91d46597cc5738f65d7e4c7dd
Signed-off-by: wfeng6 <wei.feng@intel.com>
2 files changed