From patchwork Wed Feb 9 07:19:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanlin Chen X-Patchwork-Id: 15349 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id D5700BDCBF for ; Wed, 9 Feb 2022 07:19:39 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 411EA60E6E; Wed, 9 Feb 2022 08:19:39 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="JwyiDK/e"; dkim-atps=neutral Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id CAA0160E6E for ; Wed, 9 Feb 2022 08:19:36 +0100 (CET) Received: by mail-pj1-x102d.google.com with SMTP id a11-20020a17090a740b00b001b8b506c42fso4373330pjg.0 for ; Tue, 08 Feb 2022 23:19:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1bKnChOEpUWF1o9epEwQFZqCyx+hUb7Ga4F1bJwcxaM=; b=JwyiDK/eLAevK2/MdESuDSdA5Ub7MZNVc4dTCF1DvZc1x27N1kXxYNGmLRvZbVxprT +NkFgUrKGY7ljAWKeMj3voDEJ0QawaeLirG1ihH1GbrtEPA6XZpiSR07bpvxwtGWg44c IkzHZt8Z1ovzktcQXbkKvJa8jXzoTGV4HXwnw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1bKnChOEpUWF1o9epEwQFZqCyx+hUb7Ga4F1bJwcxaM=; b=b3pB9Z7najmO6hO2HHtJB6GpgZZVDh61Yswl0Yslqt9emxlq9Brn9p+6uqVm7lryN/ kVJtd7DG7rU5QvkwlYnUarh3qEDl3t1ZDK14ywXesVY5INTArOTIBs6avUA789kowJW9 WbAK8IKpQQ8otNlp5NDnesCqdeymctySgp72svFWMJ0ty0pqXT4otUu6tc1WnjoFV8TD arYRSMvibCS9uZ9pOnoxA/3eGSeOcbOqSKbzxDjIcfNbgvJMDAKQZl2bJfhhwbdL7gM6 uCegilbVyOmr91om9xMUEb9PzJirTGl7Dt2/fBDgTOvEjCJUnk/nCVehZuJrBSHeDC4C 8JfQ== X-Gm-Message-State: AOAM530n8gbp0JmXSZ3OyKDowqQx8FAI9I06Bfba4n70C1rgZL+NsXU5 PwB+oxoiY55BHhvGmFc/EmFAwyAHoyIUMA== X-Google-Smtp-Source: ABdhPJyJ1l3id0a6yDiBxuxhMKLQ6TUqOcSlkGbQsBZu5EvMsukjlkYic5xsjz+A28+1tODMjZckBQ== X-Received: by 2002:a17:902:7b89:: with SMTP id w9mr830197pll.174.1644391174618; Tue, 08 Feb 2022 23:19:34 -0800 (PST) Received: from localhost ([2401:fa00:1:10:a5cf:9a43:1c6d:824]) by smtp.gmail.com with UTF8SMTPSA id o1sm19930081pfu.88.2022.02.08.23.19.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Feb 2022 23:19:34 -0800 (PST) From: Han-Lin Chen To: libcamera-devel@lists.libcamera.org Date: Wed, 9 Feb 2022 15:19:13 +0800 Message-Id: <20220209071917.559993-6-hanlinchen@chromium.org> X-Mailer: git-send-email 2.35.0.263.gb82422642f-goog In-Reply-To: <20220209071917.559993-1-hanlinchen@chromium.org> References: <20220209071917.559993-1-hanlinchen@chromium.org> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 5/9] android: Add pipeline_config_file parameter for camera_hal.yaml X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" Add pipeline_config_file parameter for camera_hal.yaml for the ipu3 devices of ChromeOS, which specify a path to a pipeline configuration file for a camera, and could be empty if no configuration is provided. The configuration files for soraka [1] and nautilus [2] are added, which are copied and converted to yaml format from the ChromeOS repos. See: [1] https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/master/baseboard-poppy/media-libs/cros-camera-hal-configs-poppy/files/gcss [2] https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/refs/heads/main/overlay-nautilus/media-libs/cros-camera-hal-configs-nautilus/files/gcss/ Signed-off-by: Han-Lin Chen --- src/android/camera_hal_config.cpp | 17 ++ src/android/camera_hal_config.h | 1 + src/android/data/nautilus/camera_hal.yaml | 2 + src/android/data/nautilus/imx258.yaml | 248 ++++++++++++++++++++++ src/android/data/soraka/camera_hal.yaml | 2 + src/android/data/soraka/ov13858.yaml | 236 ++++++++++++++++++++ src/android/data/soraka/ov5670.yaml | 242 +++++++++++++++++++++ 7 files changed, 748 insertions(+) create mode 100644 src/android/data/nautilus/imx258.yaml create mode 100644 src/android/data/soraka/ov13858.yaml create mode 100644 src/android/data/soraka/ov5670.yaml diff --git a/src/android/camera_hal_config.cpp b/src/android/camera_hal_config.cpp index 54611956..f378df9d 100644 --- a/src/android/camera_hal_config.cpp +++ b/src/android/camera_hal_config.cpp @@ -40,6 +40,7 @@ private: int parseCameraConfigData(const std::string &cameraId, const YamlObject &); int parseLocation(const YamlObject &, CameraConfigData &cameraConfigData); int parseRotation(const YamlObject &, CameraConfigData &cameraConfigData); + int parsePipelineConf(const YamlObject &, CameraConfigData &cameraConfigData); std::map *cameras_; YamlParser yamlParser_; @@ -63,11 +64,13 @@ int CameraHalConfig::Private::parseConfigFile(FILE *fh, * "camera0 id": * location: value * rotation: value + * pipeline_config_file: path * ... * * "camera1 id": * location: value * rotation: value + * pipeline_config_file: path * ... */ @@ -116,6 +119,10 @@ int CameraHalConfig::Private::parseCameraConfigData(const std::string &cameraId, if (parseRotation(cameraObject, cameraConfigData)) return -EINVAL; + /* Parse property "pipeline_config_file" */ + if (parsePipelineConf(cameraObject, cameraConfigData)) + return -EINVAL; + (*cameras_)[cameraId] = cameraConfigData; return 0; @@ -157,6 +164,16 @@ int CameraHalConfig::Private::parseRotation(const YamlObject &cameraObject, return 0; } +int CameraHalConfig::Private::parsePipelineConf(const YamlObject &cameraObject, + CameraConfigData &cameraConfigData) +{ + if (!cameraObject.isMember("pipeline_config_file")) + return -EINVAL; + + cameraConfigData.pipelineConfigFile = cameraObject.get("pipeline_config_file").asString(); + return 0; +} + CameraHalConfig::CameraHalConfig() : Extensible(std::make_unique()), exists_(false), valid_(false) { diff --git a/src/android/camera_hal_config.h b/src/android/camera_hal_config.h index 9df554f9..3a905c92 100644 --- a/src/android/camera_hal_config.h +++ b/src/android/camera_hal_config.h @@ -15,6 +15,7 @@ struct CameraConfigData { int facing = -1; int rotation = -1; + std::string pipelineConfigFile; }; class CameraHalConfig final : public libcamera::Extensible diff --git a/src/android/data/nautilus/camera_hal.yaml b/src/android/data/nautilus/camera_hal.yaml index faddd29e..18a2b7a9 100644 --- a/src/android/data/nautilus/camera_hal.yaml +++ b/src/android/data/nautilus/camera_hal.yaml @@ -2,7 +2,9 @@ cameras: "\\_SB_.PCI0.I2C2.CAM0": location: back rotation: 0 + pipeline_config_file: "/etc/camera/libcamera/imx258.yaml" "\\_SB_.PCI0.XHCI.RHUB.HS09-9:1.0-04f2:b647": location: front rotation: 0 + pipeline_config_file: "" diff --git a/src/android/data/nautilus/imx258.yaml b/src/android/data/nautilus/imx258.yaml new file mode 100644 index 00000000..be52e752 --- /dev/null +++ b/src/android/data/nautilus/imx258.yaml @@ -0,0 +1,248 @@ +still_mode: +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4096, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [0, 0] +- bds: [1968, 1184] + cio2: [4208, 3118] + gdc: [1920, 1080] + iff: [4182, 2516] + main: [1920, 1080] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1280, 960] + viewfinder: [0, 0] +- bds: [1968, 1184] + cio2: [4208, 3118] + gdc: [1920, 1080] + iff: [4182, 2516] + main: [1280, 720] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [640, 480] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [320, 240] + viewfinder: [0, 0] +video_mode: +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4096, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [0, 0] +- bds: [1968, 1184] + cio2: [4208, 3118] + gdc: [1920, 1080] + iff: [4182, 2516] + main: [1920, 1080] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1280, 960] + viewfinder: [0, 0] +- bds: [1968, 1184] + cio2: [4208, 3118] + gdc: [1920, 1080] + iff: [4182, 2516] + main: [1280, 720] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [640, 480] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [320, 240] + viewfinder: [0, 0] +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4160, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [4096, 3072] +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4160, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [1920, 1080] +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4096, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [1600, 1200] +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4096, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [1280, 960] +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4160, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [1280, 720] +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4096, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [640, 480] +- bds: [4208, 3116] + cio2: [4208, 3118] + gdc: [4096, 3072] + iff: [4208, 3116] + main: [4096, 3072] + viewfinder: [320, 240] +- bds: [1968, 1184] + cio2: [4208, 3118] + gdc: [1920, 1080] + iff: [4182, 2516] + main: [1920, 1080] + viewfinder: [1920, 1080] +- bds: [1968, 1440] + cio2: [4208, 3118] + gdc: [1920, 1424] + iff: [4182, 3060] + main: [1920, 1080] + viewfinder: [1600, 1200] +- bds: [1968, 1440] + cio2: [4208, 3118] + gdc: [1920, 1424] + iff: [4182, 3060] + main: [1920, 1080] + viewfinder: [1280, 960] +- bds: [1968, 1184] + cio2: [4208, 3118] + gdc: [1920, 1080] + iff: [4182, 2516] + main: [1920, 1080] + viewfinder: [1280, 720] +- bds: [1968, 1440] + cio2: [4208, 3118] + gdc: [1920, 1424] + iff: [4182, 3060] + main: [1920, 1080] + viewfinder: [640, 480] +- bds: [1968, 1440] + cio2: [4208, 3118] + gdc: [1920, 1424] + iff: [4182, 3060] + main: [1920, 1080] + viewfinder: [320, 240] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [1600, 1200] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [1280, 960] +- bds: [1680, 1240] + cio2: [4208, 3118] + gdc: [1664, 1200] + iff: [4200, 3100] + main: [1600, 1200] + viewfinder: [1280, 720] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [640, 480] +- bds: [1632, 1216] + cio2: [4208, 3118] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [320, 240] +- bds: [1344, 992] + cio2: [4208, 3118] + gdc: [1280, 960] + iff: [4200, 3100] + main: [1280, 960] + viewfinder: [1280, 960] +- bds: [1400, 1036] + cio2: [4208, 3118] + gdc: [1344, 960] + iff: [4200, 3108] + main: [1280, 960] + viewfinder: [1280, 720] +- bds: [1344, 992] + cio2: [4208, 3118] + gdc: [1280, 960] + iff: [4200, 3100] + main: [1280, 960] + viewfinder: [640, 480] +- bds: [1344, 992] + cio2: [4208, 3118] + gdc: [1280, 960] + iff: [4200, 3100] + main: [1280, 960] + viewfinder: [320, 240] +- bds: [1288, 800] + cio2: [4208, 3118] + gdc: [1280, 720] + iff: [4186, 2600] + main: [1280, 720] + viewfinder: [1280, 720] +- bds: [1312, 960] + cio2: [4208, 3118] + gdc: [1280, 952] + iff: [4182, 3060] + main: [1280, 720] + viewfinder: [640, 480] +- bds: [1312, 960] + cio2: [4208, 3118] + gdc: [1280, 952] + iff: [4182, 3060] + main: [1280, 720] + viewfinder: [320, 240] +- bds: [700, 520] + cio2: [2104, 1560] + gdc: [640, 480] + iff: [2100, 1560] + main: [640, 480] + viewfinder: [320, 240] +- bds: [364, 276] + cio2: [4208, 3118] + gdc: [320, 240] + iff: [1456, 1104] + main: [320, 240] + viewfinder: [320, 240] diff --git a/src/android/data/soraka/camera_hal.yaml b/src/android/data/soraka/camera_hal.yaml index 2e996403..6f0062e9 100644 --- a/src/android/data/soraka/camera_hal.yaml +++ b/src/android/data/soraka/camera_hal.yaml @@ -2,7 +2,9 @@ cameras: "\\_SB_.PCI0.I2C4.CAM1": location: front rotation: 0 + pipeline_config_file: "/etc/camera/libcamera/ov5670.yaml" "\\_SB_.PCI0.I2C2.CAM0": location: back rotation: 0 + pipeline_config_file: "/etc/camera/libcamera/ov13858.yaml" diff --git a/src/android/data/soraka/ov13858.yaml b/src/android/data/soraka/ov13858.yaml new file mode 100644 index 00000000..c6f4d091 --- /dev/null +++ b/src/android/data/soraka/ov13858.yaml @@ -0,0 +1,236 @@ +still_mode: +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [640, 480] + viewfinder: [0, 0] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [320, 240] + viewfinder: [0, 0] +- bds: [4216, 2386] + cio2: [4224, 3136] + gdc: [4128, 2322] + iff: [4216, 2386] + main: [1920, 1080] + viewfinder: [0, 0] +- bds: [4216, 2386] + cio2: [4224, 3136] + gdc: [4128, 2322] + iff: [4216, 2386] + main: [1280, 720] + viewfinder: [0, 0] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [1280, 960] + viewfinder: [0, 0] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [1600, 1200] + viewfinder: [0, 0] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [4096, 3072] + viewfinder: [0, 0] +video_mode: +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [4096, 3072] + viewfinder: [1920, 1080] +- bds: [1984, 1184] + cio2: [4224, 3136] + gdc: [1920, 1080] + iff: [4216, 2516] + main: [1920, 1080] + viewfinder: [0, 0] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [4096, 3072] + viewfinder: [1280, 720] +- bds: [1984, 1184] + cio2: [4224, 3136] + gdc: [1920, 1080] + iff: [4216, 2516] + main: [1280, 720] + viewfinder: [0, 0] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [4096, 3072] + viewfinder: [640, 480] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [4096, 3072] + viewfinder: [1280, 960] +- bds: [1632, 1216] + cio2: [4224, 3136] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1280, 960] + viewfinder: [0, 0] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [4096, 3072] + viewfinder: [1600, 1200] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [4096, 3072] + viewfinder: [320, 240] +- bds: [1296, 800] + cio2: [4224, 3136] + gdc: [1280, 720] + iff: [4212, 2600] + main: [1280, 720] + viewfinder: [1280, 720] +- bds: [1296, 960] + cio2: [4224, 3136] + gdc: [1280, 952] + iff: [4212, 3120] + main: [1280, 720] + viewfinder: [640, 480] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4160, 3120] + iff: [4224, 3136] + main: [1920, 1080] + viewfinder: [1600, 1200] +- bds: [1984, 1472] + cio2: [4224, 3136] + gdc: [1920, 1432] + iff: [4216, 3128] + main: [1920, 1080] + viewfinder: [1600, 1200] +- bds: [1296, 960] + cio2: [4224, 3136] + gdc: [1280, 952] + iff: [4212, 3120] + main: [1280, 720] + viewfinder: [320, 240] +- bds: [1984, 1184] + cio2: [4224, 3136] + gdc: [1920, 1080] + iff: [4216, 2516] + main: [1920, 1080] + viewfinder: [1920, 1080] +- bds: [1984, 1184] + cio2: [4224, 3136] + gdc: [1920, 1080] + iff: [4216, 2516] + main: [1920, 1080] + viewfinder: [1280, 720] +- bds: [1984, 1472] + cio2: [4224, 3136] + gdc: [1920, 1432] + iff: [4216, 3128] + main: [1920, 1080] + viewfinder: [640, 480] +- bds: [1984, 1472] + cio2: [4224, 3136] + gdc: [1920, 1432] + iff: [4216, 3128] + main: [1920, 1080] + viewfinder: [1280, 960] +- bds: [1984, 1472] + cio2: [4224, 3136] + gdc: [1920, 1432] + iff: [4216, 3128] + main: [1920, 1080] + viewfinder: [320, 240] +- bds: [1688, 1248] + cio2: [4224, 3136] + gdc: [1664, 1200] + iff: [4220, 3120] + main: [1600, 1200] + viewfinder: [1280, 720] +- bds: [1632, 1216] + cio2: [4224, 3136] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [640, 480] +- bds: [1632, 1216] + cio2: [4224, 3136] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [1280, 960] +- bds: [1632, 1216] + cio2: [4224, 3136] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [1600, 1200] +- bds: [1632, 1216] + cio2: [4224, 3136] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [320, 240] +- bds: [1376, 1024] + cio2: [4224, 3136] + gdc: [1344, 960] + iff: [4214, 3136] + main: [1280, 960] + viewfinder: [1280, 720] +- bds: [1344, 992] + cio2: [4224, 3136] + gdc: [1280, 960] + iff: [4200, 3100] + main: [1280, 960] + viewfinder: [640, 480] +- bds: [1344, 992] + cio2: [4224, 3136] + gdc: [1280, 960] + iff: [4200, 3100] + main: [1280, 960] + viewfinder: [1280, 960] +- bds: [1344, 992] + cio2: [4224, 3136] + gdc: [1280, 960] + iff: [4200, 3100] + main: [1280, 960] + viewfinder: [320, 240] +- bds: [1632, 1216] + cio2: [4224, 3136] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [640, 480] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4224, 3136] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [320, 240] + viewfinder: [0, 0] +- bds: [1632, 1216] + cio2: [4224, 3136] + gdc: [1600, 1200] + iff: [4182, 3116] + main: [1600, 1200] + viewfinder: [0, 0] +- bds: [4224, 3136] + cio2: [4224, 3136] + gdc: [4096, 3072] + iff: [4224, 3136] + main: [4096, 3072] + viewfinder: [0, 0] diff --git a/src/android/data/soraka/ov5670.yaml b/src/android/data/soraka/ov5670.yaml new file mode 100644 index 00000000..35ad8684 --- /dev/null +++ b/src/android/data/soraka/ov5670.yaml @@ -0,0 +1,242 @@ +still_mode: +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [1600, 1200] + viewfinder: [0, 0] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [1280, 960] + viewfinder: [0, 0] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [2560, 1920] + viewfinder: [0, 0] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [1920, 1080] + viewfinder: [0, 0] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [1280, 720] + viewfinder: [0, 0] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [640, 480] + viewfinder: [0, 0] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [320, 240] + viewfinder: [0, 0] +video_mode: +- bds: [1952, 1152] + cio2: [2592, 1944] + gdc: [1920, 1080] + iff: [2562, 1512] + main: [1920, 1080] + viewfinder: [1920, 1080] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [2560, 1920] + viewfinder: [1920, 1080] +- bds: [1952, 1152] + cio2: [2592, 1944] + gdc: [1920, 1080] + iff: [2562, 1512] + main: [1920, 1080] + viewfinder: [0, 0] +- bds: [1952, 1152] + cio2: [2592, 1944] + gdc: [1920, 1080] + iff: [2562, 1512] + main: [1920, 1080] + viewfinder: [1280, 720] +- bds: [1296, 972] + cio2: [2592, 1944] + gdc: [1280, 960] + iff: [2592, 1944] + main: [1280, 960] + viewfinder: [1280, 720] +- bds: [1296, 804] + cio2: [2592, 1944] + gdc: [1280, 720] + iff: [2592, 1608] + main: [1280, 720] + viewfinder: [1280, 720] +- bds: [1632, 1216] + cio2: [2592, 1944] + gdc: [1600, 1200] + iff: [2550, 1900] + main: [1600, 1200] + viewfinder: [1280, 720] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [2560, 1920] + viewfinder: [1280, 720] +- bds: [1952, 1152] + cio2: [2592, 1944] + gdc: [1920, 1080] + iff: [2562, 1512] + main: [1280, 720] + viewfinder: [0, 0] +- bds: [1952, 1472] + cio2: [2592, 1944] + gdc: [1920, 1440] + iff: [2562, 1932] + main: [1920, 1080] + viewfinder: [640, 480] +- bds: [1296, 972] + cio2: [2592, 1944] + gdc: [1280, 960] + iff: [2592, 1944] + main: [1280, 960] + viewfinder: [640, 480] +- bds: [1296, 972] + cio2: [2592, 1944] + gdc: [1280, 960] + iff: [2592, 1944] + main: [1280, 720] + viewfinder: [640, 480] +- bds: [1632, 1216] + cio2: [2592, 1944] + gdc: [1600, 1200] + iff: [2550, 1900] + main: [1600, 1200] + viewfinder: [640, 480] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [2560, 1920] + viewfinder: [640, 480] +- bds: [1632, 1216] + cio2: [2592, 1944] + gdc: [1600, 1200] + iff: [2550, 1900] + main: [1600, 1200] + viewfinder: [1600, 1200] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [2560, 1920] + viewfinder: [1600, 1200] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [1600, 1200] + viewfinder: [0, 0] +- bds: [1952, 1472] + cio2: [2592, 1944] + gdc: [1920, 1440] + iff: [2562, 1932] + main: [1920, 1080] + viewfinder: [1280, 960] +- bds: [1296, 972] + cio2: [2592, 1944] + gdc: [1280, 960] + iff: [2592, 1944] + main: [1280, 960] + viewfinder: [1280, 960] +- bds: [1632, 1216] + cio2: [2592, 1944] + gdc: [1600, 1200] + iff: [2550, 1900] + main: [1600, 1200] + viewfinder: [1280, 960] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [2560, 1920] + viewfinder: [1280, 960] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [1280, 960] + viewfinder: [0, 0] +- bds: [1952, 1472] + cio2: [2592, 1944] + gdc: [1920, 1440] + iff: [2562, 1932] + main: [1920, 1080] + viewfinder: [320, 240] +- bds: [1296, 972] + cio2: [2592, 1944] + gdc: [1280, 960] + iff: [2592, 1944] + main: [1280, 960] + viewfinder: [320, 240] +- bds: [1296, 972] + cio2: [2592, 1944] + gdc: [1280, 960] + iff: [2592, 1944] + main: [1280, 720] + viewfinder: [320, 240] +- bds: [1632, 1216] + cio2: [2592, 1944] + gdc: [1600, 1200] + iff: [2550, 1900] + main: [1600, 1200] + viewfinder: [320, 240] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [2560, 1920] + viewfinder: [2560, 1920] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [2560, 1920] + viewfinder: [0, 0] +- bds: [1296, 972] + cio2: [2592, 1944] + gdc: [1280, 960] + iff: [2592, 1944] + main: [640, 480] + viewfinder: [0, 0] +- bds: [1296, 972] + cio2: [2592, 1944] + gdc: [1280, 960] + iff: [2592, 1944] + main: [320, 240] + viewfinder: [0, 0] +- bds: [976, 736] + cio2: [2576, 1936] + gdc: [960, 720] + iff: [2562, 1932] + main: [960, 720] + viewfinder: [320, 240] +- bds: [2572, 1936] + cio2: [2576, 1936] + gdc: [2560, 1920] + iff: [2572, 1936] + main: [2560, 1920] + viewfinder: [320, 240] +- bds: [2592, 1944] + cio2: [2592, 1944] + gdc: [2560, 1920] + iff: [2592, 1944] + main: [1920, 1080] + viewfinder: [1600, 1200]