Lines Matching defs:bitrate
357 // Attempt to approximate overall stream bitrate by summing all
358 // tracks' individual bitrates, if not all of them advertise bitrate,
367 int32_t bitrate;
368 if (!meta->findInt32(kKeyBitRate, &bitrate)) {
371 ALOGV("track of type '%s' does not publish bitrate", mime);
377 totalBitRate += bitrate;
596 bool AwesomePlayer::getBitrate(int64_t *bitrate) {
600 *bitrate = size * 8000000ll / mDurationUs; // in bits/sec
605 *bitrate = mBitrate;
609 *bitrate = 0;
616 int64_t bitrate;
618 if (mCachedSource != NULL && getBitrate(&bitrate)) {
621 *durationUs = cachedDataRemaining * 8000000ll / bitrate;
683 int64_t bitrate;
684 if (getBitrate(&bitrate)) {
686 int64_t cachedDurationUs = cachedSize * 8000000ll / bitrate;
695 // We don't know the bitrate of the stream, use absolute size
2588 fprintf(out, ", bitrate(%lld bps)", mStats.mBitrate);