Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/aidl/default/
DA2dpOffloadCodecSbc.cpp223 static int GetFrameSize(const A2dpBits& configuration, int bitpool) { in GetFrameSize() argument
230 ((blocks * bitpool) << configuration.get(kChannelModeDualChannel)) + in GetFrameSize()
236 static int GetBitrate(const A2dpBits& configuration, int bitpool) { in GetBitrate() argument
240 int bits = 8 * GetFrameSize(configuration, bitpool); in GetBitrate()
246 int bitpool = 0; in GetBitpool() local
249 if (bitrate > GetBitrate(configuration, bitpool + i)) { in GetBitpool()
250 bitpool += i; in GetBitpool()
253 return std::clamp(bitpool, 2, 250); in GetBitpool()
/hardware/interfaces/bluetooth/a2dp/1.0/
Dtypes.hal83 /** Minimum bitpool value */
85 /** Maximum bitpool value */