Jump to content

[Released] PS Vita As A UVC Device PoC v2 By @xerpi - #HENkaku #Enso - PS Vita

Recommended Posts

PS Vita As A UVC Device PoC v2 By @xerpi - #HENkaku #Enso

View File

The awesome @xerpi has released the second Proof of Concept of his application that lets The PS Vita be used as a UVC Device, here is a quote from the source:





I've improved the PSVita as a UVC (USB Video Class) device plugin lately with the following changes in this PoC v2 with respect to the first PoC:

  • Uses Vita's colorspace conversion hardware
  • Uses Vita's JPEG encoder hardware
  • Much improved and faster USB video frame transfer routine

After performing some timing to these three key components, the results are the following with a 960x544 framebuffer:

  • It takes around 2ms to perform the colorspace conversion, which is really fast
  • It takes from 86ms to 120ms to perform the JPEG encoding, which is too slow
  • It takes 2ms to send the video frame, which is fast

If we want to achieve 60FPS, a new frame would need to be ready after 16.667ms, and if you add the worst case time it currently takes (2 + 120 + 2 = 124ms) to process the frame, you'll see that 10FPS are the current expected FPS.
So this leaves us with the following conclusion: if we want a decent framerate, downscaling to 480x272 is a must. This PoC v2 version I'm releasing doesn't have said downscaling yet, as I'd like to hear your opinions/ideas first.
The install instructions are the same as the first PoC, but this time I'm uploading two skprxes, one that streams the SceShell (LiveArea) and another one that streams the games/apps as I have yet to find a way to properly decide which one to select at runtime.




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...