[MPlayer-dev-eng] i need help - transformation matrix

Fabian Franz FabianFranz at gmx.de
Mon Aug 26 20:35:58 CEST 2002


Am Montag, 26. August 2002 03:26 schrieb Arpi:
> Hi,
>
> > > But - as usual - the .rm files store audio somehow reordered.
> > > It was rev.eng.'ed for 'COOK' audio, it was easy 'rotate the matrix by
> > > 90 degrees and swap row pairs' but it seems that SIPR is different and
> > > i can't find it out myself now.
> >
> > i still have no idea, but i did some more hacks.
>
> ok after some new tricks i got closer.
> this time the real demuxer operates on nibbles (half bytes) instead of
> bytes, so the only thing i need to do is splitting byte sto nibble pairs,
> reorder and then re-attach them.
> I've found that 37 nibbles are grouped together to a sub-block, so each
> block has 16 sub-blocks (16*37/2=0x128).
> Now the problem is reduced to the good old CRC matrices:
>
> input:
>
> #CRC[  0] 15E2 1A9B 1824 15F5 1803 1656 1B5F 1C5F 1BC5 1A61 1D74 1748 1F6F
> 1B80 21D2 162B #CRC[  1] 1C0D 15F2 2329 1A89 13D8 1F3C 1B5B 1BF5 1C48 1BA3
> 1A43 1D12 1650 23F9 1F87 1B15 #CRC[  2] 1B6C 1557 1A3C 1A9D 1A75 19A7 14F0
> 1FCB 20BA 1C8A 16D1 1796 1B46 1EBE 1FAC 1CB3 #CRC[  3] 1D6C 1691 1FD7 11D0
> 1414 1B11 2031 1CCE 1F42 242F 15DC 1D7F 2162 17F1 184F 2591 #CRC[  4] 1A03
> 135F 1CB9 20E4 186C 1BDB 22B8 185C 1FCC 23AD 2010 2203 1A7E 1E65 174E 197B
> #CRC[  5] 1CD3 1C7D 1A42 13E9 1C27 1D58 1D2E 207B 1DD2 21EE 2627 18E3 1C69
> 1879 1C8A 1699
>
> #CRC[  6] 1B99 1C7B 25A7 212E 1CE9 1F23 1773 1A85 1622 2170 1F84 1ECC 20D9
> 2048 2365 173B #CRC[  7] 169A 1CFC 2060 1AC9 20A2 24D9 1B9B 0FB6 1C57 2317
> 117D 1C0B 1D69 1B89 1E5A 1D61 #CRC[  8] 20AF 1E02 1BDC 187D 2059 1A82 1AF1
> 1616 23DA 1EBD 1329 1DA7 1784 1EE0 1C27 1A3E #CRC[  9] 1943 1E84 1AB9 1DB1
> 126C 18E1 1A55 21EB 2281 17D9 1D6E 1981 1437 1462 1843 1D68 #CRC[ 10] 1B53
> 2725 2240 1B14 1E32 1608 170D 1BB8 1CC5 1D86 1D8D 17AC 1A29 1B58 1955 257C
> #CRC[ 11] 1FB1 15C0 210B 16C0 1AA5 1818 20AC 1939 1B45 1B74 194C 291B 169E
> 1C1F 1B69 208E
>
> output:
>
> #CRC[  0] 2591 1B5B 1B46 2627 1803 1C7D 1B5F 1B15 1D2E 15DC 1A75 1748 186C
> 1FCB 23AD 1B11 #CRC[  1] 1BDB 242F 2329 1DD2 1A3C 185C 1A9B 1BF5 1FAC 1C8A
> 2031 1D12 2203 1FD7 1F87 1C5F #CRC[  2] 22B8 1C69 13D8 2010 1D74 19A7 1D58
> 1B80 1F42 1C8A 207B 135F 1824 1D7F 1C48 1CB3 #CRC[  3] 197B 1879 23F9 21EE
> 1414 162B 1A43 1699 20BA 15F2 1A61 1EBE 2162 1A7E 184F 15E2 #CRC[  4] 1A03
> 1796 1CB9 13E9 1F6F 1C0D 1B6C 1F3C 1FCC 21D2 1A9D 1650 17F1 1CD3 174E 1D6C
> #CRC[  5] 1E65 1656 1A42 20E4 1C27 14F0 1BC5 16D1 1A89 11D0 15F5 18E3 1557
> 1691 1BA3 1CCE
>
> #CRC[  6] 1D68 1B9B 1784 194C 1CE9 15C0 1773 1D61 20AC 1D6E 2059 1ECC 1E32
> 1616 1D86 18E1 #CRC[  7] 1608 17D9 2060 1B45 1BDC 1BB8 1C7B 0FB6 1C27 1B69
> 1A55 1C0B 17AC 1AB9 1E5A 1A85 #CRC[  8] 170D 169E 20A2 1D8D 1F84 1A82 1818
> 2048 2281 1EBD 1939 2725 25A7 1981 1C57 1A3E #CRC[  9] 257C 1C1F 1B89 1B74
> 126C 173B 117D 208E 23DA 1CFC 2170 1EE0 1437 1A29 1843 1B99 #CRC[ 10] 1B53
> 1DA7 2240 16C0 20D9 169A 20AF 24D9 1CC5 2365 187D 1D69 1462 1FB1 1955 1943
> #CRC[ 11] 1B58 1F23 210B 1B14 1AA5 1AF1 1622 1329 1AC9 1DB1 212E 291B 1E02
> 1E84 2317 21EB
>
> so let's guess the transformation matrix/code now...

How about doing the same 000, 111, ... 0 1 2 3, with nibbles now to quicker 
guess the code ... ?!

cu

Fabian

PS: Are we talking abuot a mathematical matrix or just seeing the 11 CRC-sums 
as one table, which is called matrix, and on which certain operations are 
done to transform it ...
PPS: Docs to this term available ?!



More information about the MPlayer-dev-eng mailing list