Home
last modified time | relevance | path

Searched refs:Modulo (Results 1 – 12 of 12) 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.h1011 Modulo<uint32_t> updateAndGetPosition_l();
1127 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units
1129 Modulo<uint32_t> mNewPosition; // in frames
1132 Modulo<uint32_t> mServer; // in frames, last known mProxy->getPosition()
1136 Modulo<uint32_t> mPosition; // in frames, like mServer except continues
1139 Modulo<uint32_t> mReleased; // count of frames released to server
DAudioRecord.h614 status_t createRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName);
648 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units
650 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.h1011 Modulo<uint32_t> updateAndGetPosition_l();
1127 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units
1129 Modulo<uint32_t> mNewPosition; // in frames
1132 Modulo<uint32_t> mServer; // in frames, last known mProxy->getPosition()
1136 Modulo<uint32_t> mPosition; // in frames, like mServer except continues
1139 Modulo<uint32_t> mReleased; // count of frames released to server
DAudioRecord.h614 status_t createRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName);
648 Modulo<uint32_t> mMarkerPosition; // in wrapping (overflow) frame units
650 Modulo<uint32_t> mNewPosition; // in frames
/frameworks/av/include/private/media/
DAudioTrackShared.h299 Modulo<uint32_t> getPosition() { in getPosition()
303 void setEpoch(const Modulo<uint32_t> &epoch) { in setEpoch()
319 Modulo<uint32_t> getEpoch() const { in getEpoch()
346 Modulo<uint32_t> mEpoch;
486 return (Modulo<int32_t>(rear) - front).unsignedValue(); in flush()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp660 status_t AudioRecord::createRecord_l(const Modulo<uint32_t> &epoch, const String16& opPackageName) in createRecord_l()
1072 Modulo<uint32_t> position(mProxy->getPosition()); in processAudioBuffer()
1076 Modulo<uint32_t> markerPosition(mMarkerPosition); in processAudioBuffer()
1084 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer()
1289 Modulo<uint32_t> position(mProxy->getPosition()); in restoreRecord_l()
DAudioTrack.cpp1916 Modulo<uint32_t> position(updateAndGetPosition_l()); in processAudioBuffer()
1920 Modulo<uint32_t> markerPosition(mMarkerPosition); in processAudioBuffer()
1928 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer()
2393 Modulo<uint32_t> AudioTrack::updateAndGetPosition_l() in updateAndGetPosition_l()
2396 Modulo<uint32_t> newServer(mProxy->getPosition()); in updateAndGetPosition_l()
2827 int32_t deltaPosition = (Modulo<uint32_t>(timestamp.mPosition) in getTimestamp_l()
3051 int32_t diff = (Modulo<uint32_t>(mFramesWritten) - mPosition).signedValue(); in pendingDuration()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp401 class Modulo : public IRandomVariableOp { class
535 : RandomVariable(lhs, rhs, Singleton<Modulo>::get()); in operator %()
/frameworks/rs/script_api/
Drs_math.spec1035 summary: Modulo
/frameworks/rs/script_api/include/
Drs_math.rsh1869 * fmod: Modulo