Searched refs:timestamp (Results 26 - 50 of 221) sorted by relevance

123456789

/frameworks/av/include/camera/
H A DICameraRecordingProxyListener.h35 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType,
H A DICameraClient.h40 virtual void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& data) = 0;
/frameworks/av/include/media/nbaio/
H A DSourceAudioBufferProvider.h40 virtual void onTimestamp(const AudioTimestamp& timestamp);
H A DMonoPipe.h75 virtual status_t getNextWriteTimestamp(int64_t *timestamp);
94 // Return NO_ERROR if there is a timestamp available
95 status_t getTimestamp(AudioTimestamp& timestamp);
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp226 status_t MonoPipe::getNextWriteTimestamp(int64_t *timestamp) argument
230 ALOG_ASSERT(NULL != timestamp);
235 observeFrontAndNRPTS(&front, timestamp);
237 if (AudioBufferProvider::kInvalidPTS != *timestamp) {
238 // If we have a valid read-pointer and next read timestamp pair, then
240 // frames are in the buffer, and offset the timestamp by that amt. Then
242 // the next read timestamp plus the current amount of data in the
245 *timestamp = offsetTimestampByAudioFrames(*timestamp, pendingFrames);
334 status_t MonoPipe::getTimestamp(AudioTimestamp& timestamp) argument
[all...]
H A DNBLog.cpp343 String8 timestamp, body; local
347 // TODO timestamp empty here, only other choice to wait for the first timestamp event in the
348 // log to push it out. Consider keeping the timestamp/body between calls to readAt().
349 dumpLine(timestamp, body);
357 timestamp.appendFormat("[%*s]", (int) width + 4, "");
402 dumpLine(timestamp, body);
405 timestamp.clear();
407 timestamp.appendFormat("[%d.%03d to .%.03d by .%.03d to .%.03d]",
415 timestamp
438 dumpLine(const String8& timestamp, String8& body) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3DummyStream.cpp47 nsecs_t timestamp) {
55 nsecs_t timestamp,
45 returnBufferLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp) argument
53 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
H A DCamera3IOStreamBase.h58 // Last received output buffer's timestamp
66 nsecs_t timestamp,
71 nsecs_t timestamp,
H A DCamera3OutputStream.h77 nsecs_t timestamp,
101 nsecs_t timestamp);
H A DCamera3ZslStream.cpp43 TimestampFinder(nsecs_t timestamp) : mTimestamp(timestamp) {} argument
70 // Best result: timestamp is identical
86 // Order i1,i2 so that always i1.timestamp < i2.timestamp
92 // Second best: closest (lower) timestamp
99 // Worst: closest (higher) timestamp
190 nsecs_t timestamp,
198 timestamp,
264 status_t res = returnAnyBufferLocked(buffer, /*timestamp*/
188 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
285 enqueueInputBufferByTimestamp( nsecs_t timestamp, nsecs_t* actualTimestamp) argument
[all...]
H A DCamera3ZslStream.h51 * Locate a buffer matching this timestamp in the RingBufferConsumer,
57 status_t enqueueInputBufferByTimestamp(nsecs_t timestamp,
62 * latestTimestamp will be filled with the largest timestamp of buffers
97 nsecs_t timestamp,
/frameworks/base/core/jni/
H A Dandroid_view_DisplayEventReceiver.cpp71 void dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count);
72 void dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected);
150 ALOGV("receiver %p ~ Vsync pulse: timestamp=%" PRId64 ", id=%d, count=%d",
173 *outTimestamp = ev.header.timestamp;
178 dispatchHotplug(ev.header.timestamp, ev.header.id, ev.hotplug.connected);
192 void NativeDisplayEventReceiver::dispatchVsync(nsecs_t timestamp, int32_t id, uint32_t count) { argument
199 gDisplayEventReceiverClassInfo.dispatchVsync, timestamp, id, count);
206 void NativeDisplayEventReceiver::dispatchHotplug(nsecs_t timestamp, int32_t id, bool connected) { argument
213 gDisplayEventReceiverClassInfo.dispatchHotplug, timestamp, id, connected);
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsStatusListenerHelper.java101 public void onNmeaReceived(final long timestamp, final String nmea) { argument
105 listener.onNmeaReceived(timestamp, nmea);
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp38 float t = float(buffer[i].header.timestamp - oldTimeStamp) / s2ns(1);
41 oldTimeStamp = buffer[i].header.timestamp;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h109 uint32 timestamp; member in struct:tagVopHeaderInfo
155 Bool PVDecSetReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp);
156 Bool PVDecSetEnhReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp);
157 OSCL_IMPORT_REF Bool PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *bitstream[], uint32 *timestamp, int32 *buffer_size, uint use_ext_timestamp[], uint8* currYUV);
158 Bool PVDecodeVopHeader(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp[], uint8 *currYUV);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceState.java77 void onCaptureStarted(RequestHolder holder, long timestamp); argument
137 * @param timestamp The timestamp of the capture start in nanoseconds.
143 public synchronized boolean setCaptureStart(final RequestHolder request, long timestamp, argument
146 doStateTransition(STATE_CAPTURING, timestamp, captureError);
210 doStateTransition(newState, /*timestamp*/0, NO_CAPTURE_ERROR);
213 private void doStateTransition(int newState, final long timestamp, final int error) { argument
309 mCurrentListener.onCaptureStarted(mCurrentRequest, timestamp);
H A DCaptureCollector.java123 public void setJpegTimestamp(long timestamp) { argument
139 mTimestamp = timestamp;
182 public void setPreviewTimestamp(long timestamp) { argument
198 mTimestamp = timestamp;
418 * @param timestamp the timestamp of the request will be written out to here, in ns
425 MutableLong timestamp)
431 while (!removeRequestIfCompleted(holder, /*out*/timestamp)) {
443 private boolean removeRequestIfCompleted(RequestHolder holder, MutableLong timestamp) { argument
447 timestamp
424 waitForRequestCompleted(RequestHolder holder, long timeout, TimeUnit unit, MutableLong timestamp) argument
463 jpegCaptured(long timestamp) argument
521 previewCaptured(long timestamp) argument
[all...]
/frameworks/av/media/libmedia/
H A DIAudioTrack.cpp178 virtual status_t getTimestamp(AudioTimestamp& timestamp) { argument
185 timestamp.mPosition = reply.readInt32();
186 timestamp.mTime.tv_sec = reply.readInt32();
187 timestamp.mTime.tv_nsec = reply.readInt32();
275 AudioTimestamp timestamp; local
276 status_t status = getTimestamp(timestamp);
279 reply->writeInt32(timestamp.mPosition);
280 reply->writeInt32(timestamp.mTime.tv_sec);
281 reply->writeInt32(timestamp.mTime.tv_nsec);
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraCaptureSession.java717 * with the actual timestamp for the start of exposure. For a reprocess
718 * request, this timestamp will be the input image's start of exposure
719 * which matches {@link CaptureResult#SENSOR_TIMESTAMP the result timestamp field}
722 * This timestamp matches the timestamps that will be
723 * included in {@link CaptureResult#SENSOR_TIMESTAMP the result timestamp field},
739 * @param timestamp the timestamp at start of capture for a regular request, or
740 * the timestamp at the input image's start of capture for a
747 @NonNull CaptureRequest request, long timestamp, long frameNumber) {
749 onCaptureStarted(session, request, timestamp);
746 onCaptureStarted(@onNull CameraCaptureSession session, @NonNull CaptureRequest request, long timestamp, long frameNumber) argument
756 onCaptureStarted(CameraCaptureSession session, CaptureRequest request, long timestamp) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DMotionSensorWTime.java54 .addOutputPort("timestamp", Signature.PORT_OPTIONAL, FrameType.single(long.class))
108 OutputPort timeOutPort = getConnectedOutputPort("timestamp");
110 long timestamp = System.nanoTime();
111 Log.v("MotionSensor", "Timestamp is: " + timestamp);
113 timeStampFrame.setValue(timestamp);
/frameworks/av/camera/
H A DICameraClient.cpp70 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument
75 data.writeInt64(timestamp);
118 nsecs_t timestamp = data.readInt64(); local
121 dataCallbackTimestamp(timestamp, msgType, imageData);
/frameworks/av/camera/camera2/
H A DICameraDeviceCallbacks.cpp72 void onCaptureStarted(const CaptureResultExtras& result, int64_t timestamp) argument
79 data.writeInt64(timestamp);
150 int64_t timestamp = data.readInt64(); local
151 onCaptureStarted(result, timestamp);
/frameworks/base/core/java/com/android/internal/midi/
H A DEventScheduler.java24 * Store arbitrary timestamped events using a Long timestamp.
95 * @param timestamp
97 public SchedulableEvent(long timestamp) { argument
98 mTimestamp = timestamp;
102 * @return timestamp
109 * The timestamp should not be modified when the event is in the
112 public void setTimestamp(long timestamp) { argument
113 mTimestamp = timestamp;
184 * @param timestamp
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java78 * @param timestamp
82 String timestamp) {
84 "&timestamp=" + timestamp;
119 * Post a given file for a given device and timestamp to the server.
122 * @param timestamp {@link String} timestamp
126 public static boolean postFileToServer(String server, String deviceId, String timestamp, argument
140 new StringPart("timestamp", timestamp),
81 buildDownloadUrl(String server, int size, String deviceId, String timestamp) argument
[all...]
/frameworks/base/media/java/android/media/
H A DImage.java163 * Get the timestamp associated with this frame.
165 * The timestamp is measured in nanoseconds, and is normally monotonically
168 * timebase of the timestamp depend on the source providing images. See
177 * Set the timestamp associated with this frame.
179 * The timestamp is measured in nanoseconds, and is normally monotonically
182 * timebase of the timestamp depend on the source providing images. See
191 * {@link ImageWriter}, or the timestamp will be generated automatically when
195 * @param timestamp The timestamp to be set for this image.
197 public void setTimestamp(long timestamp) { argument
[all...]

Completed in 566 milliseconds

123456789