Home | History | Annotate | Download | only in devcamera

Lines Matching refs:mFrameTimes

714     private LinkedList<Long> mFrameTimes = new LinkedList<Long>();
755 mFrameTimes.add(result.get(CaptureResult.SENSOR_TIMESTAMP));
756 if (mFrameTimes.size() > FPS_CALC_LOOKBACK) {
757 mFrameTimes.removeFirst();
763 if (mFrameTimes.size() > 1) {
764 long dt = result.get(CaptureResult.SENSOR_TIMESTAMP) - mFrameTimes.get(mFrameTimes.size()-2);
775 if (mFrameTimes.size() > 1) {
776 long dt = mFrameTimes.getLast() - mFrameTimes.getFirst();
777 fps = (mFrameTimes.size() - 1) * 1000000000f / dt;