/frameworks/av/camera/ |
H A D | Camera.cpp | 371 void Camera::dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 382 proxylistener->dataCallbackTimestamp(timestamp, msgType, dataPtr); 393 listener->postDataTimestamp(timestamp, msgType, dataPtr); 400 void Camera::recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument 411 proxylistener->recordingFrameHandleCallbackTimestamp(timestamp, handle); 422 listener->postRecordingFrameHandleTimestamp(timestamp, handle);
|
H A D | ICameraClient.cpp | 75 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument 80 data.writeInt64(timestamp); 86 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument 90 data.writeInt64(timestamp); 156 nsecs_t timestamp = data.readInt64(); local 159 dataCallbackTimestamp(timestamp, msgType, imageData); 165 nsecs_t timestamp; local 166 status_t res = data.readInt64(×tamp); 168 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res); 178 recordingFrameHandleCallbackTimestamp(timestamp, handl [all...] |
H A D | ICameraRecordingProxyListener.cpp | 42 void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& imageData) argument 47 data.writeInt64(timestamp); 53 void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) { argument 57 data.writeInt64(timestamp); 109 nsecs_t timestamp = data.readInt64(); local 112 dataCallbackTimestamp(timestamp, msgType, imageData); 118 nsecs_t timestamp; local 119 status_t res = data.readInt64(×tamp); 121 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res); 132 recordingFrameHandleCallbackTimestamp(timestamp, handl [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 886 int64_t timestamp; local 887 found = msg->findInt64(kTimeStampKey, ×tamp); 889 ALOGE("%s: Cannot find timestamp!", __FUNCTION__); 893 (*onStart)(context, session.get(), request, timestamp); 1237 int64_t timestamp) { 1268 msg->setInt64(kTimeStampKey, timestamp); 1235 onCaptureStarted( const CaptureResultExtras& resultExtras, int64_t timestamp) argument
|
/frameworks/av/camera/tests/ |
H A D | CameraBinderTests.cpp | 189 int64_t timestamp) { 191 (void) timestamp; 188 onCaptureStarted(const CaptureResultExtras& resultExtras, int64_t timestamp) argument
|
/frameworks/av/include/media/ |
H A D | AudioTimestamp.h | 41 LOCATION_CLIENT, // timestamp of last read frame from client-server track buffer. 42 LOCATION_SERVER, // timestamp of newest frame from client-server track buffer. 43 LOCATION_KERNEL, // timestamp of newest frame in the kernel (alsa) buffer. 45 // Historical data: info when the kernel timestamp was OK (prior to the newest frame). 46 // This may be useful when the newest frame kernel timestamp is unavailable. 48 LOCATION_SERVER_LASTKERNELOK, // timestamp of server the prior time kernel timestamp OK. 49 LOCATION_KERNEL_LASTKERNELOK, // timestamp of kernel the prior time kernel timestamp OK. 76 // timestamp wa 124 getBestTimestamp(AudioTimestamp *timestamp, Location *location = nullptr) const argument [all...] |
H A D | IOMX.h | 166 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd = -1) = 0; 206 OMX_TICKS timestamp; member in struct:android::omx_message::__anon73::__anon76 211 OMX_TICKS timestamp; member in struct:android::omx_message::__anon73::__anon77
|
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 325 status_t getTimestamp(ExtendedTimestamp *timestamp) { argument 326 if (timestamp == nullptr) { 330 *timestamp = mTimestamp; 344 // The shared buffer contents referred to by the timestamp observer 345 // is initialized when the server proxy created. A local zero timestamp 520 // Expose timestamp to client proxy. Should only be called by a single thread. 521 virtual void setTimestamp(const ExtendedTimestamp ×tamp) { argument 522 mTimestampMutator.push(timestamp); 591 // Set the internal drain state of the track buffer from the timestamp received.
|
/frameworks/av/media/libaaudio/src/binding/ |
H A D | AAudioServiceMessage.h | 32 int64_t timestamp; // time when that position was reached member in struct:aaudio::AAudioMessageTimestamp 60 AAudioMessageTimestamp timestamp; // what == TIMESTAMP member in union:aaudio::AAudioServiceMessage_s::__anon174
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioRecord.cpp | 306 mProxy->clearTimestamp(); // timestamp is invalid until next server push 458 status_t AudioRecord::getTimestamp(ExtendedTimestamp *timestamp) argument 460 if (timestamp == nullptr) { 464 status_t status = mProxy->getTimestamp(timestamp); 466 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesRead; 467 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; 471 if (timestamp->mTimeNs[i] >= 0) { 472 timestamp->mPosition[i] += mFramesReadServerOffset;
|
H A D | AudioTrack.cpp | 583 // save start timestamp 614 mProxy->clearTimestamp(); // need new server push for valid timestamp 766 // the same configuration. A timestamp query for a paused track 2377 status_t AudioTrack::getTimestamp(ExtendedTimestamp *timestamp) argument 2379 if (timestamp == nullptr) { 2383 return getTimestamp_l(timestamp); 2386 status_t AudioTrack::getTimestamp_l(ExtendedTimestamp *timestamp) argument 2400 status_t status = mProxy->getTimestamp(timestamp); 2403 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesWritten; 2404 timestamp 2418 getTimestamp(AudioTimestamp& timestamp) argument 2424 getTimestamp_l(AudioTimestamp& timestamp) argument [all...] |
H A D | IAudioTrack.cpp | 128 virtual status_t getTimestamp(AudioTimestamp& timestamp) { argument 135 timestamp.mPosition = reply.readInt32(); 136 timestamp.mTime.tv_sec = reply.readInt32(); 137 timestamp.mTime.tv_nsec = reply.readInt32(); 242 AudioTimestamp timestamp; local 243 status_t status = getTimestamp(timestamp); 246 reply->writeInt32(timestamp.mPosition); 247 reply->writeInt32(timestamp.mTime.tv_sec); 248 reply->writeInt32(timestamp.mTime.tv_nsec);
|
/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioTimestamp.h | 41 LOCATION_CLIENT, // timestamp of last read frame from client-server track buffer. 42 LOCATION_SERVER, // timestamp of newest frame from client-server track buffer. 43 LOCATION_KERNEL, // timestamp of newest frame in the kernel (alsa) buffer. 45 // Historical data: info when the kernel timestamp was OK (prior to the newest frame). 46 // This may be useful when the newest frame kernel timestamp is unavailable. 48 LOCATION_SERVER_LASTKERNELOK, // timestamp of server the prior time kernel timestamp OK. 49 LOCATION_KERNEL_LASTKERNELOK, // timestamp of kernel the prior time kernel timestamp OK. 76 // timestamp wa 124 getBestTimestamp(AudioTimestamp *timestamp, Location *location = nullptr) const argument [all...] |
/frameworks/av/media/libaudiohal/ |
H A D | StreamHalLocal.cpp | 147 status_t StreamOutHalLocal::getNextWriteTimestamp(int64_t *timestamp) { argument 149 return mStream->get_next_write_timestamp(mStream, timestamp); 221 status_t StreamOutHalLocal::getPresentationPosition(uint64_t *frames, struct timespec *timestamp) { argument 223 return mStream->get_presentation_position(mStream, frames, timestamp);
|
/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 388 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 397 data.writeInt64(timestamp); 539 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd = -1) { 540 return mBase->emptyBuffer(buffer, omxBuf, flags, timestamp, fenceFd); 923 OMX_TICKS timestamp = data.readInt64(); local 927 buffer, omxBuf, flags, timestamp, fenceFd)); 386 emptyBuffer( buffer_id buffer, const OMXBuffer &omxBuf, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 537 emptyBuffer( buffer_id buffer, const OMXBuffer &omxBuf, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd = -1) argument
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IOMX.h | 166 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd = -1) = 0; 206 OMX_TICKS timestamp; member in struct:android::omx_message::__anon379::__anon382 211 OMX_TICKS timestamp; member in struct:android::omx_message::__anon379::__anon383
|
/frameworks/av/media/libmedia/omx/1.0/ |
H A D | WOmxNode.cpp | 201 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 214 toRawTicks(timestamp), 199 emptyBuffer( buffer_id buffer, const OMXBuffer &omxBuffer, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument
|
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamOutSink.cpp | 77 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp ×tamp) argument 84 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64; 85 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] =
|
H A D | MonoPipe.cpp | 180 status_t MonoPipe::getTimestamp(ExtendedTimestamp ×tamp) argument 184 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 186 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] =
|
H A D | MonoPipeReader.cpp | 58 void MonoPipeReader::onTimestamp(const ExtendedTimestamp ×tamp) argument 60 mPipe->mTimestampMutator.push(timestamp);
|
H A D | NBLog.cpp | 73 // skip timestamp 82 timespec NBLog::FormatEntry::timestamp() const { function in class:android::NBLog::FormatEntry 93 // skip timestamp 107 // copy timestamp 397 case 't': // timestamp 714 String8 timestamp, body; local 718 // TODO timestamp empty here, only other choice to wait for the first timestamp event in the 719 // log to push it out. Consider keeping the timestamp/body between calls to readAt(). 720 dumpLine(timestamp, bod 832 dumpLine(const String8 ×tamp, String8 &body) argument 871 handleFormat(const FormatEntry &fmtEntry, String8 *timestamp, String8 *body) argument [all...] |
H A D | SourceAudioBufferProvider.cpp | 120 void SourceAudioBufferProvider::onTimestamp(const ExtendedTimestamp ×tamp) argument 122 mSource->onTimestamp(timestamp);
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 57 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr); 59 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp, native_handle_t* handle); 101 nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) { 105 source->dataCallbackTimestamp(timestamp/1000, msgType, dataPtr); 109 void CameraSourceListener::postRecordingFrameHandleTimestamp(nsecs_t timestamp, argument 113 source->recordingFrameHandleCallbackTimestamp(timestamp/1000, handle); 1104 // May need to skip frame or modify timestamp. Currently implemented 1112 ALOGW("Dropping frame with backward timestamp %lld (last %lld)", 1140 ALOGV("dataCallbackTimestamp: timestamp %lld us", (long long)timestampUs); 1189 ALOGV("%s: timestamp 100 postDataTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 1386 dataCallbackTimestamp( nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr) argument 1391 recordingFrameHandleCallbackTimestamp(nsecs_t timestamp, native_handle_t* handle) argument [all...] |
/frameworks/av/media/libstagefright/codec2/include/ |
H A D | C2Work.h | 73 uint64_t timestamp; member in struct:android::C2WorkOrdinalStruct 78 C2FIELD(timestamp, "timestamp")
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 230 // so use fake timestamp instead 231 uint32_t timestamp = 0xFFFFFFFF; local 234 timestamp = mPvTime; 263 mHandle, &bitstreamTmp, ×tamp, &tmp, 294 outHeader->nTimeStamp = mPvToOmxTimeMap.valueFor(timestamp); 295 mPvToOmxTimeMap.removeItem(timestamp);
|