1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\Transcoder; 19 20class Vp9CodecSettings extends \Google\Model 21{ 22 /** 23 * @var int 24 */ 25 public $bitrateBps; 26 /** 27 * @var int 28 */ 29 public $crfLevel; 30 public $frameRate; 31 /** 32 * @var string 33 */ 34 public $gopDuration; 35 /** 36 * @var int 37 */ 38 public $gopFrameCount; 39 /** 40 * @var int 41 */ 42 public $heightPixels; 43 /** 44 * @var string 45 */ 46 public $pixelFormat; 47 /** 48 * @var string 49 */ 50 public $profile; 51 /** 52 * @var string 53 */ 54 public $rateControlMode; 55 /** 56 * @var int 57 */ 58 public $widthPixels; 59 60 /** 61 * @param int 62 */ 63 public function setBitrateBps($bitrateBps) 64 { 65 $this->bitrateBps = $bitrateBps; 66 } 67 /** 68 * @return int 69 */ 70 public function getBitrateBps() 71 { 72 return $this->bitrateBps; 73 } 74 /** 75 * @param int 76 */ 77 public function setCrfLevel($crfLevel) 78 { 79 $this->crfLevel = $crfLevel; 80 } 81 /** 82 * @return int 83 */ 84 public function getCrfLevel() 85 { 86 return $this->crfLevel; 87 } 88 public function setFrameRate($frameRate) 89 { 90 $this->frameRate = $frameRate; 91 } 92 public function getFrameRate() 93 { 94 return $this->frameRate; 95 } 96 /** 97 * @param string 98 */ 99 public function setGopDuration($gopDuration) 100 { 101 $this->gopDuration = $gopDuration; 102 } 103 /** 104 * @return string 105 */ 106 public function getGopDuration() 107 { 108 return $this->gopDuration; 109 } 110 /** 111 * @param int 112 */ 113 public function setGopFrameCount($gopFrameCount) 114 { 115 $this->gopFrameCount = $gopFrameCount; 116 } 117 /** 118 * @return int 119 */ 120 public function getGopFrameCount() 121 { 122 return $this->gopFrameCount; 123 } 124 /** 125 * @param int 126 */ 127 public function setHeightPixels($heightPixels) 128 { 129 $this->heightPixels = $heightPixels; 130 } 131 /** 132 * @return int 133 */ 134 public function getHeightPixels() 135 { 136 return $this->heightPixels; 137 } 138 /** 139 * @param string 140 */ 141 public function setPixelFormat($pixelFormat) 142 { 143 $this->pixelFormat = $pixelFormat; 144 } 145 /** 146 * @return string 147 */ 148 public function getPixelFormat() 149 { 150 return $this->pixelFormat; 151 } 152 /** 153 * @param string 154 */ 155 public function setProfile($profile) 156 { 157 $this->profile = $profile; 158 } 159 /** 160 * @return string 161 */ 162 public function getProfile() 163 { 164 return $this->profile; 165 } 166 /** 167 * @param string 168 */ 169 public function setRateControlMode($rateControlMode) 170 { 171 $this->rateControlMode = $rateControlMode; 172 } 173 /** 174 * @return string 175 */ 176 public function getRateControlMode() 177 { 178 return $this->rateControlMode; 179 } 180 /** 181 * @param int 182 */ 183 public function setWidthPixels($widthPixels) 184 { 185 $this->widthPixels = $widthPixels; 186 } 187 /** 188 * @return int 189 */ 190 public function getWidthPixels() 191 { 192 return $this->widthPixels; 193 } 194} 195 196// Adding a class alias for backwards compatibility with the previous class name. 197class_alias(Vp9CodecSettings::class, 'Google_Service_Transcoder_Vp9CodecSettings'); 198