video: driver: add support to send input meta buffer via request

Client can enable V4L2_CID_MPEG_VIDC_INPUT_METADATA_VIA_REQUEST_ENABLE
control and send input metadata buffer via request.

Change-Id: Icccdada8253d1d0291c01e2e539968141f7ddd2c
Signed-off-by: Darshana Patil <quic_darshana@quicinc.com>
Цей коміт міститься в:
Darshana Patil
2022-01-31 10:02:43 -08:00
джерело 7c4952934b
коміт 9978dc376e
9 змінених файлів з 176 додано та 21 видалено

Переглянути файл

@@ -452,5 +452,7 @@ bool res_is_less_than(u32 width, u32 height,
bool res_is_less_than_or_equal_to(u32 width, u32 height,
u32 ref_width, u32 ref_height);
int msm_vidc_get_properties(struct msm_vidc_inst *inst);
int msm_vidc_create_input_metadata_buffer(struct msm_vidc_inst *inst, u32 buf_fd);
int msm_vidc_update_input_meta_buffer_index(struct msm_vidc_inst *inst, struct vb2_buffer *vb2);
#endif // _MSM_VIDC_DRIVER_H_