1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Contains the driver implementation for the V4L2 stateless interface. 4 */ 5 6 #ifndef _VISL_VIDEO_H_ 7 #define _VISL_VIDEO_H_ 8 #include <media/v4l2-mem2mem.h> 9 10 #include "visl.h" 11 12 extern const struct v4l2_ioctl_ops visl_ioctl_ops; 13 14 extern const struct visl_ctrls visl_fwht_ctrls; 15 extern const struct visl_ctrls visl_mpeg2_ctrls; 16 extern const struct visl_ctrls visl_vp8_ctrls; 17 extern const struct visl_ctrls visl_vp9_ctrls; 18 extern const struct visl_ctrls visl_h264_ctrls; 19 extern const struct visl_ctrls visl_hevc_ctrls; 20 21 int visl_queue_init(void *priv, struct vb2_queue *src_vq, 22 struct vb2_queue *dst_vq); 23 24 int visl_set_default_format(struct visl_ctx *ctx); 25 int visl_request_validate(struct media_request *req); 26 27 #endif /* _VISL_VIDEO_H_ */ 28