Lines Matching defs:hardware
27 /* include QCamera Hardware Interface Header*/
103 QualcommCameraHardware *hardware;
271 QualcommCameraHardware* hardware = NULL;
274 hardware = camHal->hardware;
276 return hardware;
281 QualcommCameraHardware* hardware = NULL;
285 hardware = camHal->hardware;
286 delete hardware;
330 /* HAL should return NULL if it fails to open camera hardware. */
349 camHal->hardware = HAL_openCameraHardware(cameraId);
350 if (camHal->hardware != NULL) {
381 QualcommCameraHardware* hardware = util_get_Hal_obj( device);
382 if(hardware != NULL) {
384 hardware->release( );
385 //hardware.clear( );
405 QualcommCameraHardware *hardware = util_get_Hal_obj(device);
406 if(hardware != NULL) {
407 rc = hardware->set_PreviewWindow((void *)window);
420 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
421 if(hardware != NULL){
453 hardware->setCallbacks(notify_cb,data_cb,data_cb_timestamp,get_memory, user);
460 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
461 if(hardware != NULL){
462 hardware->enableMsgType(msg_type);
468 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
470 if(hardware != NULL){
471 hardware->disableMsgType(msg_type);
479 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
480 if(hardware != NULL){
481 rc = hardware->msgTypeEnabled(msg_type);
490 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
491 if(hardware != NULL){
492 rc = hardware->startPreview( );
501 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
502 if(hardware != NULL){
503 hardware->stopPreview( );
511 QualcommCameraHardware* hardware = util_get_Hal_obj(device);
512 if(hardware != NULL){
513 rc = hardware->previewEnabled( );
522 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
523 if(hardware != NULL){
524 rc = hardware->storeMetaDataInBuffers( enable);
533 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
534 if(hardware != NULL){
535 rc = hardware->startRecording( );
543 QualcommCameraHardware* hardware = util_get_Hal_obj(device);
544 if(hardware != NULL){
545 hardware->stopRecording( );
553 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
554 if(hardware != NULL){
555 rc = hardware->recordingEnabled( );
564 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
565 if(hardware != NULL){
566 hardware->releaseRecordingFrame( opaque);
574 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
575 if(hardware != NULL){
576 rc = hardware->autoFocus( );
585 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
586 if(hardware != NULL){
587 rc = hardware->cancelAutoFocus( );
596 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
597 if(hardware != NULL){
598 rc = hardware->takePicture( );
608 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
609 if(hardware != NULL){
610 rc = hardware->cancelPicture( );
622 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
623 if(hardware != NULL && parms){
628 rc = hardware->setParameters( g_param );
639 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
640 if(hardware != NULL){
641 g_param = hardware->getParameters( );
658 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
659 if(hardware != NULL){
660 if(hardware != NULL){
661 //rc = hardware->putParameters(parm );
672 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
673 if(hardware != NULL){
674 rc = hardware->sendCommand( cmd, arg1, arg2);
682 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
683 if(hardware != NULL){
685 hardware->release( );
694 QualcommCameraHardware * hardware = util_get_Hal_obj(device);
695 if(hardware != NULL){
696 //rc = hardware->dump( fd );