Workaround camera HAL for qvga resolution on snapshot

Because camera now provides the current preview frame
when taking a snapshot, adjust the buffer size in case
the requested frame size was smaller (example: preview vga
and snapshot qvga).

Issue: APDEV-865
Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Change-Id: Ie8ae52b86ce978c71f31803d78b90a95f94427dd
Reviewed-on: https://android.intel.com/176901
Reviewed-by: Chiras, Robert <robert.chiras@intel.com>
Reviewed-by: Suman, Viorel <viorel.suman@intel.com>
Tested-by: Vlaescu, CristianX <cristianx.vlaescu@intel.com>
Reviewed-by: Serban, Mihai <mihai.serban@intel.com>
Add support for codecs with 24 FPS


Change-Id: I23a70f9bbed8320bf11ad55453403b87a16552cd
Signed-off-by: Viorel Suman <viorel.suman@intel.com>
Reviewed-on: https://android.intel.com/176929
Tested-by: Vlaescu, CristianX <cristianx.vlaescu@intel.com>
Reviewed-by: Chiras, Robert <robert.chiras@intel.com>
Reviewed-by: Serban, Mihai <mihai.serban@intel.com>