Community
cancel
Showing results for 
Search instead for 
Did you mean: 
crazyhadoop
Beginner
50 Views

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

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
50 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