It should also be tested on IMX219 camera, I saw driver supports that sensor and unit test should be ran, I did not test that as I dont have Gtest.

And of course taking value from GUI should be implemented, as I just hard-coded 2. Programmatically changing resolutiom to 1/2 would be nice to have. 
But for my personal use it can remain hardcoded as I would always use binned mode. 

Read More...