Ignore:
Timestamp:
02/11/20 17:58:59 (2 years ago)
Author:
Sanahuja Guillaume
Message:

modif v4l

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSensorActuator/src/V4LCamera.h

    r346 r347  
    168168    //int deviceHandle;
    169169    int bufferIndex;
    170     int FirstCapture;
    171170    struct video_capability capability;
    172171    struct video_window     captureWindow;
     
    192191   struct v4l2_queryctrl queryctrl;
    193192   struct v4l2_querymenu querymenu;
    194 
    195    /* V4L2 control variables */
    196    int v4l2_brightness, v4l2_brightness_min, v4l2_brightness_max;
    197    int v4l2_contrast, v4l2_contrast_min, v4l2_contrast_max;
    198    int v4l2_saturation, v4l2_saturation_min, v4l2_saturation_max;
    199    int v4l2_sharpness, v4l2_sharpness_min, v4l2_sharpness_max;
    200    int v4l2_exposure, v4l2_exposure_min, v4l2_exposure_max;
    201    int v4l2_hue, v4l2_hue_min, v4l2_hue_max;
    202    int v4l2_gain, v4l2_gain_min, v4l2_gain_max;
    203    int v4l2_autogain, v4l2_autogain_min, v4l2_autogain_max;
    204    int v4l2_awb, v4l2_awb_min, v4l2_awb_max;
    205 
    206 
    207 
    208193} CvCaptureCAM_V4L;
    209194
    210195CvCaptureCAM_V4L capture;
    211 int init(int width, int height);
    212 int autosetup_capture_mode_v4l2(CvCaptureCAM_V4L* capture);
    213 int icvSetVideoSize( CvCaptureCAM_V4L* capture, int w, int h);
    214 int try_palette_v4l2(CvCaptureCAM_V4L* capture, unsigned long colorspace);
    215 int  PALETTE_YUYV,PALETTE_UYVY;
    216 int setV4LProperty(int property_id, double value );
    217 int icvSetControl (CvCaptureCAM_V4L* capture,int property_id, double value) ;
    218 int cvGrabFrame(CvCaptureCAM_V4L* capture);
    219 int v4l2_alloc_buffers (CvCaptureCAM_V4L *capture, char *deviceName);
    220 void mainloop_v4l2(CvCaptureCAM_V4L* capture);
     196int init(int width, int height,unsigned long colorspace);
     197int setVideoSize(int width, int height,unsigned long colorspace);
     198int cvGrabFrame(void);
     199int allocBuffers (void);
    221200int read_frame_v4l2(CvCaptureCAM_V4L* capture);
    222201void cvRetrieveRawFrame( CvCaptureCAM_V4L* capture);
Note: See TracChangeset for help on using the changeset viewer.