video: driver: request api changes for dynamic controls
- Request api allows to synchronize controls along with buffers. - Client allocates a request fd. This request fd is associated with control and set using s_ext_ctrls. Such controls are stored by the framework and not applied immediately. - Request fd is also associated with input qbuf and queued to driver. Following this actual request is queued. Buffers do not enter the queue untill the request is queued. - As part of qbuf, driver call request_setup() which inturn sets the control to driver. Change-Id: I316c4dc2a0091b21059230be5ee5fd6379259456 Signed-off-by: Darshana Patil <quic_darshana@quicinc.com>
此提交包含在:
@@ -38,4 +38,6 @@ int msm_vidc_start_streaming(struct vb2_queue *q, unsigned int count);
|
||||
void msm_vidc_stop_streaming(struct vb2_queue *q);
|
||||
void msm_vidc_buf_queue(struct vb2_buffer *vb2);
|
||||
void msm_vidc_buf_cleanup(struct vb2_buffer *vb);
|
||||
#endif // _MSM_VIDC_VB2_H_
|
||||
int msm_vidc_buf_out_validate(struct vb2_buffer *vb);
|
||||
void msm_vidc_buf_request_complete(struct vb2_buffer *vb);
|
||||
#endif // _MSM_VIDC_VB2_H_
|
||||
|
新增問題並參考
封鎖使用者