Skip to content

Commit

Permalink
media: stm32: dcmipp: fix 32bit RGB format in pixelcap
Browse files Browse the repository at this point in the history
Correct mapping between the V4L2 PIX format and DCMIPP formats.

Change-Id: Ie38561b1817f32fd8d8bc37565e7ccd24633018f
Signed-off-by: Alain Volmat <[email protected]>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/422112
Tested-by: Alain VOLMAT <[email protected]>
Domain-Review: Philippe CORNU <[email protected]>
Reviewed-by: Philippe CORNU <[email protected]>
ACI: CITOOLS <[email protected]>
Reviewed-by: Alain VOLMAT <[email protected]>
  • Loading branch information
Alain Volmat authored and fourmone committed Dec 3, 2024
1 parent 9c4c8db commit f1d0da4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ static const struct dcmipp_pixelcap_pix_map dcmipp_pixelcap_pix_map_list[] = {
PIXMAP_MBUS_PFMT(YUV8_1X24, GREY, 1, DCMIPP_PxPPCR_FORMAT_Y8, 0),
PIXMAP_MBUS_PFMT(RGB888_1X24, RGB24, 1, DCMIPP_PxPPCR_FORMAT_RGB888, 1),
PIXMAP_MBUS_PFMT(RGB888_1X24, BGR24, 1, DCMIPP_PxPPCR_FORMAT_RGB888, 0),
PIXMAP_MBUS_PFMT(RGB888_1X24, ARGB32, 1, DCMIPP_PxPPCR_FORMAT_ARGB8888, 1),
PIXMAP_MBUS_PFMT(RGB888_1X24, ARGB32, 1, DCMIPP_PxPPCR_FORMAT_RGBA8888, 1),
PIXMAP_MBUS_PFMT(RGB888_1X24, ABGR32, 1, DCMIPP_PxPPCR_FORMAT_ARGB8888, 0),
PIXMAP_MBUS_PFMT(RGB888_1X24, RGBA32, 1, DCMIPP_PxPPCR_FORMAT_RGBA8888, 1),
PIXMAP_MBUS_PFMT(RGB888_1X24, RGBA32, 1, DCMIPP_PxPPCR_FORMAT_ARGB8888, 1),
PIXMAP_MBUS_PFMT(RGB888_1X24, BGRA32, 1, DCMIPP_PxPPCR_FORMAT_RGBA8888, 0),

/* Semiplanar & planar formats (plane_nb > 1) are only supported on main pipe */
Expand Down

0 comments on commit f1d0da4

Please sign in to comment.