diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-09-30 16:23:14 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-10-01 22:23:25 +0200 |
commit | d4432da031b76a17d437d4f4b6ff56d657a08051 (patch) | |
tree | 4f42ace79602e43eef0f1a0cc624d0c97d65dd51 | |
parent | 4fd6bb33202a83017bc32625561273fd3a888d9b (diff) |
libcamera: pipeline: rkisp1: Add support for XRGB8888
The self path supports XRGB8888, list it as a supported format.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r-- | src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp index ff995286..e98515c8 100644 --- a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp +++ b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp @@ -219,7 +219,7 @@ constexpr std::array<PixelFormat, 6> RKISP1_RSZ_MP_FORMATS{ constexpr Size RKISP1_RSZ_SP_SRC_MIN{ 32, 16 }; constexpr Size RKISP1_RSZ_SP_SRC_MAX{ 1920, 1920 }; -constexpr std::array<PixelFormat, 7> RKISP1_RSZ_SP_FORMATS{ +constexpr std::array<PixelFormat, 8> RKISP1_RSZ_SP_FORMATS{ formats::YUYV, formats::NV16, formats::NV61, @@ -227,7 +227,7 @@ constexpr std::array<PixelFormat, 7> RKISP1_RSZ_SP_FORMATS{ formats::NV12, formats::R8, formats::RGB565, - /* \todo Add support for BGR888 */ + formats::XRGB8888, }; } /* namespace */ |