diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-04-15 17:35:31 +0200 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2014-04-17 10:30:39 +0200 |
commit | 49d26a277d8653f63b50f07371bf02b3453e8839 (patch) | |
tree | a6499a181626e54388790d6e7279f871a143ce97 /src/gallium/drivers/nouveau/nouveau_vp3_video.h | |
parent | 09cd376353f534611323da9bedb9b88242b6e4fa (diff) |
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.
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_vp3_video.h')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_vp3_video.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_vp3_video.h b/src/gallium/drivers/nouveau/nouveau_vp3_video.h index 88c14ec60ff..5c1af7104fc 100644 --- a/src/gallium/drivers/nouveau/nouveau_vp3_video.h +++ b/src/gallium/drivers/nouveau/nouveau_vp3_video.h @@ -107,6 +107,7 @@ struct nouveau_vp3_decoder { unsigned field_pic_flag : 1; unsigned decoded_top : 1; unsigned decoded_bottom : 1; + unsigned decoded_first : 1; } refs[17]; unsigned fence_seq, fw_sizes, last_frame_num, tmp_stride, ref_stride; |