video: driver: v4l2 compliance fixes for test formats

v4l2 compliance fixes for test formats

fixes:
test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
test VIDIOC_G_FMT: OK
test VIDIOC_TRY_FMT: OK
test VIDIOC_S_FMT: OK

Change-Id: I23c193ab5785bb10d070fa3085678d9669f53a92
Signed-off-by: Darshana Patil <quic_darshana@quicinc.com>
This commit is contained in:
Darshana Patil
2022-03-23 12:26:05 -07:00
parent 5fd0e0a094
commit accb365696
7 changed files with 119 additions and 127 deletions

View File

@@ -134,6 +134,8 @@
*/
#define MAX_DPB_LIST_ARRAY_SIZE (16 * 4)
#define MAX_DPB_LIST_PAYLOAD_SIZE (16 * 4 * 4)
/* Default metadata size */
#define MSM_VIDC_METADATA_SIZE ALIGN(16 * 1024, SZ_4K)
enum msm_vidc_domain_type {
MSM_VIDC_ENCODER = BIT(0),