Home | History | Annotate | Download | only in CameraHal

Lines Matching full:printf

486         printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno));
489 printf("%s: buffer=%08X, size=%d stored at %s\n",
533 printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno));
536 printf("%s: buffer=%08X, size=%d\n",
561 printf("####### [%d] Frames, %f FPS", mFrameCount, mFps);
568 printf("PREVIEW Callback 0x%x", ( unsigned int ) mem->pointer());
578 printf("PRV_CB: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x", ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5], ptr[6], ptr[7], ptr[8], ptr[9]);
623 printf("Bad Write int a %s error (%d)%s\n", fn, errno, strerror(errno));
626 printf("%s: buffer=%08X, size=%d stored at %s\n",
645 printf("Face %d at %d,%d %d,%d \n",
657 printf("Notify cb: %d %d %d\n", msgType, ext1, ext2);
660 printf("AutoFocus %s in %llu us\n", (ext1) ? "OK" : "FAIL", timeval_delay(&autofocus_start));
663 printf("Shutter done in %llu us\n", timeval_delay(&picture_start));
667 printf("Camera Test CAMERA_MSG_ERROR.....\n");
670 printf("Camera Test Notified of Error Restarting.....\n");
675 printf("Camera Test Notified of Error Stopping.....\n");
692 printf("Data cb: %d\n", msgType);
698 printf("RAW done in %llu us\n", timeval_delay(&picture_start));
703 printf("Postview frame %llu us\n", timeval_delay(&picture_start));
707 printf("JPEG done in %llu us\n", timeval_delay(&picture_start));
713 printf("Face detected %d \n", metadata->number_of_faces);
721 printf("Recording cb: %d %lld %p\n", msgType, timestamp, dataPtr.get());
732 printf("VID_CB: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x", ptr[0], ptr[1], ptr[2], ptr[3], ptr[4], ptr[5], ptr[6], ptr[7], ptr[8], ptr[9]);
755 printf("Unable to establish connection to Surface Composer \n");
779 printf("\n\r\tSupported Cameras: %s", params.get("camera-indexes"));
780 printf("\n\r\tSupported Picture Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES));
781 printf("\n\r\tSupported Picture Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS));
782 printf("\n\r\tSupported Preview Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES));
783 printf("\n\r\tSupported Preview Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS));
784 printf("\n\r\tSupported Preview Frame Rates: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES));
785 printf("\n\r\tSupported Thumbnail Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_JPEG_THUMBNAIL_SIZES));
786 printf("\n\r\tSupported Whitebalance Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_WHITE_BALANCE));
787 printf("\n\r\tSupported Effects: %s", params.get(CameraParameters::KEY_SUPPORTED_EFFECTS));
788 printf("\n\r\tSupported Scene Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_SCENE_MODES));
789 printf("\n\r\tSupported Focus Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_FOCUS_MODES));
790 printf("\n\r\tSupported Antibanding Options: %s", params.get(CameraParameters::KEY_SUPPORTED_ANTIBANDING));
791 printf("\n\r\tSupported Flash Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_FLASH_MODES));
792 printf("\n\r\tSupported Focus Areas: %d", params.getInt(CameraParameters::KEY_MAX_NUM_FOCUS_AREAS));
795 printf("\n\r\tFocus Distances: %s \n", params.get(CameraParameters::KEY_FOCUS_DISTANCES));
825 printf("Error while creating MediaRecorder\n");
835 printf("invalid recorder reference\n");
841 printf("recorder failed to initialize\n");
847 printf("recorder failed to close\n");
853 printf("error while releasing recorder\n");
869 printf("invalid recorder and/or camera references\n");
879 printf("error while configuring bit rate\n");
885 printf("error while setting the camera\n");
891 printf("error while configuring camera video source\n");
899 printf("error while configuring camera audio source\n");
906 printf("error while configuring output format\n");
912 printf("\n Directory --videos-- was not created \n");
918 printf("Error while creating video filename\n");
924 printf("error while configuring video filename\n");
933 printf("error while configuring video framerate\n");
939 printf("error while configuring video framerate\n");
945 printf("error while configuring video size\n");
951 printf("error while configuring video codec\n");
958 printf("error while configuring audio codec\n");
965 printf("error while configuring preview surface\n");
975 printf("invalid recorder and/or camera references\n");
983 printf("recorder prepare failed\n");
989 printf("recorder start failed\n");
999 printf("invalid recorder reference\n");
1005 printf("recorder failed to stop\n");
1018 printf("openCamera(camera_index=%d)\n", camera_index);
1022 printf("Unable to connect to CameraService\n");
1023 printf("Retrying... \n");
1028 printf("Giving up!! \n");
1045 printf("invalid camera reference\n");
1075 printf("Error while creating preview surface\n");
1206 printf("\n\n== GPS MENU ============================\n\n");
1207 printf(" e. Latitude: %.7lf\n", latitude);
1208 printf(" d. Longitude: %.7lf\n", longitude);
1209 printf(" c. Altitude: %.7lf\n", altitude);
1210 printf("\n");
1211 printf(" q. Return to main menu\n");
1212 printf("\n");
1213 printf(" Choice: ");
1217 printf("%c", ch);
1285 printf("\n\n=========== FUNCTIONAL TEST MENU ===================\n\n");
1287 printf(" \n\nSTART / STOP / GENERAL SERVICES \n");
1288 printf(" -----------------------------\n");
1289 printf(" A Select Camera %s\n", cameras[camera_index]);
1290 printf(" [. Resume Preview after capture\n");
1291 printf(" 0. Reset to defaults\n");
1292 printf(" q. Quit\n");
1293 printf(" @. Disconnect and Reconnect to CameraService \n");
1294 printf(" /. Enable/Disable showfps: %s\n", ((showfps)? "Enabled":"Disabled"));
1295 printf(" a. GEO tagging settings menu\n");
1296 printf(" E. Camera Capability Dump");
1299 printf(" \n\n PREVIEW SUB MENU \n");
1300 printf(" -----------------------------\n");
1301 printf(" 1. Start Preview\n");
1302 printf(" 2. Stop Preview\n");
1303 printf(" ~. Preview format %s\n", pixelformat[previewFormat].pixformat);
1305 printf(" 4. Preview size: %4d x %4d - %s\n",previewSize[previewSizeIDX].width, previewSize[previewSizeIDX].height, previewSize[previewSizeIDX].desc);
1307 printf(" 4. Preview size: %4d x %4d - %s\n",previewSize[previewSizeIDX].width, camera_index == 2 ? previewSize[previewSizeIDX].height*2 : previewSize[previewSizeIDX].height, previewSize[previewSizeIDX].desc);
1309 printf(" R. Preview framerate range: %s\n", fpsRanges[fpsRangeIdx].rangeDescription);
1310 printf(" &. Dump a preview frame\n");
1311 printf(" _. Auto Convergence mode: %s\n", autoconvergencemode[AutoConvergenceModeIDX]);
1312 printf(" ^. Manual Convergence Value: %s\n", manualconvergencevalues[ManualConvergenceValuesIDX]);
1313 printf(" {. 2D Preview in 3D Stereo Mode: %s\n", params.get(KEY_S3D2D_PREVIEW_MODE));
1315 printf(" \n\n IMAGE CAPTURE SUB MENU \n");
1316 printf(" -----------------------------\n");
1317 printf(" p. Take picture/Full Press\n");
1318 printf(" H. Exposure Bracketing: %s\n", expBracketing[expBracketIdx]);
1319 printf(" U. Temporal Bracketing: %s\n", tempBracketing[tempBracketIdx]);
1320 printf(" W. Temporal Bracketing Range: [-%d;+%d]\n", tempBracketRange, tempBracketRange);
1321 printf(" $. Picture Format: %s\n", codingformat[pictureFormat]);
1322 printf(" 3. Picture Rotation: %3d degree\n", rotation );
1323 printf(" 5. Picture size: %4d x %4d - %s\n",captureSize[captureSizeIDX].width, captureSize[captureSizeIDX].height, captureSize[captureSizeIDX].name);
1324 printf(" i. ISO mode: %s\n", iso[iso_mode]);
1325 printf(" u. Capture Mode: %s\n", capture[capture_mode]);
1326 printf(" k. IPP Mode: %s\n", ipp_mode[ippIDX]);
1327 printf(" K. GBCE: %s\n", gbce[gbceIDX]);
1328 printf(" O. GLBCE %s\n", gbce[glbceIDX]);
1329 printf(" o. Jpeg Quality: %d\n", jpegQuality);
1330 printf(" #. Burst Images: %3d\n", burst);
1331 printf(" :. Thumbnail Size: %4d x %4d - %s\n",previewSize[thumbSizeIDX].width, previewSize[thumbSizeIDX].height, previewSize[thumbSizeIDX].desc);
1332 printf(" ': Thumbnail Quality %d\n", thumbQuality);
1334 printf(" \n\n VIDEO CAPTURE SUB MENU \n");
1335 printf(" -----------------------------\n");
1337 printf(" 6. Start Video Recording\n");
1338 printf(" 2. Stop Recording\n");
1339 printf(" l. Video Capture resolution: %4d x %4d - %s\n",VcaptureSize[VcaptureSizeIDX].width,VcaptureSize[VcaptureSizeIDX].height, VcaptureSize[VcaptureSizeIDX].desc);
1340 printf(" ]. Video Bit rate : %s\n", VbitRate[VbitRateIDX].desc);
1341 printf(" 9. Video Codec: %s\n", videoCodecs[videoCodecIDX].desc);
1342 printf(" D. Audio Codec: %s\n", audioCodecs[audioCodecIDX].desc);
1343 printf(" v. Output Format: %s\n", outputFormat[outputFormatIDX].desc);
1346 printf(" r. Framerate: %d\n", fpsConstRangesSec[frameRateIDXSec].constFramerate);
1349 printf(" r. Framerate: %d\n", fpsConstRanges[frameRateIDX].constFramerate);
1351 printf(" *. Start Video Recording dump ( 1 raw frame ) \n");
1352 printf(" B VNF %s \n", vnf[vnf_mode]);
1353 printf(" C VSTAB %s", vstab[vstab_mode]);
1355 printf(" \n\n 3A SETTING SUB MENU \n");
1356 printf(" -----------------------------\n");
1358 printf(" M. Measurement Data: %s\n", measurement[measurementIdx]);
1359 printf(" F. Start face detection \n");
1360 printf(" T. Stop face detection \n");
1361 printf(" G. Touch/Focus area AF\n");
1362 printf(" f. Auto Focus/Half Press\n");
1363 printf(" J.Flash: %s\n", flashModes[flashIdx]);
1364 printf(" 7. EV offset: %4.1f\n", compensation);
1365 printf(" 8. AWB mode: %s\n", strawb_mode[awb_mode]);
1366 printf(" z. Zoom %s\n", zoom[zoomIDX].zoom_description);
1367 printf(" j. Exposure %s\n", exposure[exposure_mode]);
1368 printf(" e. Effect: %s\n", effects[effects_mode]);
1369 printf(" w. Scene: %s\n", scene[scene_mode]);
1370 printf(" s. Saturation: %d\n", saturation);
1371 printf(" c. Contrast: %d\n", contrast);
1372 printf(" h. Sharpness: %d\n", sharpness);
1373 printf(" b. Brightness: %d\n", brightness);
1374 printf(" x. Antibanding: %s\n", antibanding[antibanding_mode]);
1375 printf(" g. Focus mode: %s\n", focus[focus_mode]);
1376 printf(" m. Metering mode: %s\n" , metering[meter_mode]);
1377 printf(" <. Exposure Lock: %s\n", lock[elockidx]);
1378 printf(" >. WhiteBalance Lock: %s\n",lock[wblockidx]);
1379 printf("\n");
1380 printf(" Choice: ");
1384 printf("%c", ch);
1446 printf("Error while starting preview\n");
1536 printf("Error while starting preview\n");
1542 printf("Error while openning video recorder\n");
1548 printf("Error while configuring video recorder\n");
1554 printf("Error while starting video recording\n");
1748 printf( "Reconnected to CameraService \n");
2029 printf("Enabling Preview Callback");
2104 printf(" USAGE: camera_test <param> <script>\n");
2105 printf(" <param>\n-----------\n\n");
2106 printf(" F or f -> Functional tests \n");
2107 printf(" A or a -> API tests \n");
2108 printf(" E or e -> Error scenario tests \n");
2109 printf(" S or s -> Stress tests; with syslink trace \n");
2110 printf(" SN or sn -> Stress tests; No syslink trace \n\n");
2111 printf(" <script>\n----------\n");
2112 printf("Script name (Only for stress tests)\n\n");
2121 printf(" 0. Buffer need\n");
2122 printf(" 1. Not enough memory\n");
2123 printf(" 2. Media server crash\n");
2124 printf(" 3. Overlay object request\n");
2125 printf(" 4. Pass unsupported preview&picture format\n");
2126 printf(" 5. Pass unsupported preview&picture resolution\n");
2127 printf(" 6. Pass unsupported preview framerate\n");
2129 printf(" q. Quit\n");
2130 printf(" Choice: ");
2135 printf("%c\n", ch);
2139 printf("Case0:Buffer need\n");
2146 printf("Error while starting preview\n");
2152 printf("Error while openning video recorder\n");
2158 printf("Error while configuring video recorder\n");
2164 printf("Error while starting video recording\n");
2186 printf("Case1:Not enough memory\n");
2190 printf("Not enough memory\n");
2200 printf("Case2:Media server crash\n");
2204 printf("Unable to connect to CameraService\n");
2212 printf("Case3:Overlay object request\n");
2218 printf("Could not open the camera device5: %d\n", err );
2223 printf("Error while starting preview\n");
2245 printf("Test passed!\n");
2247 printf("Test failed!\n");
2266 printf("Test passed!\n");
2268 printf("Test failed!\n");
2286 printf("Test passed!\n");
2288 printf("Test failed!\n");
2315 printf("+++Restarting Camera After Error+++\n");
2331 printf("Error reseting dir name");
2337 printf("+++Camera Restarted Failed+++\n");
2346 printf("+++Camera Restarted Successfully+++\n");
2365 printf(" Please enter atleast 1 argument\n");
2375 printf("This is stress / regression tests \n");
2376 printf("Provide script file as 2nd argument\n");
2385 printf("Camera initialization failed\n");
2402 printf("API level test cases coming soon ... \n");
2411 printf("Camera initialization failed\n");
2429 printf("INVALID OPTION USED\n");
2443 printf("Camera initialization failed\n");
2464 printf("CameraTest Restarting Camera...\n");
2471 printf("ERROR::CameraTest Restarting Camera...\n");
2484 printf("Camera initialization failed\n");
2501 printf("INVALID OPTION USED\n");
2508 printf("Application clossed after: %llu ms\n", delay);