source: vendor/google/apiclient-services/src/Transcoder/Vp9CodecSettings.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 12 days ago

Upload new project files

  • Property mode set to 100644
File size: 4.4 KB
Line 
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 $frameRateConversionStrategy;
35 /**
36 * @var string
37 */
38 public $gopDuration;
39 /**
40 * @var int
41 */
42 public $gopFrameCount;
43 /**
44 * @var int
45 */
46 public $heightPixels;
47 protected $hlgType = Vp9ColorFormatHLG::class;
48 protected $hlgDataType = '';
49 /**
50 * @var string
51 */
52 public $pixelFormat;
53 /**
54 * @var string
55 */
56 public $profile;
57 /**
58 * @var string
59 */
60 public $rateControlMode;
61 protected $sdrType = Vp9ColorFormatSDR::class;
62 protected $sdrDataType = '';
63 /**
64 * @var int
65 */
66 public $widthPixels;
67
68 /**
69 * @param int
70 */
71 public function setBitrateBps($bitrateBps)
72 {
73 $this->bitrateBps = $bitrateBps;
74 }
75 /**
76 * @return int
77 */
78 public function getBitrateBps()
79 {
80 return $this->bitrateBps;
81 }
82 /**
83 * @param int
84 */
85 public function setCrfLevel($crfLevel)
86 {
87 $this->crfLevel = $crfLevel;
88 }
89 /**
90 * @return int
91 */
92 public function getCrfLevel()
93 {
94 return $this->crfLevel;
95 }
96 public function setFrameRate($frameRate)
97 {
98 $this->frameRate = $frameRate;
99 }
100 public function getFrameRate()
101 {
102 return $this->frameRate;
103 }
104 /**
105 * @param string
106 */
107 public function setFrameRateConversionStrategy($frameRateConversionStrategy)
108 {
109 $this->frameRateConversionStrategy = $frameRateConversionStrategy;
110 }
111 /**
112 * @return string
113 */
114 public function getFrameRateConversionStrategy()
115 {
116 return $this->frameRateConversionStrategy;
117 }
118 /**
119 * @param string
120 */
121 public function setGopDuration($gopDuration)
122 {
123 $this->gopDuration = $gopDuration;
124 }
125 /**
126 * @return string
127 */
128 public function getGopDuration()
129 {
130 return $this->gopDuration;
131 }
132 /**
133 * @param int
134 */
135 public function setGopFrameCount($gopFrameCount)
136 {
137 $this->gopFrameCount = $gopFrameCount;
138 }
139 /**
140 * @return int
141 */
142 public function getGopFrameCount()
143 {
144 return $this->gopFrameCount;
145 }
146 /**
147 * @param int
148 */
149 public function setHeightPixels($heightPixels)
150 {
151 $this->heightPixels = $heightPixels;
152 }
153 /**
154 * @return int
155 */
156 public function getHeightPixels()
157 {
158 return $this->heightPixels;
159 }
160 /**
161 * @param Vp9ColorFormatHLG
162 */
163 public function setHlg(Vp9ColorFormatHLG $hlg)
164 {
165 $this->hlg = $hlg;
166 }
167 /**
168 * @return Vp9ColorFormatHLG
169 */
170 public function getHlg()
171 {
172 return $this->hlg;
173 }
174 /**
175 * @param string
176 */
177 public function setPixelFormat($pixelFormat)
178 {
179 $this->pixelFormat = $pixelFormat;
180 }
181 /**
182 * @return string
183 */
184 public function getPixelFormat()
185 {
186 return $this->pixelFormat;
187 }
188 /**
189 * @param string
190 */
191 public function setProfile($profile)
192 {
193 $this->profile = $profile;
194 }
195 /**
196 * @return string
197 */
198 public function getProfile()
199 {
200 return $this->profile;
201 }
202 /**
203 * @param string
204 */
205 public function setRateControlMode($rateControlMode)
206 {
207 $this->rateControlMode = $rateControlMode;
208 }
209 /**
210 * @return string
211 */
212 public function getRateControlMode()
213 {
214 return $this->rateControlMode;
215 }
216 /**
217 * @param Vp9ColorFormatSDR
218 */
219 public function setSdr(Vp9ColorFormatSDR $sdr)
220 {
221 $this->sdr = $sdr;
222 }
223 /**
224 * @return Vp9ColorFormatSDR
225 */
226 public function getSdr()
227 {
228 return $this->sdr;
229 }
230 /**
231 * @param int
232 */
233 public function setWidthPixels($widthPixels)
234 {
235 $this->widthPixels = $widthPixels;
236 }
237 /**
238 * @return int
239 */
240 public function getWidthPixels()
241 {
242 return $this->widthPixels;
243 }
244}
245
246// Adding a class alias for backwards compatibility with the previous class name.
247class_alias(Vp9CodecSettings::class, 'Google_Service_Transcoder_Vp9CodecSettings');
Note: See TracBrowser for help on using the repository browser.