Searched refs:ExtendedTimestamp (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/av/include/media/
H A DExtendedAudioBufferProvider.h34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { }
H A DAudioTimestamp.h37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp {
60 ExtendedTimestamp() { function
144 ss << "ExtendedTimestamp[" << i << "] position: "
H A DAudioTrack.h795 * timestamp: A pointer to the caller allocated ExtendedTimestamp.
815 status_t getTimestamp(ExtendedTimestamp *timestamp);
817 status_t getTimestamp_l(ExtendedTimestamp *timestamp);
846 * so the choice of ExtendedTimestamp::LOCATION_SERVER is default.
848 * by specifying a location ExtendedTimestamp::LOCATION_KERNEL; however,
852 * INVALID_OPERATION if ExtendedTimestamp::LOCATION_KERNEL cannot be obtained
857 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER);
1082 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal
1091 ExtendedTimestamp
[all...]
/frameworks/av/media/libmedia/include/media/
H A DExtendedAudioBufferProvider.h34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { }
/frameworks/av/include/media/nbaio/
H A DMonoPipe.h27 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampSingleStateQueue;
84 status_t getTimestamp(ExtendedTimestamp &timestamp);
H A DMonoPipeReader.h52 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
H A DAudioStreamOutSink.h51 virtual status_t getTimestamp(ExtendedTimestamp &timestamp);
H A DSourceAudioBufferProvider.h40 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
H A DNBAIO.h223 virtual status_t getTimestamp(ExtendedTimestamp& /*timestamp*/) { return INVALID_OPERATION; }
321 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { }
/frameworks/av/media/libnbaio/include/
H A DMonoPipe.h27 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampSingleStateQueue;
84 status_t getTimestamp(ExtendedTimestamp &timestamp);
H A DMonoPipeReader.h52 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
H A DAudioStreamOutSink.h51 virtual status_t getTimestamp(ExtendedTimestamp &timestamp);
H A DSourceAudioBufferProvider.h40 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
H A DNBAIO.h223 virtual status_t getTimestamp(ExtendedTimestamp& /*timestamp*/) { return INVALID_OPERATION; }
321 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { }
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp144 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] =
355 ExtendedTimestamp perTrackTimestamp(mTimestamp);
357 // Can't provide an ExtendedTimestamp before first frame presented.
360 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) {
361 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] =
364 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 0;
365 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1;
367 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] = trackFramesWritten;
471 ExtendedTimestamp timestamp; // local
475 timestamp.mPosition[ExtendedTimestamp
[all...]
H A DFastMixer.h86 ExtendedTimestamp mTimestamp;
H A DMmapTracks.h57 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp180 status_t MonoPipe::getTimestamp(ExtendedTimestamp &timestamp)
182 ExtendedTimestamp ets;
184 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] =
185 ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL];
186 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] =
187 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL];
H A DAudioStreamOutSink.cpp77 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp &timestamp)
84 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64;
85 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] =
H A DMonoPipeReader.cpp58 void MonoPipeReader::onTimestamp(const ExtendedTimestamp &timestamp)
/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamLegacy.cpp125 ExtendedTimestamp *extendedTimestamp) {
129 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME;
132 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC;
H A DAudioStreamLegacy.h99 android::ExtendedTimestamp *extendedTimestamp);
/frameworks/av/media/libaudioclient/include/media/
H A DAudioTimestamp.h37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp {
60 ExtendedTimestamp() { function
144 ss << "ExtendedTimestamp[" << i << "] position: "
H A DAudioTrack.h795 * timestamp: A pointer to the caller allocated ExtendedTimestamp.
815 status_t getTimestamp(ExtendedTimestamp *timestamp);
817 status_t getTimestamp_l(ExtendedTimestamp *timestamp);
846 * so the choice of ExtendedTimestamp::LOCATION_SERVER is default.
848 * by specifying a location ExtendedTimestamp::LOCATION_KERNEL; however,
852 * INVALID_OPERATION if ExtendedTimestamp::LOCATION_KERNEL cannot be obtained
857 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER);
1082 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal
1091 ExtendedTimestamp
[all...]
/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp553 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID;
599 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID;
602 && mStartEts.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) {
608 + mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]),
611 mFramesWrittenServerOffset = -mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER];
2377 status_t AudioTrack::getTimestamp(ExtendedTimestamp *timestamp)
2386 status_t AudioTrack::getTimestamp_l(ExtendedTimestamp *timestamp)
2403 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesWritten;
2404 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0;
2406 for (int i = ExtendedTimestamp
[all...]

Completed in 8580 milliseconds

12