Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Directx and IPP

vindos
Beginner
601 Views
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
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
601 Views

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

0 Kudos
Reply