[libcamera-devel] [PATCH 6/6] libcamera: pipeline: rkisp1: Add support for XRGB8888

paul.elder at ideasonboard.com paul.elder at ideasonboard.com
Thu Oct 1 05:22:08 CEST 2020


On Wed, Sep 30, 2020 at 10:08:31PM +0200, Niklas Söderlund wrote:
> The self path support XRGB8888, list it as a supported format.

s/support/supports

> 
> Signed-off-by: Niklas Söderlund <niklas.soderlund at ragnatech.se>

Reviewed-by: Paul Elder <paul.elder at ideasonboard.com>

> ---
>  src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp
> index ff995286073db2a3..e98515c878aa451b 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 */
>  
> -- 
> 2.28.0
> 
> _______________________________________________
> libcamera-devel mailing list
> libcamera-devel at lists.libcamera.org
> https://lists.libcamera.org/listinfo/libcamera-devel


More information about the libcamera-devel mailing list