PlayStation MDEC Stream BS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(13 intermediate revisions by the same user not shown)
Line 23: Line 23:




// color difference block
// color difference blocks
x bytes - Cb
x bytes - Cb block
x bytes - Cr
x bytes - Cr block


// luminance block
// luminance blocks
x bytes - Y0
x bytes - Y0 block
x bytes - Y1
x bytes - Y1 block
x bytes - Y2
x bytes - Y2 block
x bytes - Y3
x bytes - Y3 block
</pre>
</pre>
</div>
</div>
Line 42: Line 42:


* Standard resolution for BS images should be '''320x240'''.
* Standard resolution for BS images should be '''320x240'''.
* BS format is single-frame MDEC image.
* BS stands for "bitstream", referring to Huffman encoding.


=== Games ===  
=== Games ===  
Line 56: Line 58:
* [https://psx.arthus.net/sdk/Psy-Q/DOCS/TECHNOTE/mdecnote.pdf MDEC Technical Document]
* [https://psx.arthus.net/sdk/Psy-Q/DOCS/TECHNOTE/mdecnote.pdf MDEC Technical Document]
* [https://psx.arthus.net/sdk/Psy-Q/DOCS/Devrefs/Filefrmt.pdf PS1 file formats]
* [https://psx.arthus.net/sdk/Psy-Q/DOCS/Devrefs/Filefrmt.pdf PS1 file formats]
* [https://wiki.multimedia.cx/index.php/PlayStation_Motion_Decoder PlayStation Motion Decoder]
* [https://www.zophar.net/fileuploads/2/10731bgqkx/playstation.htm MDEC data format]
* [https://psx.arthus.net/sdk/Psy-Q/DOCS/TRAINING/FALL96/mdec.pdf MDEC Data Compression Overview]


==Gallery==
==Gallery==
Line 65: Line 70:




[[Category:Complete WIP|PlayStation MDEC Stream BS]]
[[Category:Complete Almost Done|PlayStation MDEC Stream BS]]
[[Category:Platform PS1|PlayStation MDEC Stream BS]]
[[Category:Platform PS1|PlayStation MDEC Stream BS]]
[[Category:CE None|PlayStation MDEC Stream BS]]
[[Category:CE Compressed|PlayStation MDEC Stream BS]]
[[Category:Format_Image | Type: Image]]
[[Category:Format_Image | Type: Image]]
[[Category:Format_Video | Type: Video]]
[[Category:Format_Video | Type: Video]]
[[Category:Extension_bs | Extension: bs]]
[[Category:Extension_bs | Extension: bs]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:RLE compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 08:17, 15 May 2021

Back to index | Edit this page

BS


Format Specifications

// PS1 MDEC Stream
// BS file format

// litle endian

//header
2 bytes (uint16) - signature   // 0x00 0x38
2 bytes (uint16) - data size of runlevel, not including header // e.g. 4
2 bytes (uint16) - version  // 2
2 bytes (uint16) - quantization step



// color difference blocks
x bytes - Cb block
x bytes - Cr block

// luminance blocks
x bytes - Y0 block
x bytes - Y1 block
x bytes - Y2 block
x bytes - Y3 block

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Standard resolution for BS images should be 320x240.
  • BS format is single-frame MDEC image.
  • BS stands for "bitstream", referring to Huffman encoding.

Games

List of games using this file format:

  • Parasite Eve 2

Compatible Programs

See Also

Gallery