Lines Matching refs:cam_id
311 if ( 0 != (rc = mm_app_open(cam_id, MM_CAMERA_OP_MODE_NOTUSED))) {
312 CDBG("%s: open cam %d at opmode = %d err, loop=%d, rc=%d\n", __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
315 if (0 != (rc = mm_app_open_preview(cam_id))) {
318 if (0 != (rc = mm_app_close_preview(cam_id))) {
321 if ( 0 != (rc = mm_app_close(cam_id))) {
322 CDBG("%s: close cam %d at opmode = %d err,loop=%d, rc=%d\n", __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
341 if ( 0 != (rc = mm_app_open(cam_id, MM_CAMERA_OP_MODE_NOTUSED))) {
343 __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
346 if (0 != (rc = mm_app_open_snapshot(cam_id))) {
349 if (0 != (rc = mm_app_close_snapshot(cam_id))) {
352 if ( 0 != (rc = mm_app_close(cam_id))) {
354 __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
370 if ( 0 != (rc = mm_app_open(cam_id, MM_CAMERA_OP_MODE_NOTUSED))) {
372 __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
377 if (0 != (rc = mm_app_init_preview(cam_id))) {
380 if (0 != (rc = mm_app_start_preview(cam_id))) {
385 if (0 != (rc = mm_app_stop_preview(cam_id))) {
388 if (0 != (rc=mm_app_deinit_preview(cam_id))) {
391 if (0 != (rc = mm_app_close_preview(cam_id))) {
395 if ( 0 != (rc = mm_app_close(cam_id))) {
397 __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
412 if ( 0 != (rc = mm_app_open(cam_id, MM_CAMERA_OP_MODE_NOTUSED))) {
414 __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
419 if (0 != (rc = mm_app_init_preview(cam_id))) {
422 if (0 != (rc = mm_app_start_preview(cam_id))) {
427 if (0 != (rc = mm_app_start_recording(cam_id))) {
431 if (0 != (rc = mm_app_stop_recording(cam_id))) {
435 if (0 != (rc = mm_app_stop_preview(cam_id))) {
438 if (0 != (rc=mm_app_deinit_preview(cam_id))) {
441 if (0 != (rc = mm_app_close_preview(cam_id))) {
445 if ( 0 != (rc = mm_app_close(cam_id))) {
447 __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
462 if ( 0 != (rc = mm_app_open(cam_id, MM_CAMERA_OP_MODE_NOTUSED))) {
464 __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
469 if (0 != (rc = mm_app_init_preview(cam_id))) {
472 if (0 != (rc = mm_app_start_preview(cam_id))) {
477 if (0 != (rc = mm_app_start_recording(cam_id))) {
481 if (0 != (rc = mm_app_stop_recording(cam_id))) {
484 if (0 != (rc = mm_app_stop_preview(cam_id))) {
487 if (0!=(rc=mm_app_init_snapshot(cam_id))) {
490 if (0 != (rc=mm_app_take_picture(cam_id))) {
493 if ( 0 != (rc = mm_app_deinit_snahspot(cam_id))) {
496 if (0 != (rc = mm_app_start_preview(cam_id))) {
500 if (0 != (rc=mm_app_deinit_preview(cam_id))) {
503 if (0 != (rc = mm_app_close_preview(cam_id
507 if ( 0 != (rc = mm_app_close(cam_id))) {
509 __func__, cam_id, MM_CAMERA_OP_MODE_NOTUSED, i, rc);
539 int cam_id = 0;