- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi guys,
I am currenly working on directx. After rendering i need to store each frame into the memory and when the application exits i dump that datainto the disk in the form of jpeg.
For this iread data from back bufferand use memcpy to store it into the memory,My doubt is whether i can compress the backbufferdata using this library and then store it in to memory.
tnx in advance
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
you can consider your backbuffer just as usual image. The only point you need to keep in mind is pixel format of your data. The JPEG standard specifies only 8-bit per color channel process for baseline mode. Soif you are working with RGB565 data you need to convert them to RGB888 before applying JPEG compression. Please take a look on JPEGView sample it contains IPP JPEG codec with simple interface so you might be can use it in your app.
Regards,
Vladimir
Message Edited by vdudnik on 01-12-2006 12:29 PM

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page