Home
last modified time | relevance | path

Searched refs:camHal (Results 1 – 5 of 5) sorted by relevance

/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp99 static int initUsbCamera( camera_hardware_t *camHal,
102 static int startUsbCamCapture( camera_hardware_t *camHal);
103 static int stopUsbCamCapture( camera_hardware_t *camHal);
104 static int initV4L2mmap( camera_hardware_t *camHal);
105 static int unInitV4L2mmap( camera_hardware_t *camHal);
106 static int launch_preview_thread( camera_hardware_t *camHal);
107 static int launchTakePictureThread( camera_hardware_t *camHal);
108 static int initDisplayBuffers( camera_hardware_t *camHal);
109 static int deInitDisplayBuffers( camera_hardware_t *camHal);
110 static int stopPreviewInternal( camera_hardware_t *camHal);
[all …]
DQCameraUsbParm.cpp153 static int usbCamSetPrvwSize( camera_hardware_t *camHal,
155 static int usbCamSetPictSize( camera_hardware_t *camHal,
157 static int usbCamSetThumbnailSize( camera_hardware_t *camHal,
159 static int usbCamSetJpegQlty( camera_hardware_t *camHal,
174 int usbCamInitDefaultParameters(camera_hardware_t *camHal) in usbCamInitDefaultParameters() argument
181 camHal->prevFormat = DEFAULT_USBCAM_PRVW_FMT; in usbCamInitDefaultParameters()
182 camHal->prevWidth = DEFAULT_USBCAM_PRVW_WD; in usbCamInitDefaultParameters()
183 camHal->prevHeight = DEFAULT_USBCAM_PRVW_HT; in usbCamInitDefaultParameters()
184 camHal->dispFormat = camHal->prevFormat; in usbCamInitDefaultParameters()
185 camHal->dispWidth = camHal->prevWidth; in usbCamInitDefaultParameters()
[all …]
/device/google/marlin/camera/usbcamcore/inc/
DQCameraUsbPriv.h54 #define VALIDATE_DEVICE_HDL(camHal, device, ret_err_code) {\ argument
56 camHal = (camera_hardware_t *)device->priv;\
100 #define USB_CAM_OPEN(camHal) {\ argument
101 camHal->fd = open(camHal->dev_name, O_RDWR | O_NONBLOCK, 0);\
102 if(!camHal->fd)\
111 #define USB_CAM_CLOSE(camHal) {\ argument
113 if(camHal->fd){\
114 rc = close(camHal->fd);\
119 camHal->fd = 0;\
DQCameraUsbParm.h128 int usbCamInitDefaultParameters(camera_hardware_t *camHal);
144 int usbCamSetParameters(camera_hardware_t *camHal, const char *params);
159 char* usbCamGetParameters(camera_hardware_t *camHal);
174 void usbCamPutParameters(camera_hardware_t *camHal, char *parms);
/device/google/marlin/camera/QCamera2/HAL/wrapper/
DQualcommCamera.cpp98 camera_hardware_t *camHal = (camera_hardware_t *)device->priv; in util_get_Hal_obj() local
99 hardware = camHal->hardware; in util_get_Hal_obj()
137 camera_hardware_t *camHal = in camera_device_open() local
139 if(!camHal) { in camera_device_open()
145 memset(camHal, 0, sizeof (camera_hardware_t)); in camera_device_open()
146 camHal->hardware = new QCamera2HardwareInterface((uint32_t)cameraId); in camera_device_open()
147 if (camHal->hardware) { in camera_device_open()
148 camHal->cameraId = cameraId; in camera_device_open()
149 device = &camHal->hw_dev; in camera_device_open()
152 device->priv = (void *)camHal; in camera_device_open()
[all …]