AVCSequenceParameterSetReader::expGolombUe() public WP 1.0
{} Это метод класса: AVCSequenceParameterSetReader{}
Хуков нет.
Возвращает
Число.
Использование
$AVCSequenceParameterSetReader = new AVCSequenceParameterSetReader(); $AVCSequenceParameterSetReader->expGolombUe();
Код AVCSequenceParameterSetReader::expGolombUe() AVCSequenceParameterSetReader::expGolombUe WP 5.6
public function expGolombUe() {
$significantBits = 0;
$bit = $this->getBit();
while ($bit == 0) {
$significantBits++;
$bit = $this->getBit();
if ($significantBits > 31) {
// something is broken, this is an emergency escape to prevent infinite loops
return 0;
}
}
return (1 << $significantBits) + $this->getBits($significantBits) - 1;
}