summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/imx-sw-pdm
Commit message (Collapse)AuthorAgeFilesLines
* imx-dpu-g2d,imx-gpu-viv,imx-sw-pdm: Use gcompat with muslKhem Raj2022-09-201-0/+4
| | | | | | | | | | | These recipes contain pre-built binaries and libraries which are built against glibc, we have a way to run such binaries on musl systems via gcompat stubs, however, we have to fool the system to ignore the missing rdeps on libc.so.6, since we know they will be available via gcompat being in rdep. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 61718793a4c04c768ecc829372b9d4de3c6c463b)
* imx-sw-pdm: Upgrade 1.0.1 -> 1.0.2Tom Hochstein2022-09-051-3/+3
| | | | | | | | | | | | Fixes: 738ca90 MMFMWK-9001-5: build: configure: bump version 1.0.2 9e2e282 MMFMWK-9001-4: release: imx-sw-pdm: rebuild using latest lib 2979b5c MMFMWK-9001-3: test: output sample rate and samples per channel 128e3cc MMFMWK-9001-2: release: libimxswpdm: rebuild with clang 12.0.0 a9eb48f MMFMWK-9001-1: pdmToPcm_simd: module.mk: use clang++ compiler Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit e333a68f1d261ee282086f502042d1959cae0d4d)
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* layer: Convert to new override syntaxKhem Raj2021-08-121-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-sw-pdm: Add PDM to PCM software decimation libraryTom Hochstein2021-04-301-0/+18
NXP PDM to PCM software decimation SIMD library. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>