Merge commit 'b48ad0f59d93638adca58c60fbe667472de822f3'
* commit 'b48ad0f59d93638adca58c60fbe667472de822f3':
Make sure shutter callback is called before raw callback.
Merge commit 'bda01917a432b68a25d54839eb6f3da949f388bb'
* commit 'bda01917a432b68a25d54839eb6f3da949f388bb':
libcamera: set antibanding to 60Hz, use cropping information on snapshot
-- Set the antibanding to 60Hz for the US (Should be 50Hz for the
rest of the world.)
-- Save the cropping info returned when taking a picture and then
pass it to the JPEG encoder. This enables digital zoom for JPEG
images (cropping and upsampling).
Signed-off-by: Iliyan Malchev <malchev@google.com>
-- general cleanup: made a bunch of functions static to
QualcommCameraHardware.cpp, not class members; got rid of unnecessary
private member variables. The only functions that remain as members
are native_set_dimension() and native_jpeg_encode()
-- removed kRawFrameHeaderSize; aDSP frame offsets are zero now;
-- simplify reg_unreg_buf
-- Removed PreviewPmemPool and RawPmemPool, which do not need to be
specialized on top of PmemPool. We use PmemPool instead.
-- use PmemPool to both create pmem pools and register them with the driver
-- takePicture runs in a separate thread
-- the destructor keeps a singleton lock
-- PmemPool calls dup() on the camera-control file descriptor to guard against
release() calling close() on it before PmemPool has a chance to deregister
pmem from the camera driver.
-- got rid of hal_mmap() and hal_munmap() entirely and created a PmemHeap to
manage thumbnails.
-- removed support for CAPTURE_RAW. The CameraService can already do this.
Signed-off-by: Iliyan Malchev <malchev@google.com>
Merge commit '5fe5fdf8082f6ebde346d2a32c50d567dd3eeb5b'
* commit '5fe5fdf8082f6ebde346d2a32c50d567dd3eeb5b':
libcamera: default brightness to 5 when not specified by camera
libcamera2 uses code under vendor/qcom/proprietary/mm-camera, which is the
(Qualcomm proprietary) user-space component of the new camera framework.
Signed-off-by: Iliyan Malchev <malchev@google.com>