libcamera/src/android
Laurent Pinchart 94cbaa381a libcamera: formats: Add planeSize() helpers to PixelFormatInfo
Add two helpers functions to the PixelFormatInfo class to compute the
byte size of a given plane, taking the frame size, the stride, the
alignment constraints and the vertical subsampling into account.

Use the new functions through the code base to replace manual
implementations.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Hirokazu Honda <hiroh@chromium.org>
2021-09-07 19:17:54 +03:00
..
cros android: cros: Simplify integration 2021-06-25 16:09:46 +01:00
data android: nautilus: Add camera HAL configuration 2021-08-04 09:03:37 +05:30
jpeg libcamera: mapped_framebuffer: Rename maps() to planes() 2021-08-31 15:18:53 +03:00
metadata android: metadata: Add SPDX tag 2019-08-12 10:34:13 +02:00
mm libcamera: formats: Add planeSize() helpers to PixelFormatInfo 2021-09-07 19:17:54 +03:00
yuv libcamera: formats: Add planeSize() helpers to PixelFormatInfo 2021-09-07 19:17:54 +03:00
camera3_hal.cpp libcamera/base: Move extended base functionality 2021-06-25 16:11:08 +01:00
camera_buffer.h android: camera_buffer: Add stride/offset/size function 2021-08-27 00:52:32 +03:00
camera_capabilities.cpp android: Cleanup libcamera namespace usage 2021-09-06 18:49:52 +05:30
camera_capabilities.h android: Refuse Manual template if not supported 2021-08-31 12:09:35 +02:00
camera_device.cpp android: Cleanup libcamera namespace usage 2021-09-06 18:49:52 +05:30
camera_device.h android: camera_device: Fill offset and right length in CreateFrameBuffer() 2021-08-30 18:59:10 +03:00
camera_hal_config.cpp libcamera: base: extensible: Pass private pointer as unique_ptr<> 2021-08-16 23:57:27 +03:00
camera_hal_config.h libcamera/base: Move class helpers to the base library 2021-06-25 16:11:03 +01:00
camera_hal_manager.cpp android: Override camera as "Internal" provided found in HAL config 2021-08-04 09:03:33 +05:30
camera_hal_manager.h android: Disable copy and move for CameraHalManager 2021-07-06 19:58:36 +03:00
camera_metadata.cpp android: metadata: Add hasEntry and entryContains 2021-08-02 18:07:19 +09:00
camera_metadata.h android: metadata: Fix addEntry template type 2021-08-02 18:07:22 +09:00
camera_ops.cpp android: Implement flush() camera operation 2021-06-14 12:26:28 +02:00
camera_ops.h android: Remove internal thread 2020-02-13 13:23:23 +02:00
camera_stream.cpp android: Cleanup libcamera namespace usage 2021-09-06 18:49:52 +05:30
camera_stream.h libcamera: Give MappedFrameBuffer its own implementation 2021-08-10 10:53:57 +01:00
camera_worker.cpp android: Cleanup libcamera namespace usage 2021-09-06 18:49:52 +05:30
camera_worker.h libcamera: buffer: Rename buffer.h to framebuffer.h 2021-07-11 17:42:02 +03:00
meson.build libcamera/base: Validate internal headers as private 2021-06-25 16:11:11 +01:00
post_processor.h libcamera: Give MappedFrameBuffer its own implementation 2021-08-10 10:53:57 +01:00