tolszak / hwjpegdectest

Test program to check how fast jpegs can be decoded on odroidc2 using hw jpeg decoder.
1 stars 1 forks source link

Decode 1K/4K MJPEG file #1

Open LinhDNguyen opened 6 years ago

LinhDNguyen commented 6 years ago

Hello,

I have tried to customize your project to decode Full HD JPEG file and 4K JPEG file. But it does not work as expected. This is how I test:

Could you please guide me what do I need to make FHD file works? Thank you.

tolszak commented 6 years ago

Sorry I never used it to show on screen, only to decode it. If I understand correctly when you changed setvmstate you also change default decoder to ppmgr which replaces ionvideo. Hence most of code of this application will not work. Look at c2play it does something you would like to achieve: https://github.com/OtherCrashOverride/c2play

LinhDNguyen commented 6 years ago

Thank you. It is now Ok after I remove EXIF metadata from JPEG file.

One more question. In checkForFrame(), how can I get data from ION buffer after V4L2 buffer dequeued (VIDIOC_DQBUF)? Thank you.