v4l2-compliance: Add handling for QC08C and QC10C format
Commit Message
Add QC08C and QC10C color formats while determining the codec mask
as these two formats are defined as compressed formats.
Signed-off-by: Dikshita Agarwal <quic_dikshita@quicinc.com>
---
utils/v4l2-compliance/v4l2-compliance.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
@@ -553,6 +553,10 @@ static void determine_codec_mask(struct node &node)
mask |= STATELESS_ENCODER;
break;
#endif
+ case V4L2_PIX_FMT_QC08C:
+ case V4L2_PIX_FMT_QC10C:
+ num_compressed_cap_fmts--;
+ break;
default:
return;
}
@@ -596,6 +600,10 @@ static void determine_codec_mask(struct node &node)
case V4L2_PIX_FMT_FWHT_STATELESS:
mask |= STATELESS_DECODER;
break;
+ case V4L2_PIX_FMT_QC08C:
+ case V4L2_PIX_FMT_QC10C:
+ num_compressed_out_fmts--;
+ break;
default:
return;
}