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