Skip to content

Commit 948b130

Browse files
camxlib: update Kodiak to 1.0.12 and Lemans to 1.0.13 (#1644)
Kodiak is updated to the 1.0.12 revision, enabling EIS (Electronic Image Stabilization), LDC (Lens Distortion Correction), SHDRV2, and SHDRV3. Static capability tags are published when dependent libraries are available on the target. Lemans is updated to the 1.0.13 revision, enabling EIS, LDC, SHDRV2, and SHDRV3. Static capability tags are published when dependent libraries are available. SW-TNR is also enabled on supported targets, with the static capability published accordingly.
2 parents f60363a + eae047c commit 948b130

File tree

3 files changed

+48
-30
lines changed

3 files changed

+48
-30
lines changed

dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-kodiak_1.0.11.bb renamed to dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-kodiak_1.0.12.bb

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,20 @@ LICENSE = "LICENSE.qcom-2"
88
LIC_FILES_CHKSUM = "file://usr/share/doc/${BPN}/LICENSE.QCOM-2.txt;md5=165287851294f2fb8ac8cbc5e24b02b0 \
99
file://usr/share/doc/${BPN}/NOTICE;md5=04facc2e07e3d41171a931477be0c690"
1010

11-
PBT_BUILD_DATE = "260211"
11+
PBT_BUILD_DATE = "260224.1"
1212
SRC_URI = " \
1313
https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto/${BPN}_${PV}_armv8-2a.tar.gz;name=camxlib \
1414
https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto/camx-kodiak_${PV}_armv8-2a.tar.gz;name=camx \
1515
https://qartifactory-edge.qualcomm.com/artifactory/qsc_releases/software/chip/component/camx.qclinux.0.0/${PBT_BUILD_DATE}/prebuilt_yocto/chicdk-kodiak_${PV}_armv8-2a.tar.gz;name=chicdk \
1616
"
17-
SRC_URI[camxlib.sha256sum] = "abe341eaee99e05ccfacf37238380660630a0b671348a559d6ea918b50ab8634"
18-
SRC_URI[camx.sha256sum] = "7311b3d3c05a8899c2289e00682fd16e23fdf4ca00205ed6bd4ea2f63f35c371"
19-
SRC_URI[chicdk.sha256sum] = "f76beb5658f0778db2199c9809ed18e9b4f46dd36e67d5839b7d36561298be1a"
17+
SRC_URI[camxlib.sha256sum] = "dd2c33864ad038a5868f2a7b3c95fd13573ec1f2838960c6dec27668ac2252ae"
18+
SRC_URI[camx.sha256sum] = "734fcff71ca3d863aa7ce3de5a889a92ec96a56d42025abb36dd4c85e99080cf"
19+
SRC_URI[chicdk.sha256sum] = "56c96dc899c9c71a66025b5ffa055c99eca5e77619ea21d3349e1f257c76e510"
2020

2121
S = "${UNPACKDIR}"
2222

23-
DEPENDS += "glib-2.0 fastrpc protobuf-camx libxml2 virtual/egl virtual/libgles2 virtual/libopencl1"
23+
DEPENDS += "glib-2.0 fastrpc protobuf-camx libxml2 virtual/egl virtual/libgles2 qmi-framework sensinghub qcom-sensors-binaries \
24+
${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'qcom-adreno virtual/libopencl1', '', d)}"
2425

2526
# This package is currently only used and tested on ARMv8 (aarch64) machines.
2627
# Therefore, builds for other architectures are not necessary and are explicitly excluded.
@@ -60,6 +61,7 @@ do_install() {
6061
PACKAGE_BEFORE_PN += "camx-kodiak chicdk-kodiak"
6162
RDEPENDS:${PN} += "chicdk-kodiak"
6263
RDEPENDS:${PN}-dev += "camxcommon-headers-dev"
64+
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'virtual-opencl-icd', '', d)} sensinghub qcom-sensors-binaries"
6365

6466
FILES:camx-kodiak = "\
6567
${libdir}/libcamera_hardware_kodiak*${SOLIBS} \
@@ -96,9 +98,15 @@ FILES:${PN} = "\
9698
${libdir}/camx/kodiak/*${SOLIBS} \
9799
${libdir}/camx/kodiak/hw/*${SOLIBS} \
98100
${libdir}/camx/kodiak/camera/components/*${SOLIBS} \
101+
${@bb.utils.contains('DISTRO_FEATURES', 'opencl', '${libdir}/camx/kodiak/*.cl', '', d)} \
99102
"
100103
FILES:${PN}-dev = "\
101104
${libdir}/*${SOLIBSDEV} \
102105
"
103106
# Preserve ${PN} naming to avoid ambiguity in package identification.
104107
DEBIAN_NOAUTONAME:${PN} = "1"
108+
109+
# Algo librarires are pre-compiled, pre-stripped.
110+
# Skipping QA checks: 'already-stripped' because:
111+
# - Library files are Pre-stripped (already-stripped)
112+
INSANE_SKIP:${PN} = "already-stripped"

dynamic-layers/openembedded-layer/recipes-multimedia/camx/camxlib-lemans_1.0.12.bb

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
PLATFORM = "lemans"
2+
PBT_BUILD_DATE = "260224.1"
3+
4+
require common.inc
5+
6+
SRC_URI[camxlib.sha256sum] = "7b513e631acac4e62202f96acf7ca15dfe322094d11234288b89c529634e37f1"
7+
SRC_URI[camx.sha256sum] = "64f30d84d8c0b5dfcada0f3bbabc884b3d536b7c91d471404d20e55b3dcf69a1"
8+
SRC_URI[chicdk.sha256sum] = "02ad87b0e960364dcb4bb716b2a55f9498df14838ddc249973670fdb2b9e1111"
9+
SRC_URI[camxcommon.sha256sum] = "ec8481f6b5360336de9b1092c5a7acd2f90d0890993dc64233eaef1a67ec8866"
10+
11+
DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'qcom-adreno virtual/libopencl1', '', d)}"
12+
13+
do_install:append() {
14+
# Copy json only when /etc folder exists in ${S}
15+
if [ -d "${S}/etc" ]; then
16+
install -d ${D}${sysconfdir}/camera/test/NHX/
17+
cp -r ${S}/etc/camera/test/NHX/*.json ${D}${sysconfdir}/camera/test/NHX/
18+
fi
19+
}
20+
21+
RPROVIDES:${PN} = "camxlib-monaco"
22+
PACKAGE_BEFORE_PN += "camx-nhx"
23+
RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', 'virtual-opencl-icd', '', d)}"
24+
25+
FILES:camx-nhx = "\
26+
${bindir}/nhx.sh \
27+
${sysconfdir}/camera/test/NHX/ \
28+
"
29+
30+
FILES:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'opencl', '${libdir}/camx/${PLATFORM}/*.cl ${libdir}/camx/${PLATFORM}/libmctf_cl_program.bin', '', d)}"
31+
32+
# Algo librarires are pre-compiled, pre-stripped.
33+
# Skipping QA checks: 'already-stripped' because:
34+
# - Library files are Pre-stripped (already-stripped)
35+
INSANE_SKIP:${PN} = "already-stripped"

0 commit comments

Comments
 (0)