Chotto Cam accessing
Do you mean the example with mask?guyver2 wrote:look at my message 5 or 6 post up. I give a zip file with a couple of C file (.c & .h) that allow to save or load bmp file
Does it mean that
u32 *vram = (u32 *)0x04000000; is the video static ram pointer
format is
// color is 0xRRGGBBAA
// 0x00000000 is totaly black
So from there is possible to convert into RGB / BMP picture file?
Thanks
forgive me if I am wrong but at least in all my experience with programming on the PSP the color channel has been reversed:
ie. 0xAABBGGRR
White, Full Alpha: 0xFFFFFFFF
White, Zero Alpha: 0x00FFFFFF
Red, Full Alpha: 0xFF0000FF
Red, Zero Alpha: 0x000000FF
Green, Full Alpha: 0xFF00FF00
Green, Zero Alpha: 0x0000FF00
Blue, Full Alpha: 0xFFFF0000
Blue, Zero Alpha: 0x00FF0000
ie. 0xAABBGGRR
White, Full Alpha: 0xFFFFFFFF
White, Zero Alpha: 0x00FFFFFF
Red, Full Alpha: 0xFF0000FF
Red, Zero Alpha: 0x000000FF
Green, Full Alpha: 0xFF00FF00
Green, Zero Alpha: 0x0000FF00
Blue, Full Alpha: 0xFFFF0000
Blue, Zero Alpha: 0x00FF0000
VRAM has no preset defaults in bitsizes
its your FRAMEBUFFER bit level that determines what / how you present
color information
Color Components YOU handle what sizes and in what bit ratio you use
so its upto YOU to figure out how you want to present color in VRAM
not upto the VRAM to say which you have to follow
its your FRAMEBUFFER bit level that determines what / how you present
color information
Color Components YOU handle what sizes and in what bit ratio you use
so its upto YOU to figure out how you want to present color in VRAM
not upto the VRAM to say which you have to follow
10011011 00101010 11010111 10001001 10111010
Talkman mic?
hi there
I am trying to record a short voice clip through TALKMAN mic, i read code in thread "Chotto Cam" and knows how to access the cam. However, when i apply it to TALKMAN mic, seems the usb device is not invoked at all.
i can compile the usbcamera sample code with the library provided namely
"libpspusbcam_driver.a" and "libpspusbcam.a"
it seems to me that i need a library something like "libpspusbmic_driver.a" to access the TALKMAN mic. BUT I have no idea where to find it.
is it a part of usbmic.prx, if so,,, how can i get it..... i do not want to write driver from scratch, neither can i do that....
thanks in advance
I am trying to record a short voice clip through TALKMAN mic, i read code in thread "Chotto Cam" and knows how to access the cam. However, when i apply it to TALKMAN mic, seems the usb device is not invoked at all.
i can compile the usbcamera sample code with the library provided namely
"libpspusbcam_driver.a" and "libpspusbcam.a"
it seems to me that i need a library something like "libpspusbmic_driver.a" to access the TALKMAN mic. BUT I have no idea where to find it.
is it a part of usbmic.prx, if so,,, how can i get it..... i do not want to write driver from scratch, neither can i do that....
thanks in advance
@WANGL3:
1) learn to read!
2) don't start new threads just because you can! (http://forums.ps2dev.org/viewtopic.php?t=9018)
QUOTE FROM PAGE ONE OF A TWO PAGE THREAD!!!
And surprisingly the link is still alive!!!
1) learn to read!
2) don't start new threads just because you can! (http://forums.ps2dev.org/viewtopic.php?t=9018)
QUOTE FROM PAGE ONE OF A TWO PAGE THREAD!!!
kururin wrote:Two new samples.
First one is a correction of the previous one. Video was correct, but when you took photos, the image was reversed from left to right if the camera looked to you, and reversed from up-down and left-right when looking to the other side. It seems that the sceUsbCamAutoImageReverseSW(1) only affects video, and not still images, so i had to check the lens direction manually and set the reverseflags field of the SetupStill structure properly.
Second one is an example of audio recording from the camera mic. It records wav pcm files to /PSP/MUSIC.
http://www.megaupload.com/?d=666JJNHU
Changes to the includes: added documentation of the mic functions, added the lens callback functions documentation.
Changes to the libs: added the nid sceUsbCamSetupMicEx, and added the library pspusbcam_driver for those that want to use the camera in a kernel prx.
Now, only the following functions are missing from documentation:
- sceUsbCam_1E958148: it is referenced by camera_plugin.prx, but the function that uses it is never called (there is neither jal to it, nor a pointer to it). The code sets first parameter to 0xC0000003, and the second parameter seems a pointer to an integer that receives something.
- sceUsbCam_6784E6A8, sceUsbCam_95F8901E, sceUsbCam_AA7D94BA, sceUsbCam_C72ED6D3 and sceUsbCam_D865997B. They are neither used nor referenced by camera_plugin.
And surprisingly the link is still alive!!!
to califrag
a) learn to double check everything before you bullshit
Yes, i did download the code from the "surprisingly alive link". and i did test it with my TALKMAN mic, it does not work!!!!!!!, and i did say this in my previous post.... open your eyes wide please.
c) you can post question or a solution, do not post your complain here when you did not even contribute anything
btw this is the solution to your bullshit
a) learn to double check everything before you bullshit
Yes, i did download the code from the "surprisingly alive link". and i did test it with my TALKMAN mic, it does not work!!!!!!!, and i did say this in my previous post.... open your eyes wide please.
c) you can post question or a solution, do not post your complain here when you did not even contribute anything
btw this is the solution to your bullshit
lol yes now you really make me want to help you.. good luck man with that attitude i never shoulda even bothered replying to you. and yes i did see that you said talkman, however all you really specify in both of your useless threads is "seems i need a library something like libpspusbmic_driver.a" which doesn't exist.. anyways not my problem anymore.
-
- Posts: 86
- Joined: Thu Aug 17, 2006 3:27 am
I am not "playing god" you stupid idiot.WANGL3 wrote:"anyways not my problem anymore" then just get lost.... do not play god here... u r nothing.
i have read your previous post, you really are nothing.
I was trying to offer you help - the code you need is there, you just don't know how to apply it. (I'm not surprised)
You must be some idiot little kid to act the way you do.
It would be a shame for this topic to get locked because of such a waste of threadspace.
Please stop posting on these forums - as it seems, you have nothing to say of any value.