Lines Matching refs:rc
244 int32_t rc = NO_ERROR;
247 rc = procEvtPreviewStoppedState(evt, payload);
250 rc = procEvtPreviewReadyState(evt, payload);
253 rc = procEvtPreviewingState(evt, payload);
256 rc = procEvtPrepareSnapshotState(evt, payload);
259 rc = procEvtPicTakingState(evt, payload);
262 rc = procEvtRecordingState(evt, payload);
265 rc = procEvtVideoPicTakingState(evt, payload);
268 rc = procEvtPreviewPicTakingState(evt, payload);
274 return rc;
294 int32_t rc = NO_ERROR;
301 rc = m_parent->setPreviewWindow((struct preview_stream_ops *)payload);
302 result.status = rc;
312 rc = m_parent->setCallBacks(setcbs->notify_cb,
317 result.status = rc;
325 rc = m_parent->enableMsgType(int32_t(payload));
326 result.status = rc;
334 rc = m_parent->disableMsgType(int32_t(payload));
335 result.status = rc;
344 result.status = rc;
354 rc = m_parent->updateParameters((char*)payload, needRestart);
355 if (rc == NO_ERROR) {
356 rc = m_parent->commitParameterChanges();
358 result.status = rc;
367 rc = NO_ERROR;
368 result.status = rc;
376 rc = m_parent->putParameters((char*)payload);
377 result.status = rc;
386 rc = m_parent->preparePreview();
387 if(rc == NO_ERROR) {
394 rc = m_parent->preparePreview();
395 if (rc == NO_ERROR) {
396 rc = m_parent->startPreview();
397 if (rc != NO_ERROR) {
405 result.status = rc;
413 rc = m_parent->preparePreview();
414 if (rc == NO_ERROR) {
415 rc = m_parent->startPreview();
416 if (rc != NO_ERROR) {
422 result.status = rc;
450 rc = m_parent->release();
451 result.status = rc;
459 rc = m_parent->storeMetaDataInBuffers(int(payload));
460 result.status = rc;
468 rc = m_parent->dump((int)payload);
469 result.status = rc;
479 rc = m_parent->sendCommand(cmd_payload->cmd,
482 result.status = rc;
496 rc = INVALID_OPERATION;
497 result.status = rc;
515 rc = m_parent->cancelAutoFocus();
516 result.status = rc;
527 rc = m_parent->registerFaceImage(reg_payload->img_ptr,
530 result.status = rc;
539 rc = m_parent->updateThermalLevel(
569 return rc;
589 int32_t rc = NO_ERROR;
598 rc = m_parent->startPreview();
599 if (rc != NO_ERROR) {
607 result.status = rc;
617 rc = m_parent->setCallBacks(setcbs->notify_cb,
622 result.status = rc;
630 rc = m_parent->enableMsgType(int32_t(payload));
631 result.status = rc;
639 rc = m_parent->disableMsgType(int32_t(payload));
640 result.status = rc;
649 result.status = rc;
659 rc = m_parent->updateParameters((char*)payload, needRestart);
660 if (rc == NO_ERROR) {
667 rc = m_parent->preparePreview();
668 if (rc != NO_ERROR) {
672 rc = m_parent->commitParameterChanges();
676 result.status = rc;
685 rc = NO_ERROR;
686 result.status = rc;
694 rc = m_parent->putParameters((char*)payload);
695 result.status = rc;
704 rc = NO_ERROR;
705 result.status = rc;
714 rc = 0;
716 result.status = rc;
724 rc = NO_ERROR;
725 result.status = rc;
734 rc = 0;
735 result.status = rc;
744 rc = m_parent->storeMetaDataInBuffers(int(payload));
745 result.status = rc;
753 rc = m_parent->dump((int)payload);
754 result.status = rc;
762 rc = m_parent->autoFocus();
763 result.status = rc;
771 rc = m_parent->cancelAutoFocus();
772 result.status = rc;
782 rc = m_parent->sendCommand(cmd_payload->cmd,
785 result.status = rc;
796 rc = m_parent->registerFaceImage(reg_payload->img_ptr,
799 result.status = rc;
816 rc = INVALID_OPERATION;
817 result.status = rc;
850 return rc;
870 int32_t rc = NO_ERROR;
879 rc = INVALID_OPERATION;
880 result.status = rc;
890 rc = m_parent->setCallBacks(setcbs->notify_cb,
895 result.status = rc;
903 rc = m_parent->enableMsgType(int32_t(payload));
904 result.status = rc;
912 rc = m_parent->disableMsgType(int32_t(payload));
913 result.status = rc;
922 result.status = rc;
932 rc = m_parent->updateParameters((char*)payload, needRestart);
933 if (rc == NO_ERROR) {
941 rc = m_parent->preparePreview();
942 if (rc == NO_ERROR) {
943 rc = m_parent->startPreview();
944 if (rc != NO_ERROR) {
948 if (rc != NO_ERROR) {
952 rc = m_parent->commitParameterChanges();
955 result.status = rc;
964 rc = NO_ERROR;
965 result.status = rc;
973 rc = m_parent->putParameters((char*)payload);
974 result.status = rc;
985 rc = NO_ERROR;
986 result.status = rc;
994 rc = m_parent->stopPreview();
996 result.status = rc;
1004 rc = NO_ERROR;
1005 result.status = rc;
1014 rc = NO_ERROR;
1015 result.status = rc;
1024 rc = m_parent->storeMetaDataInBuffers(int(payload));
1025 result.status = rc;
1033 rc = m_parent->dump((int)payload);
1034 result.status = rc;
1042 rc = m_parent->autoFocus();
1043 result.status = rc;
1051 rc = m_parent->cancelAutoFocus();
1052 result.status = rc;
1060 rc = m_parent->startRecording();
1061 if (rc == NO_ERROR) {
1065 result.status = rc;
1073 rc = m_parent->prepareHardwareForSnapshot(FALSE);
1074 if (rc == NO_ERROR) {
1081 __func__, rc);
1083 result.status = rc;
1093 rc = m_parent->takePicture();
1094 if (rc == NO_ERROR) {
1105 result.status = rc;
1110 rc = m_parent->takeLiveSnapshot();
1111 if (rc == NO_ERROR ) {
1113 result.status = rc;
1125 rc = m_parent->sendCommand(cmd_payload->cmd,
1128 result.status = rc;
1139 rc = m_parent->registerFaceImage(reg_payload->img_ptr,
1142 result.status = rc;
1155 rc = INVALID_OPERATION;
1156 result.status = rc;
1168 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data);
1197 rc = m_parent->updateThermalLevel(
1208 return rc;
1228 int32_t rc = NO_ERROR;
1259 rc = INVALID_OPERATION;
1260 result.status = rc;
1315 return rc;
1335 int32_t rc = NO_ERROR;
1344 rc = INVALID_OPERATION;
1345 result.status = rc;
1355 rc = m_parent->setCallBacks(setcbs->notify_cb,
1360 result.status = rc;
1368 rc = m_parent->enableMsgType(int32_t(payload));
1369 result.status = rc;
1377 rc = m_parent->disableMsgType(int32_t(payload));
1378 result.status = rc;
1387 result.status = rc;
1397 rc = m_parent->updateParameters((char*)payload, needRestart);
1398 if (rc == NO_ERROR) {
1399 rc = m_parent->commitParameterChanges();
1401 result.status = rc;
1410 rc = NO_ERROR;
1411 result.status = rc;
1419 rc = m_parent->putParameters((char*)payload);
1420 result.status = rc;
1429 rc = m_parent->cancelPicture();
1432 result.status = rc;
1440 rc = NO_ERROR;
1441 result.status = rc;
1450 rc = NO_ERROR;
1451 result.status = rc;
1460 rc = m_parent->storeMetaDataInBuffers(int(payload));
1461 result.status = rc;
1469 rc = m_parent->dump((int)payload);
1470 result.status = rc;
1478 rc = m_parent->autoFocus();
1479 result.status = rc;
1487 rc = m_parent->cancelAutoFocus();
1488 result.status = rc;
1498 rc = m_parent->sendCommand(cmd_payload->cmd,
1501 result.status = rc;
1509 rc = m_parent->cancelPicture();
1511 result.status = rc;
1522 rc = m_parent->registerFaceImage(reg_payload->img_ptr,
1525 result.status = rc;
1541 rc = INVALID_OPERATION;
1542 result.status = rc;
1554 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data);
1583 rc = m_parent->processJpegNotify(jpeg_job);
1588 rc = m_parent->cancelPicture();
1590 result.status = rc;
1598 rc = m_parent->updateThermalLevel(
1607 return rc;
1627 int32_t rc = NO_ERROR;
1636 rc = INVALID_OPERATION;
1637 result.status = rc;
1647 rc = m_parent->setCallBacks(setcbs->notify_cb,
1652 result.status = rc;
1660 rc = m_parent->enableMsgType(int32_t(payload));
1661 result.status = rc;
1669 rc = m_parent->disableMsgType(int32_t(payload));
1670 result.status = rc;
1679 result.status = rc;
1689 rc = m_parent->updateParameters((char*)payload, needRestart);
1690 if (rc == NO_ERROR) {
1695 rc = BAD_VALUE;
1697 rc = m_parent->commitParameterChanges();
1700 result.status = rc;
1709 rc = NO_ERROR;
1710 result.status = rc;
1718 rc = m_parent->putParameters((char*)payload);
1719 result.status = rc;
1727 rc = NO_ERROR;
1728 result.status = rc;
1737 rc = NO_ERROR;
1738 result.status = rc;
1747 rc = m_parent->storeMetaDataInBuffers(int(payload));
1748 result.status = rc;
1756 rc = m_parent->dump((int)payload);
1757 result.status = rc;
1765 rc = m_parent->autoFocus();
1766 result.status = rc;
1774 rc = m_parent->cancelAutoFocus();
1775 result.status = rc;
1785 rc = m_parent->sendCommand(cmd_payload->cmd,
1788 result.status = rc;
1797 rc = m_parent->takeLiveSnapshot();
1798 if (rc != NO_ERROR) {
1801 result.status = rc;
1811 rc = 0;
1812 result.status = rc;
1820 rc = m_parent->stopRecording();
1822 result.status = rc;
1830 rc = m_parent->releaseRecordingFrame((const void *)payload);
1831 result.status = rc;
1842 rc = m_parent->registerFaceImage(reg_payload->img_ptr,
1845 result.status = rc;
1868 rc = INVALID_OPERATION;
1869 result.status = rc;
1881 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data);
1908 rc = m_parent->updateThermalLevel(
1919 return rc;
1939 int32_t rc = NO_ERROR;
1948 rc = INVALID_OPERATION;
1949 result.status = rc;
1959 rc = m_parent->setCallBacks(setcbs->notify_cb,
1964 result.status = rc;
1972 rc = m_parent->enableMsgType(int32_t(payload));
1973 result.status = rc;
1981 rc = m_parent->disableMsgType(int32_t(payload));
1982 result.status = rc;
1991 result.status = rc;
2001 rc = m_parent->updateParameters((char*)payload, needRestart);
2002 if (rc == NO_ERROR) {
2007 rc = BAD_VALUE;
2009 rc = m_parent->commitParameterChanges();
2012 result.status = rc;
2021 rc = NO_ERROR;
2022 result.status = rc;
2030 rc = m_parent->putParameters((char*)payload);
2031 result.status = rc;
2039 rc = NO_ERROR;
2040 result.status = rc;
2049 rc = NO_ERROR;
2050 result.status = rc;
2059 rc = m_parent->storeMetaDataInBuffers(int(payload));
2060 result.status = rc;
2068 rc = m_parent->dump((int)payload);
2069 result.status = rc;
2077 rc = m_parent->autoFocus();
2078 result.status = rc;
2086 rc = m_parent->cancelAutoFocus();
2087 result.status = rc;
2097 rc = m_parent->sendCommand(cmd_payload->cmd,
2100 result.status = rc;
2108 rc = m_parent->stopRecording();
2110 result.status = rc;
2118 rc = m_parent->releaseRecordingFrame((const void *)payload);
2119 result.status = rc;
2127 rc = m_parent->cancelLiveSnapshot();
2129 result.status = rc;
2140 rc = m_parent->registerFaceImage(reg_payload->img_ptr,
2143 result.status = rc;
2158 rc = INVALID_OPERATION;
2159 result.status = rc;
2171 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data);
2200 rc = m_parent->processJpegNotify(jpeg_job);
2205 rc = m_parent->cancelLiveSnapshot();
2207 result.status = rc;
2215 rc = m_parent->updateThermalLevel(
2224 return rc;
2244 int32_t rc = NO_ERROR;
2253 rc = m_parent->setCallBacks(setcbs->notify_cb,
2258 result.status = rc;
2266 rc = m_parent->enableMsgType(int32_t(payload));
2267 result.status = rc;
2275 rc = m_parent->disableMsgType(int32_t(payload));
2276 result.status = rc;
2285 result.status = rc;
2295 rc = m_parent->updateParameters((char*)payload, needRestart);
2296 if (rc == NO_ERROR) {
2304 rc = m_parent->preparePreview();
2305 if (rc == NO_ERROR) {
2306 rc = m_parent->startPreview();
2307 if (rc != NO_ERROR) {
2311 if (rc != NO_ERROR) {
2315 rc = m_parent->commitParameterChanges();
2318 result.status = rc;
2327 rc = NO_ERROR;
2328 result.status = rc;
2336 rc = m_parent->putParameters((char*)payload);
2337 result.status = rc;
2345 rc = NO_ERROR;
2346 result.status = rc;
2355 rc = NO_ERROR;
2356 result.status = rc;
2365 rc = m_parent->storeMetaDataInBuffers(int(payload));
2366 result.status = rc;
2374 rc = m_parent->dump((int)payload);
2375 result.status = rc;
2383 rc = m_parent->autoFocus();
2384 result.status = rc;
2392 rc = m_parent->cancelAutoFocus();
2393 result.status = rc;
2403 rc = m_parent->sendCommand(cmd_payload->cmd,
2406 result.status = rc;
2414 rc = m_parent->releaseRecordingFrame((const void *)payload);
2415 result.status = rc;
2424 rc = m_parent->cancelPicture();
2426 rc = m_parent->cancelLiveSnapshot();
2429 result.status = rc;
2439 rc = m_parent->cancelPicture();
2442 rc = m_parent->cancelLiveSnapshot();
2448 result.status = rc;
2456 rc = m_parent->stopRecording();
2457 if (rc == NO_ERROR) {
2460 result.status = rc;
2471 rc = m_parent->registerFaceImage(reg_payload->img_ptr,
2474 result.status = rc;
2489 rc = INVALID_OPERATION;
2490 result.status = rc;
2502 rc = m_parent->processAutoFocusEvent(internal_evt->focus_data);
2531 rc = m_parent->processJpegNotify(jpeg_job);
2537 rc = m_parent->cancelPicture();
2539 rc = m_parent->cancelLiveSnapshot();
2542 result.status = rc;
2550 rc = m_parent->updateThermalLevel(
2559 return rc;