Loading services/camera/libcameraservice/device3/PreviewFrameScheduler.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ static void frameCallback(const AChoreographerFrameCallbackData* callbackData, v size_t length = AChoreographerFrameCallbackData_getFrameTimelinesLength(callbackData); std::vector<nsecs_t> timeline(length); for (size_t i = 0; i < length; i++) { nsecs_t timestamp = AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTime( nsecs_t timestamp = AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTimeNanos( callbackData, i); timeline[i] = timestamp; } Loading Loading
services/camera/libcameraservice/device3/PreviewFrameScheduler.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ static void frameCallback(const AChoreographerFrameCallbackData* callbackData, v size_t length = AChoreographerFrameCallbackData_getFrameTimelinesLength(callbackData); std::vector<nsecs_t> timeline(length); for (size_t i = 0; i < length; i++) { nsecs_t timestamp = AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTime( nsecs_t timestamp = AChoreographerFrameCallbackData_getFrameTimelineExpectedPresentTimeNanos( callbackData, i); timeline[i] = timestamp; } Loading