xref: /linux/drivers/media/test-drivers/visl/visl-video.h (revision 98b3cd0bfc5c07809166421e8b8f82bf74ee8970)
10c078e31SDaniel Almeida /* SPDX-License-Identifier: GPL-2.0 */
20c078e31SDaniel Almeida /*
30c078e31SDaniel Almeida  * Contains the driver implementation for the V4L2 stateless interface.
40c078e31SDaniel Almeida  */
50c078e31SDaniel Almeida 
60c078e31SDaniel Almeida #ifndef _VISL_VIDEO_H_
70c078e31SDaniel Almeida #define _VISL_VIDEO_H_
80c078e31SDaniel Almeida #include <media/v4l2-mem2mem.h>
90c078e31SDaniel Almeida 
100c078e31SDaniel Almeida #include "visl.h"
110c078e31SDaniel Almeida 
120c078e31SDaniel Almeida extern const struct v4l2_ioctl_ops visl_ioctl_ops;
130c078e31SDaniel Almeida 
140c078e31SDaniel Almeida extern const struct visl_ctrls visl_fwht_ctrls;
150c078e31SDaniel Almeida extern const struct visl_ctrls visl_mpeg2_ctrls;
160c078e31SDaniel Almeida extern const struct visl_ctrls visl_vp8_ctrls;
170c078e31SDaniel Almeida extern const struct visl_ctrls visl_vp9_ctrls;
180c078e31SDaniel Almeida extern const struct visl_ctrls visl_h264_ctrls;
190c078e31SDaniel Almeida extern const struct visl_ctrls visl_hevc_ctrls;
20*98b3cd0bSDetlev Casanova extern const struct visl_ctrls visl_av1_ctrls;
210c078e31SDaniel Almeida 
220c078e31SDaniel Almeida int visl_queue_init(void *priv, struct vb2_queue *src_vq,
230c078e31SDaniel Almeida 		    struct vb2_queue *dst_vq);
240c078e31SDaniel Almeida 
250c078e31SDaniel Almeida int visl_set_default_format(struct visl_ctx *ctx);
260c078e31SDaniel Almeida int visl_request_validate(struct media_request *req);
270c078e31SDaniel Almeida 
280c078e31SDaniel Almeida #endif /* _VISL_VIDEO_H_ */
29