[Libva] [PATCH] VP8 DEC: Change error concealment method

Zhong Li zhong.li at intel.com
Fri Feb 6 00:29:50 PST 2015


Use intra prediciton as error concealment method, instead of inter P
copy.

Signed-off-by: Zhong Li <zhong.li at intel.com>
---
 src/gen8_mfd.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/gen8_mfd.c b/src/gen8_mfd.c
index 5a802f5..a7a14ee 100644
--- a/src/gen8_mfd.c
+++ b/src/gen8_mfd.c
@@ -2997,9 +2997,7 @@ gen8_mfd_vp8_bsd_object(VADriverContextP ctx,
         offset += slice_param->partition_size[i];
     }
 
-    OUT_BCS_BATCH(batch,
-                  1 << 31 | /* concealment method */
-                  0);
+    OUT_BCS_BATCH(batch, 0); /* concealment method */
 
     ADVANCE_BCS_BATCH(batch);
 }
-- 
1.9.1



More information about the Libva mailing list