Message ID | 20250724065256.75175-5-dan.scally@ideasonboard.com |
---|---|
State | New |
Headers | show |
Series |
|
Related | show |
Quoting Daniel Scally (2025-07-24 07:52:50) > Add an entry to the BayerFormat::Packing enum to denote pixel formats > encoding bayer data and packed following the Renesas RZ/G2L CRU style. > Can this squash into 6/10? or is it used in 5/10 ? > Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> > --- > include/libcamera/internal/bayer_format.h | 1 + > src/libcamera/bayer_format.cpp | 2 ++ > 2 files changed, 3 insertions(+) > > diff --git a/include/libcamera/internal/bayer_format.h b/include/libcamera/internal/bayer_format.h > index 9b6b5b58..4606a691 100644 > --- a/include/libcamera/internal/bayer_format.h > +++ b/include/libcamera/internal/bayer_format.h > @@ -37,6 +37,7 @@ public: > IPU3 = 2, > PISP1 = 3, > PISP2 = 4, > + CRU = 5, > }; > > constexpr BayerFormat() > diff --git a/src/libcamera/bayer_format.cpp b/src/libcamera/bayer_format.cpp > index 89fe10ed..686a5c1e 100644 > --- a/src/libcamera/bayer_format.cpp > +++ b/src/libcamera/bayer_format.cpp > @@ -68,6 +68,8 @@ namespace libcamera { > * \brief Format uses PISP mode 1 compression > * \var BayerFormat::Packing::PISP2 > * \brief Format uses PISP mode 2 compression > + * \var BayerFormat::Packing::CRU > + * \brief Format uses Renesas RZ/G2L CRU style packing > */ > > namespace { > -- > 2.30.2 >
diff --git a/include/libcamera/internal/bayer_format.h b/include/libcamera/internal/bayer_format.h index 9b6b5b58..4606a691 100644 --- a/include/libcamera/internal/bayer_format.h +++ b/include/libcamera/internal/bayer_format.h @@ -37,6 +37,7 @@ public: IPU3 = 2, PISP1 = 3, PISP2 = 4, + CRU = 5, }; constexpr BayerFormat() diff --git a/src/libcamera/bayer_format.cpp b/src/libcamera/bayer_format.cpp index 89fe10ed..686a5c1e 100644 --- a/src/libcamera/bayer_format.cpp +++ b/src/libcamera/bayer_format.cpp @@ -68,6 +68,8 @@ namespace libcamera { * \brief Format uses PISP mode 1 compression * \var BayerFormat::Packing::PISP2 * \brief Format uses PISP mode 2 compression + * \var BayerFormat::Packing::CRU + * \brief Format uses Renesas RZ/G2L CRU style packing */ namespace {
Add an entry to the BayerFormat::Packing enum to denote pixel formats encoding bayer data and packed following the Renesas RZ/G2L CRU style. Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> --- include/libcamera/internal/bayer_format.h | 1 + src/libcamera/bayer_format.cpp | 2 ++ 2 files changed, 3 insertions(+)