nouveau/vdec: small fixes to h264 handling
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 15 Apr 2014 15:35:31 +0000 (17:35 +0200)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Thu, 17 Apr 2014 08:30:39 +0000 (10:30 +0200)
commit49d26a277d8653f63b50f07371bf02b3453e8839
treea6499a181626e54388790d6e7279f871a143ce97
parent09cd376353f534611323da9bedb9b88242b6e4fa
nouveau/vdec: small fixes to h264 handling

nouveau_vp3_inter_sizes requires sliec_count as argument just
as the other places that call it from h264 code do. Hopefully
fixes something.

Fix the status_vp code to allow status == 0 too, when processing
hasn't started yet.

set h264->second_field correctly.
src/gallium/drivers/nouveau/nouveau_vp3_video.h
src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c
src/gallium/drivers/nouveau/nv50/nv98_video_vp.c
src/gallium/drivers/nouveau/nvc0/nvc0_video_vp.c