[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1688002673-28493-1-git-send-email-shengjiu.wang@nxp.com>
Date: Thu, 29 Jun 2023 09:37:47 +0800
From: Shengjiu Wang <shengjiu.wang@....com>
To: tfiga@...omium.org, m.szyprowski@...sung.com, mchehab@...nel.org,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
shengjiu.wang@...il.com, Xiubo.Lee@...il.com, festevam@...il.com,
nicoleotsuka@...il.com, lgirdwood@...il.com, broonie@...nel.org,
perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org,
linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH 0/6] Add audio support in v4l2 framework
Audio signal processing has the requirement for memory to
memory similar as Video.
This patch is to add this support in v4l2 framework, defined
new buffer type V4L2_BUF_TYPE_AUDIO_CAPTURE and
V4L2_BUF_TYPE_AUDIO_OUTPUT, defined new format v4l2_audio_format
for audio case usage.
The created audio device is named "/dev/audioX".
And add memory to memory support for two kinds of i.MX ASRC
module
Shengjiu Wang (6):
media: v4l2: Add audio capture and output support
ASoC: fsl_asrc: define functions for memory to memory usage
ASoC: fsl_easrc: define functions for memory to memory usage
ASoC: fsl_asrc: Add memory to memory driver
ASoC: fsl_asrc: enable memory to memory function
ASoC: fsl_easrc: enable memory to memory function
.../media/common/videobuf2/videobuf2-v4l2.c | 4 +
drivers/media/v4l2-core/v4l2-dev.c | 17 +
drivers/media/v4l2-core/v4l2-ioctl.c | 52 ++
include/media/v4l2-dev.h | 2 +
include/media/v4l2-ioctl.h | 34 +
include/uapi/linux/videodev2.h | 19 +
sound/soc/fsl/Kconfig | 13 +
sound/soc/fsl/Makefile | 2 +
sound/soc/fsl/fsl_asrc.c | 175 +++-
sound/soc/fsl/fsl_asrc.h | 2 +
sound/soc/fsl/fsl_asrc_common.h | 54 ++
sound/soc/fsl/fsl_asrc_m2m.c | 878 ++++++++++++++++++
sound/soc/fsl/fsl_asrc_m2m.h | 48 +
sound/soc/fsl/fsl_easrc.c | 255 ++++-
sound/soc/fsl/fsl_easrc.h | 6 +
15 files changed, 1557 insertions(+), 4 deletions(-)
create mode 100644 sound/soc/fsl/fsl_asrc_m2m.c
create mode 100644 sound/soc/fsl/fsl_asrc_m2m.h
--
2.34.1
Powered by blists - more mailing lists