68 if (in_array($profile,
69 array(self::H264_PROFILE_HIGH, self::H264_PROFILE_HIGH10, self::H264_PROFILE_HIGH422, self::H264_PROFILE_HIGH444, self::H264_PROFILE_HIGH444_PREDICTIVE))) {
77 for ($i = 0; $i < 8; $i++) {
79 $size = $i < 6 ? 16 : 64;
82 for ($j = 0; $j <
$size; $j++) {
83 if ($nextScale != 0) {
85 $nextScale = ($lastScale + $deltaScale + 256) % 256;
87 if ($nextScale != 0) {
88 $lastScale = $nextScale;
99 } elseif ($pocType == 1) {
104 for ($i = 0; $i < $pocCycleLength; $i++) {
112 $this->height = (2 - $this->
getBit()) * $heightMap * 16;
121 $newBits = $this->currentBits + $bits;
122 $this->currentBytes += (int) floor($newBits / 8);
123 $this->currentBits = $newBits % 8;
148 for ($i = 0; $i < $bits; $i++) {
161 $significantBits = 0;
167 if ($significantBits > 31) {
173 return (1 << $significantBits) + $this->
getBits($significantBits) - 1;
const H264_PROFILE_EXTENDED
GetId3() by James Heinrich info@getid3.org //.
const H264_AVC_SEQUENCE_HEADER
const H264_PROFILE_HIGH444_PREDICTIVE
const H264_PROFILE_HIGH10
const H264_PROFILE_HIGH422
const H264_PROFILE_HIGH444
Create styles array
The data for the language used.
static BigEndian2Int($byteword, $synchsafe=false, $signed=false)
const H264_PROFILE_BASELINE