Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/
DARTPSource.cpp550 int32_t rightEnd = ffs(targetBitrate) - 1; in addTMMBR() local
553 if ((leftEnd - rightEnd) > 16) { in addTMMBR()
554 rightEnd = leftEnd - 16; in addTMMBR()
556 int32_t mantissa = targetBitrate >> rightEnd; in addTMMBR()
558 data[16] = ((rightEnd << 2) & 0xfc) | ((mantissa & 0x18000) >> 15); in addTMMBR()
565 ALOGI("UE -> Op Req Rx bitrate : %d ", mantissa << rightEnd); in addTMMBR()
DARTPWriter.cpp799 int32_t rightEnd = ffs(mBitrate) - 1; in addTMMBN() local
802 if ((leftEnd - rightEnd) > 16) { in addTMMBN()
803 rightEnd = leftEnd - 16; in addTMMBN()
805 int32_t mantissa = mBitrate >> rightEnd; in addTMMBN()
807 data[16] = ((rightEnd << 2) & 0xfc) | ((mantissa & 0x18000) >> 15); in addTMMBN()
814 ALOGI("UE -> Op Noti Tx bitrate : %d ", mantissa << rightEnd); in addTMMBN()