author | Jim Grandpre <jim.tla@gmail.com> |
Tue, 01 Jun 2010 02:54:33 -0400 | |
changeset 4646 | eea1bf53effa |
parent 3257 | 94fb40a4a9a7 |
permissions | -rw-r--r-- |
slouken@3257 | 1 |
|
slouken@3257 | 2 |
SDL on Sony Playstation3 |
slouken@3257 | 3 |
------------------------ |
slouken@3257 | 4 |
|
slouken@3257 | 5 |
Installation: |
slouken@3257 | 6 |
First, you have to install the Cell SDK |
slouken@3257 | 7 |
- Download the Cell SDK installer RPM and ISO images to |
slouken@3257 | 8 |
a temporary directory such as /tmp/cellsdk. |
slouken@3257 | 9 |
- Mount the image: mount -o loop CellSDK-Devel-Fedora_3.1.0.0.0.iso /tmp/cellsdk |
slouken@3257 | 10 |
- Install the SDK installer: rpm -ivh cell-install-3.1.0-0.0.noarch.rpm |
slouken@3257 | 11 |
- Install the SDK: cd /opt/cell && ./cellsdk --iso /tmp/cellsdkiso install |
slouken@3257 | 12 |
|
slouken@3257 | 13 |
You'll than need to install the SPU-libs |
slouken@3257 | 14 |
- Run make ps3-libs && make ps3libs-install |
slouken@3257 | 15 |
|
slouken@3257 | 16 |
Finally, install SDL |
slouken@3257 | 17 |
- Go to SDL-1.2/ and build SDL like any other GNU style package. |
slouken@3257 | 18 |
e.g. |
slouken@3257 | 19 |
- Build the configure-script with ./autogen.sh |
slouken@3257 | 20 |
- Configure SDL for your needs: ./configure --enable-video-ps3 ... |
slouken@3257 | 21 |
- Build and install it: make && make install |
slouken@3257 | 22 |
|
slouken@3257 | 23 |
|
slouken@3257 | 24 |
Todo: |
slouken@3257 | 25 |
- Mouse & Keyboard support |
slouken@3257 | 26 |
- On SPU-side the current scaler and converter restrictions are: |
slouken@3257 | 27 |
- resolution has to be a multiple of 8 (will work on that) |
slouken@3257 | 28 |
- scaler/converter only supports the YV12 and IYUV format |
slouken@3257 | 29 |
- the scaler works only bilinear (lanzos would be nice) |
slouken@3257 | 30 |
- Optimize the SPU-program handling on the PPE side |
slouken@3257 | 31 |
- Integrate spumedia in SDL |
slouken@3257 | 32 |
|
slouken@3257 | 33 |
Have fun! |
slouken@3257 | 34 |
Dirk Herrendoerfer <d.herrendoerfer [at] de [dot ibm [dot] com> |
slouken@3257 | 35 |