Home | History | Annotate | Download | only in src

Lines Matching refs:fps

82 //Default FPS
107 //Supported preview fps ranges should be added to this array in the form (minFps,maxFps)
467 static String8 create_fps_str(const android:: FPSRange* fps, int len) {
472 snprintf(buffer, sizeof(buffer), "(%d,%d)", fps[0].minFPS, fps[0].maxFPS);
476 snprintf(buffer, sizeof(buffer), ",(%d,%d)", fps[i].minFPS, fps[i].maxFPS);
2308 uint16_t fps = (uint16_t)params.getPreviewFrameRate();
2309 LOGV("%s: requested preview frame rate is %d", __func__, fps);
2311 mParameters.setPreviewFrameRate(fps);
2322 LOGE(" CAMERA FPS mode is not supported for this sensor");
2327 LOGE("CAMERA FPS MODE mode is not supported for this sensor");
2351 //set the fps value when chaging modes
2352 int16_t fps = (uint16_t)params.getPreviewFrameRate();
2353 if(MINIMUM_FPS <= fps && fps <=MAXIMUM_FPS){
2354 mParameters.setPreviewFrameRate(fps);
2356 sizeof(fps), (void *)&fps);
2359 LOGE("Invalid preview frame rate value: %d", fps);
2567 LOGE("FPS: i=%d : minFps = %d, maxFps = %d ",i,FpsRangesSupported[i].minFPS,FpsRangesSupported[i].maxFPS );
2571 // FPS can not be negative
2577 //Set the FPS mode
2588 //set FPS values
2589 uint32_t fps; //lower 2 bytes specify maxFps and higher 2 bytes specify minFps
2590 fps = ((uint32_t)(minFps/1000) << 16) + ((uint16_t)(maxFps/1000));
2591 ret = native_set_parms(MM_CAMERA_PARM_FPS, sizeof(uint32_t), (void *)&fps);
2600 LOGE("%s: error: invalid FPS range value", __func__);
2606 LOGE("%s: error: FPS range value not supported", __func__);
3320 * turn off full size liveshot to get higher fps. */