diff options
| author | Ming Qian <ming.qian@oss.nxp.com> | 2026-02-03 11:23:40 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-03-23 13:18:33 +0300 |
| commit | 03b5048a21bb542ee77990890ee1ad67732e94ff (patch) | |
| tree | 0b3b9ed4dfcedbadcb16adc2b0c60474f87b106b /include | |
| parent | 809307970960e3de098c7749df86956a304ee126 (diff) | |
| download | linux-03b5048a21bb542ee77990890ee1ad67732e94ff.tar.xz | |
media: imx-jpeg: Add encoder ops layer for hardware abstraction
Introduce mxc_jpeg_enc_ops function pointer structure to abstract
encoder configuration differences between hardware versions.
Extract the existing two-phase manual configuration into dedicated
functions (enter_config_mode/exit_config_mode) for v0 hardware.
Add setup_desc callback placeholder for future v1 hardware support
which will use descriptor-based configuration.
Store the extended sequential mode flag in the context to avoid
recalculating it during configuration phases.
No functional change.
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
