Searched defs:timestamp (Results 26 - 50 of 57) sorted by relevance

123

/frameworks/native/include/android/
H A Dsensor.h115 int64_t timestamp; member in struct:ASensorEvent
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp47 mVSyncEvent[i].header.timestamp = 0;
114 void EventThread::onVSyncReceived(int type, nsecs_t timestamp) { argument
122 mVSyncEvent[type].header.timestamp = timestamp;
137 event.header.timestamp = systemTime();
186 nsecs_t timestamp = 0; local
188 timestamp = mVSyncEvent[i].header.timestamp;
189 if (timestamp) {
192 mVSyncEvent[i].header.timestamp
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java141 public void setSurfaceTimestamp(long timestamp) { argument
142 if (!nativeSetSurfaceTimestamp(timestamp)) {
143 throw new RuntimeException("Could not set timestamp for current surface!");
183 private native boolean nativeSetSurfaceTimestamp(long timestamp); argument
H A DFrame.java122 public void setTimestamp(long timestamp) { argument
123 mTimestamp = timestamp;
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp373 jlong timestamp) {
375 int64_t timestamp_native = timestamp;
371 Java_android_filterfw_core_GLEnvironment_nativeSetSurfaceTimestamp(JNIEnv* env, jobject thiz, jlong timestamp) argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp240 bool GLEnv::SetSurfaceTimestamp(int64_t timestamp) { argument
247 native_window_set_buffers_timestamp(window, timestamp);
/frameworks/av/camera/
H A DCamera.cpp378 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
389 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr);
399 listener->postDataTimestamp(timestamp, msgType, dataPtr);
/frameworks/av/media/libmedia/
H A DIOMX.cpp367 OMX_U32 flags, OMX_TICKS timestamp) {
375 data.writeInt64(timestamp);
714 OMX_TICKS timestamp = data.readInt64(); local
719 flags, timestamp));
363 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp103 OMX_U32 flags, OMX_TICKS timestamp);
304 OMX_U32 flags, OMX_TICKS timestamp) {
306 node, buffer, range_offset, range_length, flags, timestamp);
300 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument
H A DCameraSource.cpp46 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
81 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
85 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr);
804 ALOGV("dataCallbackTimestamp: timestamp %lld us", timestampUs);
819 // May need to skip frame or modify timestamp. Currently implemented
861 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) {
862 mSource->dataCallbackTimestamp(timestamp / 1000, msgType, dataPtr);
80 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
860 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp300 int64_t timestamp, uint32_t *stride) {
333 ALOGVV("Set timestamp to %p", anw.get());
334 err = native_window_set_buffers_timestamp(anw.get(), timestamp);
370 EXPECT_EQ(time, b.timestamp);
411 EXPECT_EQ(time[i], b.timestamp);
453 EXPECT_EQ(time, b[i].timestamp);
476 EXPECT_EQ(time, bTooMuch.timestamp);
298 produceOneFrame(const sp<ANativeWindow>& anw, const CpuConsumerTestParams& params, int64_t timestamp, uint32_t *stride) argument
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java191 long timestamp = mSurface.getTimestamp();
192 doPhysics(timestamp);
339 private void doPhysics(long timestamp) { argument
345 mLastTime = timestamp;
347 float deltaT = (timestamp - mLastTime)/1000000000.f; // To seconds
355 mLastTime = timestamp;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp1002 uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV)
1007 status = (PV_STATUS)PVDecodeVopHeader(decCtrl, buffer, timestamp, buffer_size, &header_info, use_ext_timestamp, currYUV);
1030 uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], uint8 *currYUV)
1054 timestamp[idx] = -1;
1058 /* did the application provide a timestamp for this vop? */
1059 if (timestamp[idx] < 0)
1063 /* decode the timestamp in the bitstream */
1082 timestamp[idx] = CalcVopDisplayTime(video->vol[idx], vopHeader[idx], video->shortVideoHeader);
1089 timestamp[idx] = vopHeader[idx]->timeStamp;
1094 if (timestamp[id
1001 PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV) argument
1029 PVDecodeVopHeader(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], uint8 *currYUV) argument
1598 PVDecSetReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp) argument
1639 PVDecSetEnhReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
H A Dmp4enc_api.h123 ULong timestamp; /* modulo timestamp in millisecond*/ member in struct:tagvideoEncFrameIO
331 * @param nextModTime is the timestamp encoder expects from the next input
354 * @brief This function sets the input YUV frame and timestamp to be encoded by the slice-based encoding function PVEncodeSlice().
356 * The encoder library processes the timestamp and determine if this frame is to be encoded or not. If the current frame
361 * @param nextModTime is the timestamp encoder expects from the next input if this input is rejected and nLayer is set to -1.
373 * At the end-of-frame, the next video input address and the next video modulo timestamp will be set.
380 * @param nextModTime is the timestamp encoder expects from the next input
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp375 OMX_U32 flags, OMX_TICKS timestamp) {
377 buffer, range_offset, range_length, flags, timestamp);
433 msg.u.extended_buffer_data.timestamp = pBuffer->nTimeStamp;
371 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp) argument
H A DOMXNodeInstance.cpp631 OMX_U32 flags, OMX_TICKS timestamp) {
638 header->nTimeStamp = timestamp;
628 emptyBuffer( OMX::buffer_id buffer, OMX_U32 rangeOffset, OMX_U32 rangeLength, OMX_U32 flags, OMX_TICKS timestamp) argument
/frameworks/av/services/camera/libcameraservice/
H A DCameraClient.cpp749 void CameraClient::dataCallbackTimestamp(nsecs_t timestamp, argument
764 ALOGE("Null data returned in data with timestamp callback");
769 client->handleGenericDataTimestamp(timestamp, msgType, dataPtr);
891 void CameraClient::handleGenericDataTimestamp(nsecs_t timestamp, argument
896 c->dataCallbackTimestamp(timestamp, msgType, dataPtr);
H A DCamera2Client.cpp182 result.appendFormat(" GPS timestamp: %lld\n",
1333 void Camera2Client::notifyShutter(int frameNumber, nsecs_t timestamp) { argument
1335 frameNumber, timestamp);
H A DCameraHardwareInterface.h42 typedef void (*data_callback_timestamp)(nsecs_t timestamp,
468 static void __data_cb_timestamp(nsecs_t timestamp, int32_t msg_type, argument
484 __this->mDataCbTimestamp(timestamp, msg_type, mem->mBuffers[index], __this->mCbUser);
636 int64_t timestamp) {
638 return native_window_set_buffers_timestamp(a, timestamp);
635 __set_timestamp(struct preview_stream_ops *w, int64_t timestamp) argument
/frameworks/native/libs/gui/
H A DBufferQueue.cpp488 int64_t timestamp; local
491 input.deflate(&timestamp, &crop, &scalingMode, &transform, &fence);
495 buf, timestamp, crop.left, crop.top, crop.right, crop.bottom,
556 mSlots[buf].mTimestamp = timestamp;
H A DSurfaceTextureClient.cpp280 int64_t timestamp; local
282 timestamp = systemTime(SYSTEM_TIME_MONOTONIC);
283 ALOGV("SurfaceTextureClient::queueBuffer making up timestamp: %.2f ms",
284 timestamp / 1000000.f);
286 timestamp = mTimestamp;
300 ISurfaceTexture::QueueBufferInput input(timestamp, crop, mScalingMode,
489 int64_t timestamp = va_arg(args, int64_t); local
490 return setBuffersTimestamp(timestamp);
662 int SurfaceTextureClient::setBuffersTimestamp(int64_t timestamp) argument
666 mTimestamp = timestamp;
[all...]
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp171 virtual void dataCallbackTimestamp(nsecs_t timestamp,
275 void MCameraClient::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, argument
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp66 virtual void postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr);
324 void JNICameraContext::postDataTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument
326 // TODO: plumb up to Java. For now, just drop the timestamp
/frameworks/base/location/java/android/location/
H A DLocationManager.java1219 "Incomplete location object, missing timestamp or accuracy? " + loc);
1348 Nmea(long timestamp, String nmea) { argument
1349 mTimestamp = timestamp;
1411 public void onNmeaReceived(long timestamp, String nmea) { argument
1414 mNmeaBuffer.add(new Nmea(timestamp, nmea));
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp78 (jfloat)location->accuracy, (jlong)location->timestamp);
97 static void nmea_callback(GpsUtcTime timestamp, const char* nmea, int length) argument
104 env->CallVoidMethod(mCallbacksObj, method_reportNmea, timestamp);

Completed in 534 milliseconds

123