m1n1.fw.dcp.ipc: Add some more struct fields

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2022-01-16 19:03:40 +09:00
parent 0e326923cf
commit b2da9faac7
2 changed files with 6 additions and 6 deletions

View file

@ -164,8 +164,8 @@ surf = Container(
plane_cnt = 0,
plane_cnt2 = 0,
format = "BGRA",
unk_13 = 13,
unk_14 = 1,
xfer_func = 13,
colorspace = 1,
stride = 1920 * 4,
pix_size = 4,
pel_w = 1,
@ -190,8 +190,8 @@ compressed_surf = Container(
plane_cnt2 = 2,
format = 'b3a8',
unk_f = 0x00000000,
unk_13 = 13,
unk_14 = 2,
xfer_func = 13,
colorspace = 2,
stride = 1920,
pix_size = 1,
pel_w = 1,

View file

@ -486,8 +486,8 @@ IOSurface = Struct(
"plane_cnt2" / Int32ul,
"format" / FourCC,
"unk_f" / Default(Hex(Int32ul), 0),
"unk_13" / Int8ul,
"unk_14" / Int8ul,
"xfer_func" / Int8ul,
"colorspace" / Int8ul,
"stride" / Int32ul,
"pix_size" / Int16ul,
"pel_w" / Int8ul,