PlayStation MDEC Stream BS: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (25 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
// | // 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 | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 20: | Line 41: | ||
=== Notes and Comments === | === 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 === | === Games === | ||
| Line 29: | Line 52: | ||
* [https://ffmpeg.org/doxygen/2.7/mdec_8c_source.html FFmpeg] | * [https://ffmpeg.org/doxygen/2.7/mdec_8c_source.html FFmpeg] | ||
* movconv | * [http://www.psxdev.net/forum/viewtopic.php?t=957 movconv v3.4] | ||
=== See Also === | |||
* [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://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 bordercolor="transparent" spacing="small" orientation="landscape"> | |||
movconv_bs.png | |||
</gallery> | |||
<br/><br> | |||
<br/><br> | <br/><br> | ||
[[Category:Complete | [[Category:Complete Almost Done|PlayStation MDEC Stream BS]] | ||
[[Category:Platform PS1|PlayStation MDEC Stream BS]] | [[Category:Platform PS1|PlayStation MDEC Stream BS]] | ||
[[Category:CE | [[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 Type : Image / Video
- Endian Order : Little Endian
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
- MDEC Technical Document
- PS1 file formats
- PlayStation Motion Decoder
- MDEC data format
- MDEC Data Compression Overview
Gallery