Lines Matching refs:ec
691 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
692 if (ec == NULL) {
696 return ec->setPreviewWindow(window);
707 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
708 if (ec == NULL) {
712 ec->setCallbacks(notify_cb, data_cb, data_cb_timestamp, get_memory, user);
717 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
718 if (ec == NULL) {
722 ec->enableMsgType(msg_type);
727 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
728 if (ec == NULL) {
732 ec->disableMsgType(msg_type);
737 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
738 if (ec == NULL) {
742 return ec->isMsgTypeEnabled(msg_type);
747 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
748 if (ec == NULL) {
752 return ec->startPreview();
757 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
758 if (ec == NULL) {
762 ec->stopPreview();
767 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
768 if (ec == NULL) {
772 return ec->isPreviewEnabled();
778 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
779 if (ec == NULL) {
783 return ec->storeMetaDataInBuffers(enable);
788 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
789 if (ec == NULL) {
793 return ec->startRecording();
798 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
799 if (ec == NULL) {
803 ec->stopRecording();
808 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
809 if (ec == NULL) {
813 return ec->isRecordingEnabled();
819 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
820 if (ec == NULL) {
824 ec->releaseRecordingFrame(opaque);
829 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
830 if (ec == NULL) {
834 return ec->setAutoFocus();
839 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
840 if (ec == NULL) {
844 return ec->cancelAutoFocus();
849 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
850 if (ec == NULL) {
854 return ec->takePicture();
859 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
860 if (ec == NULL) {
864 return ec->cancelPicture();
869 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
870 if (ec == NULL) {
874 return ec->setParameters(parms);
879 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
880 if (ec == NULL) {
884 return ec->getParameters();
889 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
890 if (ec == NULL) {
894 ec->putParameters(params);
902 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
903 if (ec == NULL) {
907 return ec->sendCommand(cmd, arg1, arg2);
912 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
913 if (ec == NULL) {
917 ec->releaseCamera();
922 EmulatedCamera* ec = reinterpret_cast<EmulatedCamera*>(dev->priv);
923 if (ec == NULL) {
927 return ec->dumpCamera(fd);
932 EmulatedCamera* ec =
934 if (ec == NULL) {
938 return ec->closeCamera();