diff options
| author | Arthur Moraes do Lago <[email protected]> | 2019-10-02 00:46:33 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-10-24 22:04:45 +0000 |
| commit | 76df2e6c7c782775e41153802489904ce3bd55b8 (patch) | |
| tree | 574d6927d82524dafe79b20a4f12fe604e22353b /drivers/media/platform/vimc/vimc-common.h | |
| parent | media: vimc: move the dev field of each entity to vimc_ent_dev (diff) | |
| download | kernel-76df2e6c7c782775e41153802489904ce3bd55b8.tar.gz kernel-76df2e6c7c782775e41153802489904ce3bd55b8.zip | |
media: vimc: Implement debayer control for mean window size
Add mean window size parameter for debayer filter as a control in
vimc-debayer.
vimc-debayer was patched to allow changing mean window parameter
of the filter without needing to reload the driver. The parameter
can now be set using a v4l2-ctl control(mean_window_size).
Co-developed-by: Laís Pessine do Carmo <[email protected]>
Signed-off-by: Laís Pessine do Carmo <[email protected]>
Signed-off-by: Arthur Moraes do Lago <[email protected]>
Acked-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-common.h')
| -rw-r--r-- | drivers/media/platform/vimc/vimc-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/vimc/vimc-common.h b/drivers/media/platform/vimc/vimc-common.h index 348ee3b0fce2..c75401a36312 100644 --- a/drivers/media/platform/vimc/vimc-common.h +++ b/drivers/media/platform/vimc/vimc-common.h @@ -19,6 +19,7 @@ #define VIMC_CID_VIMC_BASE (0x00f00000 | 0xf000) #define VIMC_CID_VIMC_CLASS (0x00f00000 | 1) #define VIMC_CID_TEST_PATTERN (VIMC_CID_VIMC_BASE + 0) +#define VIMC_CID_MEAN_WIN_SIZE (VIMC_CID_VIMC_BASE + 1) #define VIMC_FRAME_MAX_WIDTH 4096 #define VIMC_FRAME_MAX_HEIGHT 2160 |
