Home
last modified time | relevance | path

Searched refs:frameNumTo (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.cpp87 int32_t Stats::getBitrateAverage(int32_t frameNumFrom, int32_t frameNumTo) const { in getBitrateAverage()
89 assert(frameNumFrom >= 0 && frameNumTo < mInfos.size()); in getBitrateAverage()
90 for (int i = frameNumFrom; i < frameNumTo; ++i) { in getBitrateAverage()
96 auto to = mInfos.begin() + frameNumTo; in getBitrateAverage()
108 int32_t frameNumFrom, int32_t frameNumTo, int32_t windowSize) const { in getBitratePeak() argument
111 assert(frameNumFrom >= 0 && frameNumTo < mInfos.size()); in getBitratePeak()
112 assert(windowSize < (frameNumTo - frameNumFrom)); in getBitratePeak()
114 for (int i = frameNumFrom; i < frameNumTo; ++i) { in getBitratePeak()
122 int64_t duration = mInfos[frameNumTo].presentationTimeUs - in getBitratePeak()
Dnative_media_utils.h184 int32_t getBitrateAverage(int32_t frameNumFrom, int32_t frameNumTo) const;
185 int32_t getBitratePeak(int32_t frameNumFrom, int32_t frameNumTo, int32_t windowSize) const;