summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2014-09-10 13:18:54 +0200
committerEmil Velikov <emil.l.velikov@gmail.com>2014-09-17 01:14:19 +0100
commit4027062a3ce5fd4130b3a66498f69464170a276d (patch)
treed6e68b4f5bb4c8bb5e0d466d26016f28d3a7add1
parentd3c45235b62e35d6717294c6ee9999ee60f20e1e (diff)
nouveau: fix MPEG4 hw decoding
Reorder some fields to make I-frame decoding work correctly. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Cc: "10.2 10.3" <mesa-stable@lists.freedesktop.org> (cherry picked from commit 121ceb38f45daacc938349d9d5aa82776b78dbab)
-rw-r--r--src/gallium/drivers/nouveau/nouveau_vp3_video_vp.c6
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?
};