on 22-04-2012 04:17 PM
Hello,
I would like to know if their is a optimized solution for drawing a 320 x 240 RGB image at 15 frame / second ?
thank you,
Laurent
on 22-04-2012 04:55 PM
The image is in fact a byte[] buffer received at 10 Hz and it is coded in jpeg, so I was wondering how to decompress it once I get a full valide jpeg image and draw it on the ps vita screen.
thank you in advance
on 24-04-2012 10:20 AM
Hi Wifibot78,
Have you taken a look at the Imaging samples which are part of the SDK? The Image class allows you to create an image from a byte array quite easily, which you can then display to the screen.
The sample you should look at is the "ImageSample" which is (roughly) located at:
C:\Users\Public\Documents\Pss\sample\Imaging\Image
To get it to work with a byte array you could change the instantiation to something like this:
// Change byte[] to be your byte array var image1 = new Image(byte[]);
I hope this helps you out.
James
on 25-04-2012 08:31 AM
Hello,
thank you for your post.
I tryed this but it display only the byte data of the jpeg buffer , he do not detect that the buffer is a jpeg and decompress it to get a full raw image.
Best
.
on 25-04-2012 08:33 AM
in fact I forgot in this post that the buffer I received is from a jpeg camera so it is not RGB , I need to change the title.
PSM Developer Registration (for free) on PSM DevPortal is required to post on the forum.
Please sign out then sign in again to the forum and PSM DevPortal after you have completed the registration.
フォーラムへ投稿をするにはPSM DevPortalへの登録(無料)が必要です。
登録後はフォーラムと
PSM DevPortalを一度ログアウトし、再度ログインしてください。


Website ©2013 Sony Computer Entertainment Europe
All content, game titles, trade names and/or trade dress, trademarks, artwork and associated imagery are trademarks and/or copyright material of their respective owners. All rights reserved. [more info]
%%http://community.eu.playstation.com/t5/Announcements/Beta-Trial-Information/td-p/11386362
best_shooter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_driver.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_performer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_footballer.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_fighter.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_creator.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
best_action_player.png%%http://community.eu.playstation.com/t5/Announcements/Introducing-Best-of-PlayStation/td-p/13741979
dev2.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Producer-and-Developer-Ranks/td-p/18407352
trophy.gif%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/The-Community-Awards-FAQ/td-p/18407096
PSlogoSM.png%%http://community.eu.playstation.com/t5/Website-and-Forum-Help-Feedback/Online-Support-Coordinator-rank/td-p/18414870