Home
last modified time | relevance | path

Searched refs:Modulo (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/include/media/
DModulo.h85 template <typename T> class Modulo {
92 Modulo() { } // intentionally uninitialized data in Modulo() function
93 Modulo(const T &value) { mValue = value; } in Modulo() function
102 Modulo<T> operator +=(const Modulo<S> &other) {
110 Modulo<T> operator -=(const Modulo<S> &other) {
120 const Modulo<T> operator +(const Modulo<S> &other) const {
122 return Modulo<T>(mValue + other.unsignedValue());
127 const Modulo<T> operator -(const Modulo<S> &other) const {
129 return Modulo<T>(mValue - other.unsignedValue());
139 bool operator >(const Modulo<S> &other) const {
[all …]
DAudioTrack.h980 Modulo<uint32_t> updateAndGetPosition_l();
1083 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units
1085 Modulo<uint32_t> mNewPosition; // in frames
1088 Modulo<uint32_t> mServer; // in frames, last known mProxy->getPosition()
1092 Modulo<uint32_t> mPosition; // in frames, like mServer except continues
1095 Modulo<uint32_t> mReleased; // count of frames released to server
DAudioRecord.h568 status_t openRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName);
600 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units
602 Modulo<uint32_t> mNewPosition; // in frames
/frameworks/av/media/libmedia/include/media/
DModulo.h85 template <typename T> class Modulo {
92 Modulo() { } // intentionally uninitialized data in Modulo() function
93 Modulo(const T &value) { mValue = value; } in Modulo() function
102 Modulo<T> operator +=(const Modulo<S> &other) {
110 Modulo<T> operator -=(const Modulo<S> &other) {
120 const Modulo<T> operator +(const Modulo<S> &other) const {
122 return Modulo<T>(mValue + other.unsignedValue());
127 const Modulo<T> operator -(const Modulo<S> &other) const {
129 return Modulo<T>(mValue - other.unsignedValue());
139 bool operator >(const Modulo<S> &other) const {
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioTrack.h980 Modulo<uint32_t> updateAndGetPosition_l();
1083 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units
1085 Modulo<uint32_t> mNewPosition; // in frames
1088 Modulo<uint32_t> mServer; // in frames, last known mProxy->getPosition()
1092 Modulo<uint32_t> mPosition; // in frames, like mServer except continues
1095 Modulo<uint32_t> mReleased; // count of frames released to server
DAudioRecord.h568 status_t openRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName);
600 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units
602 Modulo<uint32_t> mNewPosition; // in frames
/frameworks/av/include/private/media/
DAudioTrackShared.h297 Modulo<uint32_t> getPosition() { in getPosition()
301 void setEpoch(const Modulo<uint32_t> &epoch) { in setEpoch()
317 Modulo<uint32_t> getEpoch() const { in getEpoch()
342 Modulo<uint32_t> mEpoch;
470 return (Modulo<int32_t>(rear) - front).unsignedValue(); in flush()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp539 status_t AudioRecord::openRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName) in openRecord_l()
1018 Modulo<uint32_t> position(mProxy->getPosition()); in processAudioBuffer()
1022 Modulo<uint32_t> markerPosition(mMarkerPosition); in processAudioBuffer()
1030 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer()
1224 Modulo<uint32_t> position(mProxy->getPosition()); in restoreRecord_l()
DAudioTrack.cpp1953 Modulo<uint32_t> position(updateAndGetPosition_l()); in processAudioBuffer()
1957 Modulo<uint32_t> markerPosition(mMarkerPosition); in processAudioBuffer()
1965 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer()
2378 Modulo<uint32_t> AudioTrack::updateAndGetPosition_l() in updateAndGetPosition_l()
2381 Modulo<uint32_t> newServer(mProxy->getPosition()); in updateAndGetPosition_l()
2758 int32_t deltaPosition = (Modulo<uint32_t>(timestamp.mPosition) in getTimestamp_l()
2972 int32_t diff = (Modulo<uint32_t>(mFramesWritten) - mPosition).signedValue(); in pendingDuration()
/frameworks/rs/script_api/
Drs_math.spec1035 summary: Modulo
/frameworks/rs/script_api/include/
Drs_math.rsh1869 * fmod: Modulo