mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
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>
This commit is contained in:
parent
f6afed7076
commit
121ceb38f4
1 changed files with 3 additions and 3 deletions
|
|
@ -78,10 +78,10 @@ struct mpeg4_picparm_vp {
|
||||||
uint8_t top_field_first; // bool, written to vuc
|
uint8_t top_field_first; // bool, written to vuc
|
||||||
|
|
||||||
uint8_t pad4[3]; // 59, 5a, 5b, contains garbage on blob
|
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 intra[0x10]; // 5c
|
||||||
uint32_t non_intra[0x10]; // bc
|
uint32_t non_intra[0x10]; // 9c
|
||||||
|
uint32_t pad5[0x10]; // bc what does this do?
|
||||||
// udc..uff pad?
|
// udc..uff pad?
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue