AVCSequenceParameterSetReader::expGolombUe()
{} It's a method of the class: AVCSequenceParameterSetReader{}
No Hooks.
Return
Int
.
Usage
$AVCSequenceParameterSetReader = new AVCSequenceParameterSetReader(); $AVCSequenceParameterSetReader->expGolombUe();
Code of AVCSequenceParameterSetReader::expGolombUe() AVCSequenceParameterSetReader::expGolombUe WP 6.0
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; }