summaryrefslogtreecommitdiff
path: root/src/android
AgeCommit message (Expand)Author
2021-08-02android: Add helpers for setting android metadata from libcamera controlsPaul Elder
2021-08-02android: Add infrastructure for determining capabilities and hardware levelPaul Elder
2021-08-02android: jpeg: get ISO from SENSOR_SENSITIVITYPaul Elder
2021-08-02android: metadata: Fix addEntry template typePaul Elder
2021-08-02android: metadata: Add hasEntry and entryContainsPaul Elder
2021-07-27android: capabilities: Centralize RAW support checkJacopo Mondi
2021-07-27android: capabilties: Rationalize get[YUV|Raw]Resolution namesJacopo Mondi
2021-07-27android: capabilities: Use a throw-away config for YUV stream buildingJacopo Mondi
2021-07-12libcamera: Drop the LIBCAMERA_D_PTR macro in favour of the _d() functionLaurent Pinchart
2021-07-11libcamera: buffer: Rename buffer.h to framebuffer.hLaurent Pinchart
2021-07-06android: Disable copy and move for CameraDeviceLaurent Pinchart
2021-07-06android: Disable copy and move for CameraHalManagerLaurent Pinchart
2021-06-28android: camera_device: Fix null pointer dereferenceLaurent Pinchart
2021-06-28android: camera_device: Check if a request is configured on processCaptureReq...Hirokazu Honda
2021-06-28android: mm: cros_camera_buffer: Drop undefined functionsLaurent Pinchart
2021-06-28android: camera_device: Reset config_ if Camera::configure() failsLaurent Pinchart
2021-06-25libcamera/base: Validate internal headers as privateKieran Bingham
2021-06-25libcamera/base: Move span to base libraryKieran Bingham
2021-06-25libcamera/base: Move extended base functionalityKieran Bingham
2021-06-25libcamera/base: Move class helpers to the base libraryKieran Bingham
2021-06-25libcamera/base: Move utils to the base libraryKiera #include <sys/types.h> #include <vector> #include <libcamera/base/mutex.h> #include <libcamera/base/object.h> #include <libcamera/controls.h> #include <libcamera/stream.h> #include "libcamera/internal/ipa_proxy.h" namespace libcamera { class Camera; class CameraConfiguration; class CameraManager; class DeviceEnumerator; class DeviceMatch; class FrameBuffer; class MediaDevice; class PipelineHandler; class Request; class PipelineHandler : public std::enable_shared_from_this<PipelineHandler>, public Object { public: PipelineHandler(CameraManager *manager); virtual ~PipelineHandler(); virtual bool match(DeviceEnumerator *enumerator) = 0; MediaDevice *acquireMediaDevice(DeviceEnumerator *enumerator, const DeviceMatch &dm); bool acquire(); void release(); virtual CameraConfiguration *generateConfiguration(Camera *camera, const StreamRoles &roles) = 0; virtual int configure(Camera *camera, CameraConfiguration *config) = 0; virtual int exportFrameBuffers(Camera *camera, Stream android: Rework request completion notificationJacopo Mondi
2021-06-02android: Make FRAME_DURATION result key available in static metadataUmang Jain
2021-06-01android: Fix unused parameter warnings on Chrome OSLaurent Pinchart
2021-05-31android: Don't rely on indirect inclusion of unistd.hLaurent Pinchart
2021-05-27android: camera_device: Fix sensor frame durationPaul Elder
2021-05-27controls: Split FrameDurations into FrameDuration and FrameDurationLimitsPaul Elder
2021-05-26android: CameraHalManager: Create a static object dynamicallyHirokazu Honda
2021-05-26android: Fix file system library usage on gcc 7 and 8Laurent Pinchart
2021-05-26android: camera_hal_config: Move include <filesystem> to .cpp fileLaurent Pinchart
2021-05-26android: camera_metadata: Add functions for instrumenting resizingPaul Elder
2021-05-25android: soraka: Add camera HAL configurationJacopo Mondi
2021-05-25android: camera_device: Get properties from configurationJacopo Mondi
2021-05-25android: Add CameraHalConfig classJacopo Mondi
2021-05-25android: CameraDevice: Report proper min and max frame durationsPaul Elder
2021-05-24android: camera_worker: Process all queued requests when stoppingLaurent Pinchart
2021-05-18android: camera_metadata: Add type sanity check to updateEntry()Laurent Pinchart
t;Request *> waitingRequests_; const char *name_; Mutex lock_; unsigned int useCount_ LIBCAMERA_TSA_GUARDED_BY(lock_); friend class PipelineHandlerFactoryBase; }; class PipelineHandlerFactoryBase { public: PipelineHandlerFactoryBase(const char *name); virtual ~PipelineHandlerFactoryBase() = default; std::shared_ptr<PipelineHandler> create(CameraManager *manager) const; const std::string &name() const { return name_; } static std::vector<PipelineHandlerFactoryBase *> &factories(); private: static void registerType(PipelineHandlerFactoryBase *factory); virtual std::unique_ptr<PipelineHandler> createInstance(CameraManager *manager) const = 0; std::string name_; }; template<typename _PipelineHandler> class PipelineHandlerFactory final : public PipelineHandlerFactoryBase { public: PipelineHandlerFactory(const char *name) : PipelineHandlerFactoryBase(name) { } std::unique_ptr<PipelineHandler> createInstance(CameraManager *manager) const override { return std::make_unique<_PipelineHandler>(manager); } }; #define REGISTER_PIPELINE_HANDLER(handler) \ static PipelineHandlerFactory<handler> global_##handler##Factory(#handler); } /* namespace libcamera */