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

Is there a way to get the bitmap picture encoded into yuv

crazyhadoop
Beginner
566 Views
Now, I want to use the createDIB in vs2010 to get the pictures and encoded them into h.264 stream.


for the DIB data is hBitmap. maybe I should get the bitmap converted into yuv then encoded into the 264stream.
is there samples or fit funtions to get the bitmap converted ?
thanks a lot
0 Kudos
1 Reply
Ying_H_Intel
Employee
566 Views
Hello,

Generally speaking, yes, it is right processing.

For convert bitmap to YUV format, you may refer to the sample ippiDemo, wich can open a bmp image, then convert to YUV. (it also include other image processing operation). You can try the ippiDemo.exe first.

thenrefer tothe sample ippiDemo's source code, to combine your DIB data toYUV fomat, then encoder with h.264 encodersamplein Getting Started with Intel IPP Unified Media Classes Sample

Regards,
Ying

0 Kudos
Reply