32 #include <linux/videodev2.h>
42 virtual bool setcrop(
struct v4l2_crop c) = 0;
45 virtual void setformat(
struct v4l2_format f,
bool use_ext_pix_format) = 0;
48 virtual void decode(
unsigned char *frame,
struct v4l2_buffer *buf,
bool native) = 0;
49 virtual unsigned char *
getY() = 0;
50 virtual unsigned char *
getU() = 0;
51 virtual unsigned char *
getV() = 0;
V4L2_Decoder * current_decoder
V4L2_Decoder * getDefaultDecoder()
std::vector< V4L2_Decoder * > decoder_list
V4L2_Decoder * getDecoder()
std::vector< V4L2_Decoder * > getDecoderList()
void setDecoder(V4L2_Decoder *decoder)
V4L2_Decoder * default_decoder
virtual unsigned char * getU()=0
virtual void setQuantization(bool)=0
virtual void resetcrop()=0
virtual unsigned char * getMJPEGBuffer(int &size)=0
virtual unsigned char * getV()=0
virtual void decode(unsigned char *frame, struct v4l2_buffer *buf, bool native)=0
virtual void setformat(struct v4l2_format f, bool use_ext_pix_format)=0
virtual void setLinearization(bool)=0
virtual unsigned char * getY()=0
virtual unsigned char * getRGBBuffer()=0
virtual float * getLinearY()=0
virtual bool issupportedformat(unsigned int format)=0
virtual bool setcrop(struct v4l2_crop c)=0
virtual void usesoftcrop(bool c)=0
virtual const std::vector< unsigned int > & getsupportedformats()=0
virtual const char * getName()
Interface to the reference INDI C API device implementation on the Device Driver side.