Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Directx and IPP

vindos
초급자
640 조회수
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 포인트
1 응답
Vladimir_Dudnik
640 조회수

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 포인트
응답