Lines Matching defs:cam_id
1242 int takePicture_yuv(int cam_id)
1246 if(0 != (rc = mm_app_take_picture(cam_id))) {
1252 int takePicture_zsl(int cam_id)
1256 if(0 != (rc = mm_app_take_zsl(cam_id))) {
1262 int takePicture_live(int cam_id)
1266 if(0 != (rc = mm_app_take_live_snapshot(cam_id))) {
1272 int takePicture_raw(int cam_id)
1276 if(0 != (rc = mm_app_take_raw_picture(cam_id))) {
1281 int system_dimension_set(int cam_id)
1297 rc = mm_app_set_dim(cam_id, &dim);
1431 int cam_id;
1437 cam_id = my_cam_app.cam_open;
1439 rc = system_dimension_set(cam_id);
1441 if( 0 != (rc = startPreview(cam_id))) {
1466 stopPreview(cam_id);
1472 switchRes(cam_id);
1557 if (takePicture_yuv(cam_id) < 0)
1562 if (takePicture_raw(cam_id) < 0)
1567 if (startRecording(cam_id) < 0)
1572 if (stopRecording(cam_id) < 0)
1587 if (takePicture_zsl(cam_id) < 0)
1595 startRdi(cam_id);
1599 stopRdi(cam_id);
1603 if (takePicture_live(cam_id) < 0)