CHROMIUM:[media] rockchip-vpu: fix uninitialized PPS packet

HW read the SPS/PPS information from PPS packet index by
PPS id, offset can be calculated by PPS id * 32 (SPS/PPS
unit size). So the driver initialize all the SPS/PPS unit
by activated SPS/PPS information.

BUG=b:37647845
TEST=Play the videos mentioned in the bug on Kevin

Change-Id: Iac5ca2549e88cb023b6809d4adddccb89fca8901
Signed-off-by: Alpha Lin <alpha.lin@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/527775
Commit-Ready: Alpha Lin <Alpha.Lin@rock-chips.com>
Tested-by: Alpha Lin <Alpha.Lin@rock-chips.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
(cherry picked from commit 63487fc4a6a0362e8049ad1392500d04d9ad7c13)
Reviewed-on: https://chromium-review.googlesource.com/527864
Reviewed-by: Owen Lin <owenlin@chromium.org>
Commit-Queue: Owen Lin <owenlin@chromium.org>
Tested-by: Owen Lin <owenlin@chromium.org>
1 file changed