Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | Protected Attributes | List of all members
V4L2_Decoder Class Referenceabstract

#include <v4l2_decode.h>

Inheritance diagram for V4L2_Decoder:
V4L2_Builtin_Decoder

Public Member Functions

 V4L2_Decoder ()
 
virtual ~V4L2_Decoder ()
 
virtual void init ()=0
 
virtual const char * getName ()
 
virtual bool setcrop (struct v4l2_crop c)=0
 
virtual void resetcrop ()=0
 
virtual void usesoftcrop (bool c)=0
 
virtual void setformat (struct v4l2_format f, bool use_ext_pix_format)=0
 
virtual bool issupportedformat (unsigned int format)=0
 
virtual const std::vector< unsigned int > & getsupportedformats ()=0
 
virtual void decode (unsigned char *frame, struct v4l2_buffer *buf, bool native)=0
 
virtual unsigned char * getY ()=0
 
virtual unsigned char * getU ()=0
 
virtual unsigned char * getV ()=0
 
virtual unsigned char * getMJPEGBuffer (int &size)=0
 
virtual unsigned char * getRGBBuffer ()=0
 
virtual float * getLinearY ()=0
 
virtual int getBpp ()=0
 
virtual void setQuantization (bool)=0
 
virtual void setLinearization (bool)=0
 

Protected Attributes

const char * name
 

Detailed Description

Definition at line 34 of file v4l2_decode.h.

Constructor & Destructor Documentation

◆ V4L2_Decoder()

V4L2_Decoder::V4L2_Decoder ( )

Definition at line 26 of file v4l2_decode.cpp.

◆ ~V4L2_Decoder()

V4L2_Decoder::~V4L2_Decoder ( )
virtual

Definition at line 30 of file v4l2_decode.cpp.

Member Function Documentation

◆ decode()

virtual void V4L2_Decoder::decode ( unsigned char *  frame,
struct v4l2_buffer *  buf,
bool  native 
)
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ getBpp()

virtual int V4L2_Decoder::getBpp ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ getLinearY()

virtual float* V4L2_Decoder::getLinearY ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ getMJPEGBuffer()

virtual unsigned char* V4L2_Decoder::getMJPEGBuffer ( int &  size)
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ getName()

const char * V4L2_Decoder::getName ( )
virtual

Definition at line 34 of file v4l2_decode.cpp.

◆ getRGBBuffer()

virtual unsigned char* V4L2_Decoder::getRGBBuffer ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ getsupportedformats()

virtual const std::vector<unsigned int>& V4L2_Decoder::getsupportedformats ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ getU()

virtual unsigned char* V4L2_Decoder::getU ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ getV()

virtual unsigned char* V4L2_Decoder::getV ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ getY()

virtual unsigned char* V4L2_Decoder::getY ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ init()

virtual void V4L2_Decoder::init ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ issupportedformat()

virtual bool V4L2_Decoder::issupportedformat ( unsigned int  format)
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ resetcrop()

virtual void V4L2_Decoder::resetcrop ( )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ setcrop()

virtual bool V4L2_Decoder::setcrop ( struct v4l2_crop  c)
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ setformat()

virtual void V4L2_Decoder::setformat ( struct v4l2_format  f,
bool  use_ext_pix_format 
)
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ setLinearization()

virtual void V4L2_Decoder::setLinearization ( bool  )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ setQuantization()

virtual void V4L2_Decoder::setQuantization ( bool  )
pure virtual

Implemented in V4L2_Builtin_Decoder.

◆ usesoftcrop()

virtual void V4L2_Decoder::usesoftcrop ( bool  c)
pure virtual

Implemented in V4L2_Builtin_Decoder.

Member Data Documentation

◆ name

const char* V4L2_Decoder::name
protected

Definition at line 60 of file v4l2_decode.h.


The documentation for this class was generated from the following files: