| View previous topic :: View next topic |
| Author |
Message |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Oct 03, 2007 3:13 am Post subject: Video out on Slim |
|
|
I'm experimenting - trying to get video out on the slim. At the moment, I've been trying two functions that seemed promising.
int sceImposeCheckVideoOut(int *val);
Returns retval=0/val=2 if the component cable is plugged in. I suspect the 2 is the type of cable detected. Someone with a different cable should try it and see what val is when the function returns. If the cable is not plugged in, retval=80000107/val=N/A.
So we seem to have a way of detecting the video cable. So far so good. Now the function I was trying for switching the video is
int sceImposeSetVideoOutMode(int val);
I don't get any return value other than 0, and if val=0, the LCD is turned on, and if val!=0, the LCD is turned off. I tried various values of val, but it seems to just be on/off. I haven't discovered any "magic value" that turns on the video output.
That's where I'm at so far. Any suggestions or comments are welcome. |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Wed Oct 03, 2007 3:23 am Post subject: |
|
|
| As has been pointed out in previous posts it might be related to a display mode, so load vsh with a plugin running and turn on tv and output the values received from sceDisplayGetMode to stdout or a file or something and see what they are :) |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Oct 03, 2007 4:32 am Post subject: |
|
|
Good thought. I'll do that. :)
EDIT: well, mode and pixelformat are normal in a game on the TV, so whatever redirects the video to the TV has nothing to do with the mode or pixelformat. The mode might still have something to do with the resolution of the video once it's redirected, but doesn't do the redirecting itself. |
|
| Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Wed Oct 03, 2007 4:58 am Post subject: |
|
|
I didn't say game I said VSH :P I fully expect game mode to lie if needed.
You do also realize that probably all that is doing is setting some registry value somewhere :) |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Oct 03, 2007 12:00 pm Post subject: |
|
|
| Yes, it could "lie" in game mode, but seeing as it's game mode we need to work from, that needs to be worked around. It's also easier to have a different function than to lie, so I'm going by that theory until someone shows differently. My guess is a new function in sceImpose or maybe sceDisplay. |
|
| Back to top |
|
 |
|