Lines Matching refs:maxFPS
108 //Supported preview fps ranges should be added to this array in the form (minFps,maxFps)
474 snprintf(buffer, sizeof(buffer), "(%d,%d)", fps[0].minFPS, fps[0].maxFPS);
478 snprintf(buffer, sizeof(buffer), ",(%d,%d)", fps[i].minFPS, fps[i].maxFPS);
2663 int minFps,maxFps;
2670 params.getPreviewFpsRange(&minFps,&maxFps);
2671 ALOGV("%s: Requested FpsRange Values:(%d, %d)", __func__, minFps, maxFps);
2673 if(mInitialized && (minFps == prevMinFps && maxFps == prevMaxFps)) {
2680 if(minFps==FpsRangesSupported[i].minFPS && maxFps == FpsRangesSupported[i].maxFPS){
2682 ALOGV("FPS: i=%d : minFps = %d, maxFps = %d ",i,FpsRangesSupported[i].minFPS,FpsRangesSupported[i].maxFPS );
2683 mParameters.setPreviewFpsRange(minFps,maxFps);
2687 if(minFps < 0 || maxFps < 0) valid = false;
2688 // minFps must be >= maxFps
2689 if(minFps > maxFps) valid = false;
2693 const char *str = (minFps == maxFps) ?
2704 uint32_t fps; //lower 2 bytes specify maxFps and higher 2 bytes specify minFps
2705 fps = ((uint32_t)(minFps/1000) << 16) + ((uint16_t)(maxFps/1000));
2707 mParameters.setPreviewFpsRange(minFps, maxFps);