Lines Matching refs:device
47 hw_device_t** device);
48 static int camera_device_close(hw_device_t* device);
91 int camera_set_preview_window(struct camera_device * device,
99 if(!device)
102 ti_dev = (ti_camera_device_t*) device;
110 int camera_set_extended_preview_ops(struct camera_device * device,
115 if (!device) {
119 ti_camera_device_t * const tiDevice = reinterpret_cast<ti_camera_device_t*>(device);
125 int camera_set_buffer_source(struct camera_device * device,
134 if(!device)
137 ti_dev = (ti_camera_device_t*) device;
144 int camera_release_buffer_source(struct camera_device * device,
153 if(!device)
156 ti_dev = (ti_camera_device_t*) device;
164 void camera_set_callbacks(struct camera_device * device,
175 if(!device)
178 ti_dev = (ti_camera_device_t*) device;
183 void camera_enable_msg_type(struct camera_device * device, int32_t msg_type)
189 if(!device)
192 ti_dev = (ti_camera_device_t*) device;
197 void camera_disable_msg_type(struct camera_device * device, int32_t msg_type)
203 if(!device)
206 ti_dev = (ti_camera_device_t*) device;
211 int camera_msg_type_enabled(struct camera_device * device, int32_t msg_type)
217 if(!device)
220 ti_dev = (ti_camera_device_t*) device;
225 int camera_start_preview(struct camera_device * device)
232 if(!device)
235 ti_dev = (ti_camera_device_t*) device;
242 void camera_stop_preview(struct camera_device * device)
248 if(!device)
251 ti_dev = (ti_camera_device_t*) device;
256 int camera_preview_enabled(struct camera_device * device)
263 if(!device)
266 ti_dev = (ti_camera_device_t*) device;
272 int camera_store_meta_data_in_buffers(struct camera_device * device, int enable)
279 if(!device)
282 ti_dev = (ti_camera_device_t*) device;
290 int camera_start_recording(struct camera_device * device)
297 if(!device)
300 ti_dev = (ti_camera_device_t*) device;
306 void camera_stop_recording(struct camera_device * device)
312 if(!device)
315 ti_dev = (ti_camera_device_t*) device;
320 int camera_recording_enabled(struct camera_device * device)
327 if(!device)
330 ti_dev = (ti_camera_device_t*) device;
336 void camera_release_recording_frame(struct camera_device * device,
343 if(!device)
346 ti_dev = (ti_camera_device_t*) device;
351 int camera_auto_focus(struct camera_device * device)
358 if(!device)
361 ti_dev = (ti_camera_device_t*) device;
367 int camera_cancel_auto_focus(struct camera_device * device)
374 if(!device)
377 ti_dev = (ti_camera_device_t*) device;
383 int camera_take_picture(struct camera_device * device)
390 if(!device)
393 ti_dev = (ti_camera_device_t*) device;
400 int camera_take_picture_with_parameters(struct camera_device * device, const char *params)
407 if(!device)
410 ti_dev = (ti_camera_device_t*) device;
417 int camera_cancel_picture(struct camera_device * device)
424 if(!device)
427 ti_dev = (ti_camera_device_t*) device;
434 int camera_reprocess(struct camera_device * device, const char *params)
441 if(!device)
444 ti_dev = (ti_camera_device_t*) device;
450 int camera_cancel_reprocess(struct camera_device * device)
457 if(!device)
460 ti_dev = (ti_camera_device_t*) device;
467 int camera_set_parameters(struct camera_device * device, const char *params)
474 if(!device)
477 ti_dev = (ti_camera_device_t*) device;
483 char* camera_get_parameters(struct camera_device * device)
490 if(!device)
493 ti_dev = (ti_camera_device_t*) device;
500 static void camera_put_parameters(struct camera_device *device, char *parms)
506 if(!device)
509 ti_dev = (ti_camera_device_t*) device;
514 int camera_send_command(struct camera_device * device,
522 if(!device)
525 ti_dev = (ti_camera_device_t*) device;
549 void camera_release(struct camera_device * device)
555 if(!device)
558 ti_dev = (ti_camera_device_t*) device;
563 int camera_dump(struct camera_device * device, int fd)
570 if(!device)
573 ti_dev = (ti_camera_device_t*) device;
581 int camera_device_close(hw_device_t* device)
590 if (!device) {
595 ti_dev = (ti_camera_device_t*) device;
620 /* open device handle to one of the cameras
627 hw_device_t** device)
710 *device = &camera_device->base.common;
758 *device = NULL;