Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6633 Discussions

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

crazyhadoop
Beginner
107 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
107 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

Reply