[Libva] [libva-intel-driver PATCH] dec/vp8: fix segmentation update
Zhao, Yakui
yakui.zhao at intel.com
Tue Jun 2 18:41:27 PDT 2015
On Tue, 2015-06-02 at 19:42 -0600, Xiang, Haihao wrote:
> Segment-based adjustments only occur if segmentation is enabled ($9.3).
>
This looks good to me.
Add: Acked-by: Zhao Yakui <yakui.zhao at intel.com>
> Cc: Zhao Yakui <yakui.zhao at intel.com>
> Tested-by: Charles, Daniel <daniel.charles at intel.com>
> Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
> ---
> src/gen8_mfd.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gen8_mfd.c b/src/gen8_mfd.c
> index f045ca4..c15184d 100644
> --- a/src/gen8_mfd.c
> +++ b/src/gen8_mfd.c
> @@ -2834,7 +2834,8 @@ gen8_mfd_vp8_pic_state(VADriverContextP ctx,
> pic_param->pic_fields.bits.sign_bias_golden << 12 |
> pic_param->pic_fields.bits.loop_filter_adj_enable << 11 |
> pic_param->pic_fields.bits.mb_no_coeff_skip << 10 |
> - pic_param->pic_fields.bits.update_mb_segmentation_map << 9 |
> + (enable_segmentation &&
> + pic_param->pic_fields.bits.update_mb_segmentation_map) << 9 |
> pic_param->pic_fields.bits.segmentation_enabled << 8 |
> (enable_segmentation &&
> !pic_param->pic_fields.bits.update_mb_segmentation_map) << 7 |
More information about the Libva
mailing list