summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMing Qian <ming.qian@oss.nxp.com>2026-02-03 11:23:41 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-03-23 13:18:33 +0300
commitf1670645365515ffeae100073603246a622ad3bf (patch)
tree78b3713be7421e46622d2325ca6263f69e712db4 /include
parent03b5048a21bb542ee77990890ee1ad67732e94ff (diff)
downloadlinux-f1670645365515ffeae100073603246a622ad3bf.tar.xz
media: imx-jpeg: Add support for encoder v1 descriptor configuration
Support the upgraded JPEG encoder v1 found on i.MX952 SoC. Detect the encoder hardware version via the version register. The v1 encoder uses an expanded descriptor format that allows all encoding parameters, including JPEG quality, to be configured directly in the descriptor. This removes the manual register-based configuration step required by v0 and reduces the interrupt count from two to one per frame. V0 encoding flow: 1. Write quality to registers -> trigger config interrupt 2. Start encoding -> trigger completion interrupt V1 encoding flow: 1. Configure descriptor with all parameters including quality 2. Start encoding -> trigger completion interrupt Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Ming Qian <ming.qian@oss.nxp.com> Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions