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