$ ./hello_mmal_jpeg.bin frame.jpeg
vc.ril.image_decode:out:0(I420)
type: 3, fourcc: I420
bitrate: 0, framed: 0
extra data: 0, (nil)
width: 736, height: 368, (0,0,724,362)
start decoding
stop decoding
$ ./hello_mmal_jpeg.bin test-image.jpg
vc.ril.image_decode:out:0(I420)
type: 3, fourcc: I420
bitrate: 0, framed: 0
extra data: 0, (nil)
width: 736, height: 368, (0,0,724,362)
start decoding
received event length 96, EFCH
----------Port format changed----------
vc.ril.image_decode:out:0type: video, fourcc: I420
bitrate: 0, framed: 0
extra data: 0, (nil)
width: 736, height: 368, (0,0,724,362)
pixel aspect ratio: 0/0, frame rate: 0/0
buffers num: 1(opt 1, min 1), size: 406272(opt 406272, min: 406272), align: 0
-----------------to---------------------
type: video, fourcc: I420
bitrate: 0, framed: 0
extra data: 0, 0x173e330
width: 1248, height: 1104, (0,0,1244,1096)
pixel aspect ratio: 0/0, frame rate: 0/0
buffers num (opt 1, min 1), size (opt 2066688, min: 2066688)
----------------------------------------
Retrieved buffer 0x177c1b8
decoded frame (flags 1, size 2066688) count 0
stop decoding
System Information
------------------
Raspberry Pi 4 Model B Rev 1.1
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
Raspberry Pi reference 2019-09-26
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 80d486687ea77d31fc3fc13cf3a2f8b464e129be, stage4
Linux team5708pi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
Revision : b03111
Serial : 100000000e728cb2
Model : Raspberry Pi 4 Model B Rev 1.1
Throttled flag : throttled=0x0
Camera : supported=0 detected=0
Videocore information
---------------------
Sep 24 2019 17:34:30
Copyright (c) 2012 Broadcom
version cd3add54955f8fa065b414d8fc07c525e7ddffc8 (clean) (release) (start)
alloc failures: 0
compactions: 0
legacy block fails: 0