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 H265CodecSettings extends \Google\Model 21{ 22 /** 23 * @var bool 24 */ 25 public $allowOpenGop; 26 public $aqStrength; 27 /** 28 * @var int 29 */ 30 public $bFrameCount; 31 /** 32 * @var bool 33 */ 34 public $bPyramid; 35 /** 36 * @var int 37 */ 38 public $bitrateBps; 39 /** 40 * @var int 41 */ 42 public $crfLevel; 43 /** 44 * @var bool 45 */ 46 public $enableTwoPass; 47 public $frameRate; 48 /** 49 * @var string 50 */ 51 public $gopDuration; 52 /** 53 * @var int 54 */ 55 public $gopFrameCount; 56 /** 57 * @var int 58 */ 59 public $heightPixels; 60 /** 61 * @var string 62 */ 63 public $pixelFormat; 64 /** 65 * @var string 66 */ 67 public $preset; 68 /** 69 * @var string 70 */ 71 public $profile; 72 /** 73 * @var string 74 */ 75 public $rateControlMode; 76 /** 77 * @var string 78 */ 79 public $tune; 80 /** 81 * @var int 82 */ 83 public $vbvFullnessBits; 84 /** 85 * @var int 86 */ 87 public $vbvSizeBits; 88 /** 89 * @var int 90 */ 91 public $widthPixels; 92 93 /** 94 * @param bool 95 */ 96 public function setAllowOpenGop($allowOpenGop) 97 { 98 $this->allowOpenGop = $allowOpenGop; 99 } 100 /** 101 * @return bool 102 */ 103 public function getAllowOpenGop() 104 { 105 return $this->allowOpenGop; 106 } 107 public function setAqStrength($aqStrength) 108 { 109 $this->aqStrength = $aqStrength; 110 } 111 public function getAqStrength() 112 { 113 return $this->aqStrength; 114 } 115 /** 116 * @param int 117 */ 118 public function setBFrameCount($bFrameCount) 119 { 120 $this->bFrameCount = $bFrameCount; 121 } 122 /** 123 * @return int 124 */ 125 public function getBFrameCount() 126 { 127 return $this->bFrameCount; 128 } 129 /** 130 * @param bool 131 */ 132 public function setBPyramid($bPyramid) 133 { 134 $this->bPyramid = $bPyramid; 135 } 136 /** 137 * @return bool 138 */ 139 public function getBPyramid() 140 { 141 return $this->bPyramid; 142 } 143 /** 144 * @param int 145 */ 146 public function setBitrateBps($bitrateBps) 147 { 148 $this->bitrateBps = $bitrateBps; 149 } 150 /** 151 * @return int 152 */ 153 public function getBitrateBps() 154 { 155 return $this->bitrateBps; 156 } 157 /** 158 * @param int 159 */ 160 public function setCrfLevel($crfLevel) 161 { 162 $this->crfLevel = $crfLevel; 163 } 164 /** 165 * @return int 166 */ 167 public function getCrfLevel() 168 { 169 return $this->crfLevel; 170 } 171 /** 172 * @param bool 173 */ 174 public function setEnableTwoPass($enableTwoPass) 175 { 176 $this->enableTwoPass = $enableTwoPass; 177 } 178 /** 179 * @return bool 180 */ 181 public function getEnableTwoPass() 182 { 183 return $this->enableTwoPass; 184 } 185 public function setFrameRate($frameRate) 186 { 187 $this->frameRate = $frameRate; 188 } 189 public function getFrameRate() 190 { 191 return $this->frameRate; 192 } 193 /** 194 * @param string 195 */ 196 public function setGopDuration($gopDuration) 197 { 198 $this->gopDuration = $gopDuration; 199 } 200 /** 201 * @return string 202 */ 203 public function getGopDuration() 204 { 205 return $this->gopDuration; 206 } 207 /** 208 * @param int 209 */ 210 public function setGopFrameCount($gopFrameCount) 211 { 212 $this->gopFrameCount = $gopFrameCount; 213 } 214 /** 215 * @return int 216 */ 217 public function getGopFrameCount() 218 { 219 return $this->gopFrameCount; 220 } 221 /** 222 * @param int 223 */ 224 public function setHeightPixels($heightPixels) 225 { 226 $this->heightPixels = $heightPixels; 227 } 228 /** 229 * @return int 230 */ 231 public function getHeightPixels() 232 { 233 return $this->heightPixels; 234 } 235 /** 236 * @param string 237 */ 238 public function setPixelFormat($pixelFormat) 239 { 240 $this->pixelFormat = $pixelFormat; 241 } 242 /** 243 * @return string 244 */ 245 public function getPixelFormat() 246 { 247 return $this->pixelFormat; 248 } 249 /** 250 * @param string 251 */ 252 public function setPreset($preset) 253 { 254 $this->preset = $preset; 255 } 256 /** 257 * @return string 258 */ 259 public function getPreset() 260 { 261 return $this->preset; 262 } 263 /** 264 * @param string 265 */ 266 public function setProfile($profile) 267 { 268 $this->profile = $profile; 269 } 270 /** 271 * @return string 272 */ 273 public function getProfile() 274 { 275 return $this->profile; 276 } 277 /** 278 * @param string 279 */ 280 public function setRateControlMode($rateControlMode) 281 { 282 $this->rateControlMode = $rateControlMode; 283 } 284 /** 285 * @return string 286 */ 287 public function getRateControlMode() 288 { 289 return $this->rateControlMode; 290 } 291 /** 292 * @param string 293 */ 294 public function setTune($tune) 295 { 296 $this->tune = $tune; 297 } 298 /** 299 * @return string 300 */ 301 public function getTune() 302 { 303 return $this->tune; 304 } 305 /** 306 * @param int 307 */ 308 public function setVbvFullnessBits($vbvFullnessBits) 309 { 310 $this->vbvFullnessBits = $vbvFullnessBits; 311 } 312 /** 313 * @return int 314 */ 315 public function getVbvFullnessBits() 316 { 317 return $this->vbvFullnessBits; 318 } 319 /** 320 * @param int 321 */ 322 public function setVbvSizeBits($vbvSizeBits) 323 { 324 $this->vbvSizeBits = $vbvSizeBits; 325 } 326 /** 327 * @return int 328 */ 329 public function getVbvSizeBits() 330 { 331 return $this->vbvSizeBits; 332 } 333 /** 334 * @param int 335 */ 336 public function setWidthPixels($widthPixels) 337 { 338 $this->widthPixels = $widthPixels; 339 } 340 /** 341 * @return int 342 */ 343 public function getWidthPixels() 344 { 345 return $this->widthPixels; 346 } 347} 348 349// Adding a class alias for backwards compatibility with the previous class name. 350class_alias(H265CodecSettings::class, 'Google_Service_Transcoder_H265CodecSettings'); 351