Hi All,
I want to Convert a YUV 420 frame to JPEG image and store it . Plz let me know the best approach to this problem using WinCE imaging factory . I used IJG and could easily get the JPEG but i strictly want to use WinCE Apis only . I tried these steps but could not succed . The PushPixelData was always retuting FALSE
1. Convert YUV420 to RGB 565
2. CreateBitmapFromBuffer
3. GetInstalledEncoders and Search for JPEG encoder
4. CreateImageEncoderToFile
5. GetEncodeSink
6. BeginSink
7. SetPallette
8. PushPixelData
9. EndSink
10. Release and Terminate .