diff options
author | Maarten Lankhorst <[email protected]> | 2014-09-10 13:18:54 +0200 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-09-16 22:07:58 +0100 |
commit | 62f56a08afd4bc0c318b56903e7c9fb79d329c14 (patch) | |
tree | baa3bec84e56a834449cbdf4adc382d05b66e436 /src | |
parent | a3c52ce0b4d71e77ad9513805f19249d36e610a6 (diff) |
nouveau: fix MPEG4 hw decoding
Reorder some fields to make I-frame decoding work correctly.
Signed-off-by: Maarten Lankhorst <[email protected]>
Cc: "10.2 10.3" <[email protected]>
(cherry picked from commit 121ceb38f45daacc938349d9d5aa82776b78dbab)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c b/src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c index 1dcb99c1b52..06d7046995b 100644 --- a/src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c +++ b/src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c @@ -78,10 +78,10 @@ struct mpeg4_picparm_vp { uint8_t top_field_first; // bool, written to vuc uint8_t pad4[3]; // 59, 5a, 5b, contains garbage on blob - uint32_t pad5[0x10]; // 5c...9c non-inclusive, but WHY? - uint32_t intra[0x10]; // 9c - uint32_t non_intra[0x10]; // bc + uint32_t intra[0x10]; // 5c + uint32_t non_intra[0x10]; // 9c + uint32_t pad5[0x10]; // bc what does this do? // udc..uff pad? }; |