Home
last modified time | relevance | path

Searched refs:frameNumFrom (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() argument
89 assert(frameNumFrom >= 0 && frameNumTo < mInfos.size()); in getBitrateAverage()
90 for (int i = frameNumFrom; i < frameNumTo; ++i) { in getBitrateAverage()
95 auto from = mInfos.begin() + frameNumFrom; 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()
123 mInfos[frameNumFrom].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;