• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


Commit MetaInfo

Revisione8fde1cdaafb93c2b54d6092a728d099ad7cdd11 (tree)
Time2015-02-26 09:55:50
AuthorZhong Li <zhong.li@inte...>
CommiterXiang, Haihao

Log Message

decode/VP8: HW needs 1 extra byte for each partition

Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
Tested-by: Sean V Kelley <seanvk@posteo.de>

Change Summary

Incremental Difference

--- a/src/gen8_mfd.c
+++ b/src/gen8_mfd.c
@@ -2985,13 +2985,13 @@ gen8_mfd_vp8_bsd_object(VADriverContextP ctx,
29852985 pic_param->bool_coder_ctx.value << 24 | /* Partition 0 Count Entropy Value */
29862986 0);
29872987
2988- OUT_BCS_BATCH(batch, partition_size_0);
2988+ OUT_BCS_BATCH(batch, partition_size_0 + 1);
29892989 OUT_BCS_BATCH(batch, offset);
29902990 //partion sizes in bytes are present after the above first partition when there are more than one token partition
29912991 offset += (partition_size_0 + 3 * (slice_param->num_of_partitions - 2));
29922992 for (i = 1; i < 9; i++) {
29932993 if (i < slice_param->num_of_partitions) {
2994- OUT_BCS_BATCH(batch, slice_param->partition_size[i]);
2994+ OUT_BCS_BATCH(batch, slice_param->partition_size[i] + 1);
29952995 OUT_BCS_BATCH(batch, offset);
29962996 } else {
29972997 OUT_BCS_BATCH(batch, 0);