[Libva] [libva-intel-driver PATCH] dec/vp8: fix segmentation update

Kelley, Sean V sean.v.kelley at intel.com
Wed Jun 3 08:33:32 PDT 2015


Applied, thanks.

Sean
--
Sean V. Kelley <sean.v.kelley at intel.com>
Open Source Technology Center / SSG
Intel Corp.


> On Jun 3, 2015, at 08:18, Kelley, Sean V <sean.v.kelley at intel.com> wrote:
> 
> Lgtm
> 
> Thanks,
> 
> Sean
> 
> --
> Sean V. Kelley <sean.v.kelley at intel.com>
> Open Source Technology Center / SSG
> Intel Corp.
> 
> 
>> On Jun 2, 2015, at 18:42, Xiang, Haihao <haihao.xiang at intel.com> wrote:
>> 
>> Segment-based adjustments only occur if segmentation is enabled ($9.3).
>> 
>> 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 |
>> -- 
>> 1.9.1
>> 
>> _______________________________________________
>> Libva mailing list
>> Libva at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libva
> 
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva



More information about the Libva mailing list