[Mesa-dev] [PATCH] st/va: disable cabac for h264 baseline profile

boyuan.zhang at amd.com boyuan.zhang at amd.com
Mon Oct 17 20:27:00 UTC 2016


From: Boyuan Zhang <boyuan.zhang at amd.com>

cabac is only supported in the h264 main and higher profiles

Signed-off-by: Boyuan Zhang <boyuan.zhang at amd.com>
---
 src/gallium/state_trackers/va/picture.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c
index eae5dc4..db08a3c 100644
--- a/src/gallium/state_trackers/va/picture.c
+++ b/src/gallium/state_trackers/va/picture.c
@@ -110,7 +110,6 @@ getEncParamPreset(vlVaContext *context)
    context->desc.h264enc.motion_est.enc_ime2_search_range_y = 0x00000004;
 
    //pic control preset
-   context->desc.h264enc.pic_ctrl.enc_cabac_enable = 0x00000001;
    context->desc.h264enc.pic_ctrl.enc_constraint_set_flags = 0x00000040;
 
    //rate control
-- 
2.7.4



More information about the mesa-dev mailing list