248 lines
4.4 KiB
PHP
Executable File
248 lines
4.4 KiB
PHP
Executable File
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
namespace Google\Service\Transcoder;
|
|
|
|
class Vp9CodecSettings extends \Google\Model
|
|
{
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $bitrateBps;
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $crfLevel;
|
|
public $frameRate;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $frameRateConversionStrategy;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $gopDuration;
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $gopFrameCount;
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $heightPixels;
|
|
protected $hlgType = Vp9ColorFormatHLG::class;
|
|
protected $hlgDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $pixelFormat;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $profile;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $rateControlMode;
|
|
protected $sdrType = Vp9ColorFormatSDR::class;
|
|
protected $sdrDataType = '';
|
|
/**
|
|
* @var int
|
|
*/
|
|
public $widthPixels;
|
|
|
|
/**
|
|
* @param int
|
|
*/
|
|
public function setBitrateBps($bitrateBps)
|
|
{
|
|
$this->bitrateBps = $bitrateBps;
|
|
}
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getBitrateBps()
|
|
{
|
|
return $this->bitrateBps;
|
|
}
|
|
/**
|
|
* @param int
|
|
*/
|
|
public function setCrfLevel($crfLevel)
|
|
{
|
|
$this->crfLevel = $crfLevel;
|
|
}
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getCrfLevel()
|
|
{
|
|
return $this->crfLevel;
|
|
}
|
|
public function setFrameRate($frameRate)
|
|
{
|
|
$this->frameRate = $frameRate;
|
|
}
|
|
public function getFrameRate()
|
|
{
|
|
return $this->frameRate;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setFrameRateConversionStrategy($frameRateConversionStrategy)
|
|
{
|
|
$this->frameRateConversionStrategy = $frameRateConversionStrategy;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getFrameRateConversionStrategy()
|
|
{
|
|
return $this->frameRateConversionStrategy;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setGopDuration($gopDuration)
|
|
{
|
|
$this->gopDuration = $gopDuration;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getGopDuration()
|
|
{
|
|
return $this->gopDuration;
|
|
}
|
|
/**
|
|
* @param int
|
|
*/
|
|
public function setGopFrameCount($gopFrameCount)
|
|
{
|
|
$this->gopFrameCount = $gopFrameCount;
|
|
}
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getGopFrameCount()
|
|
{
|
|
return $this->gopFrameCount;
|
|
}
|
|
/**
|
|
* @param int
|
|
*/
|
|
public function setHeightPixels($heightPixels)
|
|
{
|
|
$this->heightPixels = $heightPixels;
|
|
}
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getHeightPixels()
|
|
{
|
|
return $this->heightPixels;
|
|
}
|
|
/**
|
|
* @param Vp9ColorFormatHLG
|
|
*/
|
|
public function setHlg(Vp9ColorFormatHLG $hlg)
|
|
{
|
|
$this->hlg = $hlg;
|
|
}
|
|
/**
|
|
* @return Vp9ColorFormatHLG
|
|
*/
|
|
public function getHlg()
|
|
{
|
|
return $this->hlg;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setPixelFormat($pixelFormat)
|
|
{
|
|
$this->pixelFormat = $pixelFormat;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getPixelFormat()
|
|
{
|
|
return $this->pixelFormat;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setProfile($profile)
|
|
{
|
|
$this->profile = $profile;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getProfile()
|
|
{
|
|
return $this->profile;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setRateControlMode($rateControlMode)
|
|
{
|
|
$this->rateControlMode = $rateControlMode;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getRateControlMode()
|
|
{
|
|
return $this->rateControlMode;
|
|
}
|
|
/**
|
|
* @param Vp9ColorFormatSDR
|
|
*/
|
|
public function setSdr(Vp9ColorFormatSDR $sdr)
|
|
{
|
|
$this->sdr = $sdr;
|
|
}
|
|
/**
|
|
* @return Vp9ColorFormatSDR
|
|
*/
|
|
public function getSdr()
|
|
{
|
|
return $this->sdr;
|
|
}
|
|
/**
|
|
* @param int
|
|
*/
|
|
public function setWidthPixels($widthPixels)
|
|
{
|
|
$this->widthPixels = $widthPixels;
|
|
}
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getWidthPixels()
|
|
{
|
|
return $this->widthPixels;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(Vp9CodecSettings::class, 'Google_Service_Transcoder_Vp9CodecSettings');
|