summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-09-30 15:09:27 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-10-01 22:23:25 +0200
commitd687b004d1d4a5f95b5acbe44a79f2933f72525f (patch)
tree735a8669d860a66779f2ef9d8d90cc1d37571d90
parentdcf2a8ce1026d13b16d5cba065dec5c9bb78a0a1 (diff)
libcamera: pipeline: rkisp1: Remove support for YVYU and VYUY
The upstream driver has dropped support for YVYU and VYUY [1], remove support from the pipeline handler. 1. 3acb3e06baf64e28 ("media: staging: rkisp1: cap: remove unsupported formats") 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.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp
index ee152c04..410e9f5d 100644
--- a/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp
+++ b/src/libcamera/pipeline/rkisp1/rkisp1_path.cpp
@@ -195,10 +195,8 @@ void RkISP1Path::stop()
namespace {
constexpr Size RKISP1_RSZ_MP_SRC_MIN{ 32, 16 };
constexpr Size RKISP1_RSZ_MP_SRC_MAX{ 4416, 3312 };
-constexpr std::array<PixelFormat, 7> RKISP1_RSZ_MP_FORMATS{
+constexpr std::array<PixelFormat, 5> RKISP1_RSZ_MP_FORMATS{
formats::YUYV,
- formats::YVYU,
- formats::VYUY,
formats::NV16,
formats::NV61,
formats::NV21,
@@ -208,10 +206,8 @@ constexpr std::array<PixelFormat, 7> 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, 5> RKISP1_RSZ_SP_FORMATS{
formats::YUYV,
- formats::YVYU,
- formats::VYUY,
formats::NV16,
formats::NV61,
formats::NV21,