History

avutil/pixdesc: Remove deprecated off-by-one fields from pix fmt descs

Deprecated in 2268db2cd052674fde55c7d48b7a5098ce89b4ba.

Andreas Rheinhardt committed 5 years ago

Commit 01811621 parent b8accd13 files · +525 −545Browse files

Unified · Split

3 files
  1. libavutil/pixdesc.c +525 −531
  2. libavutil/pixdesc.h +0 −11
  3. libavutil/version.h +0 −3
libavutil/pixdesc.c+525−531
@@ -167,9 +167,6 @@ void av_write_image_line(const uint16_t *src, · 166 unmodified lines
167 av_write_image_line2(src, data, linesize, desc, x, y, c, w, 2);167 av_write_image_line2(src, data, linesize, desc, x, y, c, w, 2);
168}168}
169 169
170#if FF_API_PLUS1_MINUS1
171FF_DISABLE_DEPRECATION_WARNINGS
172#endif
173static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {170static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
174 [AV_PIX_FMT_YUV420P] = {171 [AV_PIX_FMT_YUV420P] = {
175 .name = "yuv420p",172 .name = "yuv420p",
@@ -177,9 +174,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 1 unmodified line
177 .log2_chroma_w = 1,174 .log2_chroma_w = 1,
178 .log2_chroma_h = 1,175 .log2_chroma_h = 1,
179 .comp = {176 .comp = {
180 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */177 { 0, 1, 0, 0, 8 }, /* Y */
181 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */178 { 1, 1, 0, 0, 8 }, /* U */
182 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */179 { 2, 1, 0, 0, 8 }, /* V */
183 },180 },
184 .flags = AV_PIX_FMT_FLAG_PLANAR,181 .flags = AV_PIX_FMT_FLAG_PLANAR,
185 },182 },
@@ -189,9 +186,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
189 .log2_chroma_w = 1,186 .log2_chroma_w = 1,
190 .log2_chroma_h = 0,187 .log2_chroma_h = 0,
191 .comp = {188 .comp = {
192 { 0, 2, 0, 0, 8, 1, 7, 1 }, /* Y */189 { 0, 2, 0, 0, 8 }, /* Y */
193 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* U */190 { 0, 4, 1, 0, 8 }, /* U */
194 { 0, 4, 3, 0, 8, 3, 7, 4 }, /* V */191 { 0, 4, 3, 0, 8 }, /* V */
195 },192 },
196 },193 },
197 [AV_PIX_FMT_YVYU422] = {194 [AV_PIX_FMT_YVYU422] = {
@@ -200,9 +197,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 2 unmodified lines
200 .log2_chroma_w = 1,197 .log2_chroma_w = 1,
201 .log2_chroma_h = 0,198 .log2_chroma_h = 0,
202 .comp = {199 .comp = {
203 { 0, 2, 0, 0, 8, 1, 7, 1 }, /* Y */200 { 0, 2, 0, 0, 8 }, /* Y */
204 { 0, 4, 3, 0, 8, 3, 7, 4 }, /* U */201 { 0, 4, 3, 0, 8 }, /* U */
205 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* V */202 { 0, 4, 1, 0, 8 }, /* V */
206 },203 },
207 },204 },
208 [AV_PIX_FMT_Y210LE] = {205 [AV_PIX_FMT_Y210LE] = {
@@ -211,9 +208,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 2 unmodified lines
211 .log2_chroma_w = 1,208 .log2_chroma_w = 1,
212 .log2_chroma_h = 0,209 .log2_chroma_h = 0,
213 .comp = {210 .comp = {
214 { 0, 4, 0, 6, 10, 3, 9, 1 }, /* Y */211 { 0, 4, 0, 6, 10 }, /* Y */
215 { 0, 8, 2, 6, 10, 7, 9, 3 }, /* U */212 { 0, 8, 2, 6, 10 }, /* U */
216 { 0, 8, 6, 6, 10, 7, 9, 7 }, /* V */213 { 0, 8, 6, 6, 10 }, /* V */
217 },214 },
218 },215 },
219 [AV_PIX_FMT_Y210BE] = {216 [AV_PIX_FMT_Y210BE] = {
@@ -222,9 +219,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 2 unmodified lines
222 .log2_chroma_w = 1,219 .log2_chroma_w = 1,
223 .log2_chroma_h = 0,220 .log2_chroma_h = 0,
224 .comp = {221 .comp = {
225 { 0, 4, 0, 6, 10, 3, 9, 1 }, /* Y */222 { 0, 4, 0, 6, 10 }, /* Y */
226 { 0, 8, 2, 6, 10, 7, 9, 3 }, /* U */223 { 0, 8, 2, 6, 10 }, /* U */
227 { 0, 8, 6, 6, 10, 7, 9, 7 }, /* V */224 { 0, 8, 6, 6, 10 }, /* V */
228 },225 },
229 .flags = AV_PIX_FMT_FLAG_BE,226 .flags = AV_PIX_FMT_FLAG_BE,
230 },227 },
@@ -234,9 +231,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
234 .log2_chroma_w = 0,231 .log2_chroma_w = 0,
235 .log2_chroma_h = 0,232 .log2_chroma_h = 0,
236 .comp = {233 .comp = {
237 { 0, 3, 0, 0, 8, 2, 7, 1 }, /* R */234 { 0, 3, 0, 0, 8 }, /* R */
238 { 0, 3, 1, 0, 8, 2, 7, 2 }, /* G */235 { 0, 3, 1, 0, 8 }, /* G */
239 { 0, 3, 2, 0, 8, 2, 7, 3 }, /* B */236 { 0, 3, 2, 0, 8 }, /* B */
240 },237 },
241 .flags = AV_PIX_FMT_FLAG_RGB,238 .flags = AV_PIX_FMT_FLAG_RGB,
242 },239 },
@@ -246,9 +243,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
246 .log2_chroma_w = 0,243 .log2_chroma_w = 0,
247 .log2_chroma_h = 0,244 .log2_chroma_h = 0,
248 .comp = {245 .comp = {
249 { 0, 3, 2, 0, 8, 2, 7, 3 }, /* R */246 { 0, 3, 2, 0, 8 }, /* R */
250 { 0, 3, 1, 0, 8, 2, 7, 2 }, /* G */247 { 0, 3, 1, 0, 8 }, /* G */
251 { 0, 3, 0, 0, 8, 2, 7, 1 }, /* B */248 { 0, 3, 0, 0, 8 }, /* B */
252 },249 },
253 .flags = AV_PIX_FMT_FLAG_RGB,250 .flags = AV_PIX_FMT_FLAG_RGB,
254 },251 },
@@ -258,9 +255,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
258 .log2_chroma_w= 0,255 .log2_chroma_w= 0,
259 .log2_chroma_h= 0,256 .log2_chroma_h= 0,
260 .comp = {257 .comp = {
261 { 0, 4, 2, 4, 10, 3, 9, 2 }, /* R */258 { 0, 4, 2, 4, 10 }, /* R */
262 { 0, 4, 1, 2, 10, 3, 9, 3 }, /* G */259 { 0, 4, 1, 2, 10 }, /* G */
263 { 0, 4, 0, 0, 10, 3, 9, 4 }, /* B */260 { 0, 4, 0, 0, 10 }, /* B */
264 },261 },
265 .flags = AV_PIX_FMT_FLAG_RGB,262 .flags = AV_PIX_FMT_FLAG_RGB,
266 },263 },
@@ -270,9 +267,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
270 .log2_chroma_w= 0,267 .log2_chroma_w= 0,
271 .log2_chroma_h= 0,268 .log2_chroma_h= 0,
272 .comp = {269 .comp = {
273 { 0, 4, 0, 4, 10, 3, 9, 2 }, /* R */270 { 0, 4, 0, 4, 10 }, /* R */
274 { 0, 4, 1, 2, 10, 3, 9, 3 }, /* G */271 { 0, 4, 1, 2, 10 }, /* G */
275 { 0, 4, 2, 0, 10, 3, 9, 4 }, /* B */272 { 0, 4, 2, 0, 10 }, /* B */
276 },273 },
277 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_BE,274 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_BE,
278 },275 },
@@ -282,9 +279,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
282 .log2_chroma_w = 1,279 .log2_chroma_w = 1,
283 .log2_chroma_h = 0,280 .log2_chroma_h = 0,
284 .comp = {281 .comp = {
285 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */282 { 0, 1, 0, 0, 8 }, /* Y */
286 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */283 { 1, 1, 0, 0, 8 }, /* U */
287 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */284 { 2, 1, 0, 0, 8 }, /* V */
288 },285 },
289 .flags = AV_PIX_FMT_FLAG_PLANAR,286 .flags = AV_PIX_FMT_FLAG_PLANAR,
290 },287 },
@@ -294,9 +291,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
294 .log2_chroma_w = 0,291 .log2_chroma_w = 0,
295 .log2_chroma_h = 0,292 .log2_chroma_h = 0,
296 .comp = {293 .comp = {
297 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */294 { 0, 1, 0, 0, 8 }, /* Y */
298 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */295 { 1, 1, 0, 0, 8 }, /* U */
299 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */296 { 2, 1, 0, 0, 8 }, /* V */
300 },297 },
301 .flags = AV_PIX_FMT_FLAG_PLANAR,298 .flags = AV_PIX_FMT_FLAG_PLANAR,
302 },299 },
@@ -306,9 +303,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
306 .log2_chroma_w = 2,303 .log2_chroma_w = 2,
307 .log2_chroma_h = 2,304 .log2_chroma_h = 2,
308 .comp = {305 .comp = {
309 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */306 { 0, 1, 0, 0, 8 }, /* Y */
310 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */307 { 1, 1, 0, 0, 8 }, /* U */
311 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */308 { 2, 1, 0, 0, 8 }, /* V */
312 },309 },
313 .flags = AV_PIX_FMT_FLAG_PLANAR,310 .flags = AV_PIX_FMT_FLAG_PLANAR,
314 },311 },
@@ -318,9 +315,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
318 .log2_chroma_w = 2,315 .log2_chroma_w = 2,
319 .log2_chroma_h = 0,316 .log2_chroma_h = 0,
320 .comp = {317 .comp = {
321 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */318 { 0, 1, 0, 0, 8 }, /* Y */
322 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */319 { 1, 1, 0, 0, 8 }, /* U */
323 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */320 { 2, 1, 0, 0, 8 }, /* V */
324 },321 },
325 .flags = AV_PIX_FMT_FLAG_PLANAR,322 .flags = AV_PIX_FMT_FLAG_PLANAR,
326 },323 },
@@ -330,9 +327,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
330 .log2_chroma_w = 2,327 .log2_chroma_w = 2,
331 .log2_chroma_h = 0,328 .log2_chroma_h = 0,
332 .comp = {329 .comp = {
333 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */330 { 0, 1, 0, 0, 8 }, /* Y */
334 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */331 { 1, 1, 0, 0, 8 }, /* U */
335 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */332 { 2, 1, 0, 0, 8 }, /* V */
336 },333 },
337 .flags = AV_PIX_FMT_FLAG_PLANAR,334 .flags = AV_PIX_FMT_FLAG_PLANAR,
338 },335 },
@@ -342,7 +339,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
342 .log2_chroma_w = 0,339 .log2_chroma_w = 0,
343 .log2_chroma_h = 0,340 .log2_chroma_h = 0,
344 .comp = {341 .comp = {
345 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */342 { 0, 1, 0, 0, 8 }, /* Y */
346 },343 },
347 .flags = FF_PSEUDOPAL,344 .flags = FF_PSEUDOPAL,
348 .alias = "gray8,y8",345 .alias = "gray8,y8",
@@ -353,7 +350,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
353 .log2_chroma_w = 0,350 .log2_chroma_w = 0,
354 .log2_chroma_h = 0,351 .log2_chroma_h = 0,
355 .comp = {352 .comp = {
356 { 0, 1, 0, 0, 1, 0, 0, 1 }, /* Y */353 { 0, 1, 0, 0, 1 }, /* Y */
357 },354 },
358 .flags = AV_PIX_FMT_FLAG_BITSTREAM,355 .flags = AV_PIX_FMT_FLAG_BITSTREAM,
359 },356 },
@@ -363,7 +360,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
363 .log2_chroma_w = 0,360 .log2_chroma_w = 0,
364 .log2_chroma_h = 0,361 .log2_chroma_h = 0,
365 .comp = {362 .comp = {
366 { 0, 1, 0, 7, 1, 0, 0, 1 }, /* Y */363 { 0, 1, 0, 7, 1 }, /* Y */
367 },364 },
368 .flags = AV_PIX_FMT_FLAG_BITSTREAM,365 .flags = AV_PIX_FMT_FLAG_BITSTREAM,
369 },366 },
@@ -373,7 +370,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
373 .log2_chroma_w = 0,370 .log2_chroma_w = 0,
374 .log2_chroma_h = 0,371 .log2_chroma_h = 0,
375 .comp = {372 .comp = {
376 { 0, 1, 0, 0, 8, 0, 7, 1 },373 { 0, 1, 0, 0, 8 },
377 },374 },
378 .flags = AV_PIX_FMT_FLAG_PAL | AV_PIX_FMT_FLAG_ALPHA,375 .flags = AV_PIX_FMT_FLAG_PAL | AV_PIX_FMT_FLAG_ALPHA,
379 },376 },
@@ -383,9 +380,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
383 .log2_chroma_w = 1,380 .log2_chroma_w = 1,
384 .log2_chroma_h = 1,381 .log2_chroma_h = 1,
385 .comp = {382 .comp = {
386 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */383 { 0, 1, 0, 0, 8 }, /* Y */
387 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */384 { 1, 1, 0, 0, 8 }, /* U */
388 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */385 { 2, 1, 0, 0, 8 }, /* V */
389 },386 },
390 .flags = AV_PIX_FMT_FLAG_PLANAR,387 .flags = AV_PIX_FMT_FLAG_PLANAR,
391 },388 },
@@ -395,9 +392,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
395 .log2_chroma_w = 1,392 .log2_chroma_w = 1,
396 .log2_chroma_h = 0,393 .log2_chroma_h = 0,
397 .comp = {394 .comp = {
398 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */395 { 0, 1, 0, 0, 8 }, /* Y */
399 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */396 { 1, 1, 0, 0, 8 }, /* U */
400 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */397 { 2, 1, 0, 0, 8 }, /* V */
401 },398 },
402 .flags = AV_PIX_FMT_FLAG_PLANAR,399 .flags = AV_PIX_FMT_FLAG_PLANAR,
403 },400 },
@@ -407,9 +404,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
407 .log2_chroma_w = 0,404 .log2_chroma_w = 0,
408 .log2_chroma_h = 0,405 .log2_chroma_h = 0,
409 .comp = {406 .comp = {
410 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */407 { 0, 1, 0, 0, 8 }, /* Y */
411 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */408 { 1, 1, 0, 0, 8 }, /* U */
412 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */409 { 2, 1, 0, 0, 8 }, /* V */
413 },410 },
414 .flags = AV_PIX_FMT_FLAG_PLANAR,411 .flags = AV_PIX_FMT_FLAG_PLANAR,
415 },412 },
@@ -423,9 +420,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 7 unmodified lines
423 .log2_chroma_w = 1,420 .log2_chroma_w = 1,
424 .log2_chroma_h = 0,421 .log2_chroma_h = 0,
425 .comp = {422 .comp = {
426 { 0, 2, 1, 0, 8, 1, 7, 2 }, /* Y */423 { 0, 2, 1, 0, 8 }, /* Y */
427 { 0, 4, 0, 0, 8, 3, 7, 1 }, /* U */424 { 0, 4, 0, 0, 8 }, /* U */
428 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* V */425 { 0, 4, 2, 0, 8 }, /* V */
429 },426 },
430 },427 },
431 [AV_PIX_FMT_UYYVYY411] = {428 [AV_PIX_FMT_UYYVYY411] = {
@@ -434,9 +431,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 2 unmodified lines
434 .log2_chroma_w = 2,431 .log2_chroma_w = 2,
435 .log2_chroma_h = 0,432 .log2_chroma_h = 0,
436 .comp = {433 .comp = {
437 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* Y */434 { 0, 4, 1, 0, 8 }, /* Y */
438 { 0, 6, 0, 0, 8, 5, 7, 1 }, /* U */435 { 0, 6, 0, 0, 8 }, /* U */
439 { 0, 6, 3, 0, 8, 5, 7, 4 }, /* V */436 { 0, 6, 3, 0, 8 }, /* V */
440 },437 },
441 },438 },
442 [AV_PIX_FMT_BGR8] = {439 [AV_PIX_FMT_BGR8] = {
@@ -445,9 +442,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 2 unmodified lines
445 .log2_chroma_w = 0,442 .log2_chroma_w = 0,
446 .log2_chroma_h = 0,443 .log2_chroma_h = 0,
447 .comp = {444 .comp = {
448 { 0, 1, 0, 0, 3, 0, 2, 1 }, /* R */445 { 0, 1, 0, 0, 3 }, /* R */
449 { 0, 1, 0, 3, 3, 0, 2, 1 }, /* G */446 { 0, 1, 0, 3, 3 }, /* G */
450 { 0, 1, 0, 6, 2, 0, 1, 1 }, /* B */447 { 0, 1, 0, 6, 2 }, /* B */
451 },448 },
452 .flags = AV_PIX_FMT_FLAG_RGB | FF_PSEUDOPAL,449 .flags = AV_PIX_FMT_FLAG_RGB | FF_PSEUDOPAL,
453 },450 },
@@ -457,9 +454,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
457 .log2_chroma_w = 0,454 .log2_chroma_w = 0,
458 .log2_chroma_h = 0,455 .log2_chroma_h = 0,
459 .comp = {456 .comp = {
460 { 0, 4, 3, 0, 1, 3, 0, 4 }, /* R */457 { 0, 4, 3, 0, 1 }, /* R */
461 { 0, 4, 1, 0, 2, 3, 1, 2 }, /* G */458 { 0, 4, 1, 0, 2 }, /* G */
462 { 0, 4, 0, 0, 1, 3, 0, 1 }, /* B */459 { 0, 4, 0, 0, 1 }, /* B */
463 },460 },
464 .flags = AV_PIX_FMT_FLAG_BITSTREAM | AV_PIX_FMT_FLAG_RGB,461 .flags = AV_PIX_FMT_FLAG_BITSTREAM | AV_PIX_FMT_FLAG_RGB,
465 },462 },
@@ -469,9 +466,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
469 .log2_chroma_w = 0,466 .log2_chroma_w = 0,
470 .log2_chroma_h = 0,467 .log2_chroma_h = 0,
471 .comp = {468 .comp = {
472 { 0, 1, 0, 0, 1, 0, 0, 1 }, /* R */469 { 0, 1, 0, 0, 1 }, /* R */
473 { 0, 1, 0, 1, 2, 0, 1, 1 }, /* G */470 { 0, 1, 0, 1, 2 }, /* G */
474 { 0, 1, 0, 3, 1, 0, 0, 1 }, /* B */471 { 0, 1, 0, 3, 1 }, /* B */
475 },472 },
476 .flags = AV_PIX_FMT_FLAG_RGB | FF_PSEUDOPAL,473 .flags = AV_PIX_FMT_FLAG_RGB | FF_PSEUDOPAL,
477 },474 },
@@ -481,9 +478,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
481 .log2_chroma_w = 0,478 .log2_chroma_w = 0,
482 .log2_chroma_h = 0,479 .log2_chroma_h = 0,
483 .comp = {480 .comp = {
484 { 0, 1, 0, 6, 2, 0, 1, 1 }, /* R */481 { 0, 1, 0, 6, 2 }, /* R */
485 { 0, 1, 0, 3, 3, 0, 2, 1 }, /* G */482 { 0, 1, 0, 3, 3 }, /* G */
486 { 0, 1, 0, 0, 3, 0, 2, 1 }, /* B */483 { 0, 1, 0, 0, 3 }, /* B */
487 },484 },
488 .flags = AV_PIX_FMT_FLAG_RGB | FF_PSEUDOPAL,485 .flags = AV_PIX_FMT_FLAG_RGB | FF_PSEUDOPAL,
489 },486 },
@@ -493,9 +490,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
493 .log2_chroma_w = 0,490 .log2_chroma_w = 0,
494 .log2_chroma_h = 0,491 .log2_chroma_h = 0,
495 .comp = {492 .comp = {
496 { 0, 4, 0, 0, 1, 3, 0, 1 }, /* R */493 { 0, 4, 0, 0, 1 }, /* R */
497 { 0, 4, 1, 0, 2, 3, 1, 2 }, /* G */494 { 0, 4, 1, 0, 2 }, /* G */
498 { 0, 4, 3, 0, 1, 3, 0, 4 }, /* B */495 { 0, 4, 3, 0, 1 }, /* B */
499 },496 },
500 .flags = AV_PIX_FMT_FLAG_BITSTREAM | AV_PIX_FMT_FLAG_RGB,497 .flags = AV_PIX_FMT_FLAG_BITSTREAM | AV_PIX_FMT_FLAG_RGB,
501 },498 },
@@ -505,9 +502,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
505 .log2_chroma_w = 0,502 .log2_chroma_w = 0,
506 .log2_chroma_h = 0,503 .log2_chroma_h = 0,
507 .comp = {504 .comp = {
508 { 0, 1, 0, 3, 1, 0, 0, 1 }, /* R */505 { 0, 1, 0, 3, 1 }, /* R */
509 { 0, 1, 0, 1, 2, 0, 1, 1 }, /* G */506 { 0, 1, 0, 1, 2 }, /* G */
510 { 0, 1, 0, 0, 1, 0, 0, 1 }, /* B */507 { 0, 1, 0, 0, 1 }, /* B */
511 },508 },
512 .flags = AV_PIX_FMT_FLAG_RGB | FF_PSEUDOPAL,509 .flags = AV_PIX_FMT_FLAG_RGB | FF_PSEUDOPAL,
513 },510 },
@@ -517,9 +514,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
517 .log2_chroma_w = 1,514 .log2_chroma_w = 1,
518 .log2_chroma_h = 1,515 .log2_chroma_h = 1,
519 .comp = {516 .comp = {
520 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */517 { 0, 1, 0, 0, 8 }, /* Y */
521 { 1, 2, 0, 0, 8, 1, 7, 1 }, /* U */518 { 1, 2, 0, 0, 8 }, /* U */
522 { 1, 2, 1, 0, 8, 1, 7, 2 }, /* V */519 { 1, 2, 1, 0, 8 }, /* V */
523 },520 },
524 .flags = AV_PIX_FMT_FLAG_PLANAR,521 .flags = AV_PIX_FMT_FLAG_PLANAR,
525 },522 },
@@ -529,9 +526,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
529 .log2_chroma_w = 1,526 .log2_chroma_w = 1,
530 .log2_chroma_h = 1,527 .log2_chroma_h = 1,
531 .comp = {528 .comp = {
532 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */529 { 0, 1, 0, 0, 8 }, /* Y */
533 { 1, 2, 1, 0, 8, 1, 7, 2 }, /* U */530 { 1, 2, 1, 0, 8 }, /* U */
534 { 1, 2, 0, 0, 8, 1, 7, 1 }, /* V */531 { 1, 2, 0, 0, 8 }, /* V */
535 },532 },
536 .flags = AV_PIX_FMT_FLAG_PLANAR,533 .flags = AV_PIX_FMT_FLAG_PLANAR,
537 },534 },
@@ -541,10 +538,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
541 .log2_chroma_w = 0,538 .log2_chroma_w = 0,
542 .log2_chroma_h = 0,539 .log2_chroma_h = 0,
543 .comp = {540 .comp = {
544 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* R */541 { 0, 4, 1, 0, 8 }, /* R */
545 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* G */542 { 0, 4, 2, 0, 8 }, /* G */
546 { 0, 4, 3, 0, 8, 3, 7, 4 }, /* B */543 { 0, 4, 3, 0, 8 }, /* B */
547 { 0, 4, 0, 0, 8, 3, 7, 1 }, /* A */544 { 0, 4, 0, 0, 8 }, /* A */
548 },545 },
549 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,546 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
550 },547 },
@@ -554,10 +551,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
554 .log2_chroma_w = 0,551 .log2_chroma_w = 0,
555 .log2_chroma_h = 0,552 .log2_chroma_h = 0,
556 .comp = {553 .comp = {
557 { 0, 4, 0, 0, 8, 3, 7, 1 }, /* R */554 { 0, 4, 0, 0, 8 }, /* R */
558 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* G */555 { 0, 4, 1, 0, 8 }, /* G */
559 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* B */556 { 0, 4, 2, 0, 8 }, /* B */
560 { 0, 4, 3, 0, 8, 3, 7, 4 }, /* A */557 { 0, 4, 3, 0, 8 }, /* A */
561 },558 },
562 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,559 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
563 },560 },
@@ -567,10 +564,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
567 .log2_chroma_w = 0,564 .log2_chroma_w = 0,
568 .log2_chroma_h = 0,565 .log2_chroma_h = 0,
569 .comp = {566 .comp = {
570 { 0, 4, 3, 0, 8, 3, 7, 4 }, /* R */567 { 0, 4, 3, 0, 8 }, /* R */
571 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* G */568 { 0, 4, 2, 0, 8 }, /* G */
572 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* B */569 { 0, 4, 1, 0, 8 }, /* B */
573 { 0, 4, 0, 0, 8, 3, 7, 1 }, /* A */570 { 0, 4, 0, 0, 8 }, /* A */
574 },571 },
575 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,572 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
576 },573 },
@@ -580,10 +577,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
580 .log2_chroma_w = 0,577 .log2_chroma_w = 0,
581 .log2_chroma_h = 0,578 .log2_chroma_h = 0,
582 .comp = {579 .comp = {
583 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* R */580 { 0, 4, 2, 0, 8 }, /* R */
584 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* G */581 { 0, 4, 1, 0, 8 }, /* G */
585 { 0, 4, 0, 0, 8, 3, 7, 1 }, /* B */582 { 0, 4, 0, 0, 8 }, /* B */
586 { 0, 4, 3, 0, 8, 3, 7, 4 }, /* A */583 { 0, 4, 3, 0, 8 }, /* A */
587 },584 },
588 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,585 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
589 },586 },
@@ -593,9 +590,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
593 .log2_chroma_w= 0,590 .log2_chroma_w= 0,
594 .log2_chroma_h= 0,591 .log2_chroma_h= 0,
595 .comp = {592 .comp = {
596 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* R */593 { 0, 4, 1, 0, 8 }, /* R */
597 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* G */594 { 0, 4, 2, 0, 8 }, /* G */
598 { 0, 4, 3, 0, 8, 3, 7, 4 }, /* B */595 { 0, 4, 3, 0, 8 }, /* B */
599 },596 },
600 .flags = AV_PIX_FMT_FLAG_RGB,597 .flags = AV_PIX_FMT_FLAG_RGB,
601 },598 },
@@ -605,9 +602,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
605 .log2_chroma_w= 0,602 .log2_chroma_w= 0,
606 .log2_chroma_h= 0,603 .log2_chroma_h= 0,
607 .comp = {604 .comp = {
608 { 0, 4, 0, 0, 8, 3, 7, 1 }, /* R */605 { 0, 4, 0, 0, 8 }, /* R */
609 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* G */606 { 0, 4, 1, 0, 8 }, /* G */
610 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* B */607 { 0, 4, 2, 0, 8 }, /* B */
611 },608 },
612 .flags = AV_PIX_FMT_FLAG_RGB,609 .flags = AV_PIX_FMT_FLAG_RGB,
613 },610 },
@@ -617,9 +614,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
617 .log2_chroma_w= 0,614 .log2_chroma_w= 0,
618 .log2_chroma_h= 0,615 .log2_chroma_h= 0,
619 .comp = {616 .comp = {
620 { 0, 4, 3, 0, 8, 3, 7, 4 }, /* R */617 { 0, 4, 3, 0, 8 }, /* R */
621 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* G */618 { 0, 4, 2, 0, 8 }, /* G */
622 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* B */619 { 0, 4, 1, 0, 8 }, /* B */
623 },620 },
624 .flags = AV_PIX_FMT_FLAG_RGB,621 .flags = AV_PIX_FMT_FLAG_RGB,
625 },622 },
@@ -629,9 +626,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
629 .log2_chroma_w= 0,626 .log2_chroma_w= 0,
630 .log2_chroma_h= 0,627 .log2_chroma_h= 0,
631 .comp = {628 .comp = {
632 { 0, 4, 2, 0, 8, 3, 7, 3 }, /* R */629 { 0, 4, 2, 0, 8 }, /* R */
633 { 0, 4, 1, 0, 8, 3, 7, 2 }, /* G */630 { 0, 4, 1, 0, 8 }, /* G */
634 { 0, 4, 0, 0, 8, 3, 7, 1 }, /* B */631 { 0, 4, 0, 0, 8 }, /* B */
635 },632 },
636 .flags = AV_PIX_FMT_FLAG_RGB,633 .flags = AV_PIX_FMT_FLAG_RGB,
637 },634 },
@@ -641,7 +638,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
641 .log2_chroma_w = 0,638 .log2_chroma_w = 0,
642 .log2_chroma_h = 0,639 .log2_chroma_h = 0,
643 .comp = {640 .comp = {
644 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */641 { 0, 2, 0, 0, 9 }, /* Y */
645 },642 },
646 .flags = AV_PIX_FMT_FLAG_BE,643 .flags = AV_PIX_FMT_FLAG_BE,
647 .alias = "y9be",644 .alias = "y9be",
@@ -652,7 +649,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
652 .log2_chroma_w = 0,649 .log2_chroma_w = 0,
653 .log2_chroma_h = 0,650 .log2_chroma_h = 0,
654 .comp = {651 .comp = {
655 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */652 { 0, 2, 0, 0, 9 }, /* Y */
656 },653 },
657 .alias = "y9le",654 .alias = "y9le",
658 },655 },
@@ -662,7 +659,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
662 .log2_chroma_w = 0,659 .log2_chroma_w = 0,
663 .log2_chroma_h = 0,660 .log2_chroma_h = 0,
664 .comp = {661 .comp = {
665 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */662 { 0, 2, 0, 0, 10 }, /* Y */
666 },663 },
667 .flags = AV_PIX_FMT_FLAG_BE,664 .flags = AV_PIX_FMT_FLAG_BE,
668 .alias = "y10be",665 .alias = "y10be",
@@ -673,7 +670,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
673 .log2_chroma_w = 0,670 .log2_chroma_w = 0,
674 .log2_chroma_h = 0,671 .log2_chroma_h = 0,
675 .comp = {672 .comp = {
676 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */673 { 0, 2, 0, 0, 10 }, /* Y */
677 },674 },
678 .alias = "y10le",675 .alias = "y10le",
679 },676 },
@@ -683,7 +680,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
683 .log2_chroma_w = 0,680 .log2_chroma_w = 0,
684 .log2_chroma_h = 0,681 .log2_chroma_h = 0,
685 .comp = {682 .comp = {
686 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */683 { 0, 2, 0, 0, 12 }, /* Y */
687 },684 },
688 .flags = AV_PIX_FMT_FLAG_BE,685 .flags = AV_PIX_FMT_FLAG_BE,
689 .alias = "y12be",686 .alias = "y12be",
@@ -694,7 +691,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
694 .log2_chroma_w = 0,691 .log2_chroma_w = 0,
695 .log2_chroma_h = 0,692 .log2_chroma_h = 0,
696 .comp = {693 .comp = {
697 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */694 { 0, 2, 0, 0, 12 }, /* Y */
698 },695 },
699 .alias = "y12le",696 .alias = "y12le",
700 },697 },
@@ -704,7 +701,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
704 .log2_chroma_w = 0,701 .log2_chroma_w = 0,
705 .log2_chroma_h = 0,702 .log2_chroma_h = 0,
706 .comp = {703 .comp = {
707 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* Y */704 { 0, 2, 0, 0, 14 }, /* Y */
708 },705 },
709 .flags = AV_PIX_FMT_FLAG_BE,706 .flags = AV_PIX_FMT_FLAG_BE,
710 .alias = "y14be",707 .alias = "y14be",
@@ -715,7 +712,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
715 .log2_chroma_w = 0,712 .log2_chroma_w = 0,
716 .log2_chroma_h = 0,713 .log2_chroma_h = 0,
717 .comp = {714 .comp = {
718 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* Y */715 { 0, 2, 0, 0, 14 }, /* Y */
719 },716 },
720 .alias = "y14le",717 .alias = "y14le",
721 },718 },
@@ -725,7 +722,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
725 .log2_chroma_w = 0,722 .log2_chroma_w = 0,
726 .log2_chroma_h = 0,723 .log2_chroma_h = 0,
727 .comp = {724 .comp = {
728 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */725 { 0, 2, 0, 0, 16 }, /* Y */
729 },726 },
730 .flags = AV_PIX_FMT_FLAG_BE,727 .flags = AV_PIX_FMT_FLAG_BE,
731 .alias = "y16be",728 .alias = "y16be",
@@ -736,7 +733,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
736 .log2_chroma_w = 0,733 .log2_chroma_w = 0,
737 .log2_chroma_h = 0,734 .log2_chroma_h = 0,
738 .comp = {735 .comp = {
739 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */736 { 0, 2, 0, 0, 16 }, /* Y */
740 },737 },
741 .alias = "y16le",738 .alias = "y16le",
742 },739 },
@@ -746,9 +743,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
746 .log2_chroma_w = 0,743 .log2_chroma_w = 0,
747 .log2_chroma_h = 1,744 .log2_chroma_h = 1,
748 .comp = {745 .comp = {
749 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */746 { 0, 1, 0, 0, 8 }, /* Y */
750 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */747 { 1, 1, 0, 0, 8 }, /* U */
751 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */748 { 2, 1, 0, 0, 8 }, /* V */
752 },749 },
753 .flags = AV_PIX_FMT_FLAG_PLANAR,750 .flags = AV_PIX_FMT_FLAG_PLANAR,
754 },751 },
@@ -758,9 +755,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
758 .log2_chroma_w = 0,755 .log2_chroma_w = 0,
759 .log2_chroma_h = 1,756 .log2_chroma_h = 1,
760 .comp = {757 .comp = {
761 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */758 { 0, 1, 0, 0, 8 }, /* Y */
762 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */759 { 1, 1, 0, 0, 8 }, /* U */
763 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */760 { 2, 1, 0, 0, 8 }, /* V */
764 },761 },
765 .flags = AV_PIX_FMT_FLAG_PLANAR,762 .flags = AV_PIX_FMT_FLAG_PLANAR,
766 },763 },
@@ -770,9 +767,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
770 .log2_chroma_w = 0,767 .log2_chroma_w = 0,
771 .log2_chroma_h = 1,768 .log2_chroma_h = 1,
772 .comp = {769 .comp = {
773 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */770 { 0, 2, 0, 0, 10 }, /* Y */
774 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */771 { 1, 2, 0, 0, 10 }, /* U */
775 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */772 { 2, 2, 0, 0, 10 }, /* V */
776 },773 },
777 .flags = AV_PIX_FMT_FLAG_PLANAR,774 .flags = AV_PIX_FMT_FLAG_PLANAR,
778 },775 },
@@ -782,9 +779,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
782 .log2_chroma_w = 0,779 .log2_chroma_w = 0,
783 .log2_chroma_h = 1,780 .log2_chroma_h = 1,
784 .comp = {781 .comp = {
785 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */782 { 0, 2, 0, 0, 10 }, /* Y */
786 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */783 { 1, 2, 0, 0, 10 }, /* U */
787 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */784 { 2, 2, 0, 0, 10 }, /* V */
788 },785 },
789 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,786 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
790 },787 },
@@ -794,9 +791,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
794 .log2_chroma_w = 0,791 .log2_chroma_w = 0,
795 .log2_chroma_h = 1,792 .log2_chroma_h = 1,
796 .comp = {793 .comp = {
797 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */794 { 0, 2, 0, 0, 12 }, /* Y */
798 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */795 { 1, 2, 0, 0, 12 }, /* U */
799 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */796 { 2, 2, 0, 0, 12 }, /* V */
800 },797 },
801 .flags = AV_PIX_FMT_FLAG_PLANAR,798 .flags = AV_PIX_FMT_FLAG_PLANAR,
802 },799 },
@@ -806,9 +803,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
806 .log2_chroma_w = 0,803 .log2_chroma_w = 0,
807 .log2_chroma_h = 1,804 .log2_chroma_h = 1,
808 .comp = {805 .comp = {
809 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */806 { 0, 2, 0, 0, 12 }, /* Y */
810 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */807 { 1, 2, 0, 0, 12 }, /* U */
811 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */808 { 2, 2, 0, 0, 12 }, /* V */
812 },809 },
813 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,810 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
814 },811 },
@@ -818,10 +815,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
818 .log2_chroma_w = 1,815 .log2_chroma_w = 1,
819 .log2_chroma_h = 1,816 .log2_chroma_h = 1,
820 .comp = {817 .comp = {
821 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */818 { 0, 1, 0, 0, 8 }, /* Y */
822 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */819 { 1, 1, 0, 0, 8 }, /* U */
823 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */820 { 2, 1, 0, 0, 8 }, /* V */
824 { 3, 1, 0, 0, 8, 0, 7, 1 }, /* A */821 { 3, 1, 0, 0, 8 }, /* A */
825 },822 },
826 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,823 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
827 },824 },
@@ -831,10 +828,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
831 .log2_chroma_w = 1,828 .log2_chroma_w = 1,
832 .log2_chroma_h = 0,829 .log2_chroma_h = 0,
833 .comp = {830 .comp = {
834 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */831 { 0, 1, 0, 0, 8 }, /* Y */
835 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */832 { 1, 1, 0, 0, 8 }, /* U */
836 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */833 { 2, 1, 0, 0, 8 }, /* V */
837 { 3, 1, 0, 0, 8, 0, 7, 1 }, /* A */834 { 3, 1, 0, 0, 8 }, /* A */
838 },835 },
839 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,836 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
840 },837 },
@@ -844,10 +841,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
844 .log2_chroma_w = 0,841 .log2_chroma_w = 0,
845 .log2_chroma_h = 0,842 .log2_chroma_h = 0,
846 .comp = {843 .comp = {
847 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */844 { 0, 1, 0, 0, 8 }, /* Y */
848 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* U */845 { 1, 1, 0, 0, 8 }, /* U */
849 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* V */846 { 2, 1, 0, 0, 8 }, /* V */
850 { 3, 1, 0, 0, 8, 0, 7, 1 }, /* A */847 { 3, 1, 0, 0, 8 }, /* A */
851 },848 },
852 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,849 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
853 },850 },
@@ -857,10 +854,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
857 .log2_chroma_w = 1,854 .log2_chroma_w = 1,
858 .log2_chroma_h = 1,855 .log2_chroma_h = 1,
859 .comp = {856 .comp = {
860 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */857 { 0, 2, 0, 0, 9 }, /* Y */
861 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */858 { 1, 2, 0, 0, 9 }, /* U */
862 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */859 { 2, 2, 0, 0, 9 }, /* V */
863 { 3, 2, 0, 0, 9, 1, 8, 1 }, /* A */860 { 3, 2, 0, 0, 9 }, /* A */
864 },861 },
865 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,862 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
866 },863 },
@@ -870,10 +867,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
870 .log2_chroma_w = 1,867 .log2_chroma_w = 1,
871 .log2_chroma_h = 1,868 .log2_chroma_h = 1,
872 .comp = {869 .comp = {
873 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */870 { 0, 2, 0, 0, 9 }, /* Y */
874 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */871 { 1, 2, 0, 0, 9 }, /* U */
875 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */872 { 2, 2, 0, 0, 9 }, /* V */
876 { 3, 2, 0, 0, 9, 1, 8, 1 }, /* A */873 { 3, 2, 0, 0, 9 }, /* A */
877 },874 },
878 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,875 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
879 },876 },
@@ -883,10 +880,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
883 .log2_chroma_w = 1,880 .log2_chroma_w = 1,
884 .log2_chroma_h = 0,881 .log2_chroma_h = 0,
885 .comp = {882 .comp = {
886 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */883 { 0, 2, 0, 0, 9 }, /* Y */
887 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */884 { 1, 2, 0, 0, 9 }, /* U */
888 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */885 { 2, 2, 0, 0, 9 }, /* V */
889 { 3, 2, 0, 0, 9, 1, 8, 1 }, /* A */886 { 3, 2, 0, 0, 9 }, /* A */
890 },887 },
891 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,888 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
892 },889 },
@@ -896,10 +893,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
896 .log2_chroma_w = 1,893 .log2_chroma_w = 1,
897 .log2_chroma_h = 0,894 .log2_chroma_h = 0,
898 .comp = {895 .comp = {
899 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */896 { 0, 2, 0, 0, 9 }, /* Y */
900 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */897 { 1, 2, 0, 0, 9 }, /* U */
901 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */898 { 2, 2, 0, 0, 9 }, /* V */
902 { 3, 2, 0, 0, 9, 1, 8, 1 }, /* A */899 { 3, 2, 0, 0, 9 }, /* A */
903 },900 },
904 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,901 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
905 },902 },
@@ -909,10 +906,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
909 .log2_chroma_w = 0,906 .log2_chroma_w = 0,
910 .log2_chroma_h = 0,907 .log2_chroma_h = 0,
911 .comp = {908 .comp = {
912 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */909 { 0, 2, 0, 0, 9 }, /* Y */
913 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */910 { 1, 2, 0, 0, 9 }, /* U */
914 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */911 { 2, 2, 0, 0, 9 }, /* V */
915 { 3, 2, 0, 0, 9, 1, 8, 1 }, /* A */912 { 3, 2, 0, 0, 9 }, /* A */
916 },913 },
917 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,914 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
918 },915 },
@@ -922,10 +919,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
922 .log2_chroma_w = 0,919 .log2_chroma_w = 0,
923 .log2_chroma_h = 0,920 .log2_chroma_h = 0,
924 .comp = {921 .comp = {
925 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */922 { 0, 2, 0, 0, 9 }, /* Y */
926 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */923 { 1, 2, 0, 0, 9 }, /* U */
927 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */924 { 2, 2, 0, 0, 9 }, /* V */
928 { 3, 2, 0, 0, 9, 1, 8, 1 }, /* A */925 { 3, 2, 0, 0, 9 }, /* A */
929 },926 },
930 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,927 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
931 },928 },
@@ -935,10 +932,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
935 .log2_chroma_w = 1,932 .log2_chroma_w = 1,
936 .log2_chroma_h = 1,933 .log2_chroma_h = 1,
937 .comp = {934 .comp = {
938 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */935 { 0, 2, 0, 0, 10 }, /* Y */
939 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */936 { 1, 2, 0, 0, 10 }, /* U */
940 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */937 { 2, 2, 0, 0, 10 }, /* V */
941 { 3, 2, 0, 0, 10, 1, 9, 1 }, /* A */938 { 3, 2, 0, 0, 10 }, /* A */
942 },939 },
943 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,940 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
944 },941 },
@@ -948,10 +945,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
948 .log2_chroma_w = 1,945 .log2_chroma_w = 1,
949 .log2_chroma_h = 1,946 .log2_chroma_h = 1,
950 .comp = {947 .comp = {
951 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */948 { 0, 2, 0, 0, 10 }, /* Y */
952 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */949 { 1, 2, 0, 0, 10 }, /* U */
953 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */950 { 2, 2, 0, 0, 10 }, /* V */
954 { 3, 2, 0, 0, 10, 1, 9, 1 }, /* A */951 { 3, 2, 0, 0, 10 }, /* A */
955 },952 },
956 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,953 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
957 },954 },
@@ -961,10 +958,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
961 .log2_chroma_w = 1,958 .log2_chroma_w = 1,
962 .log2_chroma_h = 0,959 .log2_chroma_h = 0,
963 .comp = {960 .comp = {
964 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */961 { 0, 2, 0, 0, 10 }, /* Y */
965 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */962 { 1, 2, 0, 0, 10 }, /* U */
966 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */963 { 2, 2, 0, 0, 10 }, /* V */
967 { 3, 2, 0, 0, 10, 1, 9, 1 }, /* A */964 { 3, 2, 0, 0, 10 }, /* A */
968 },965 },
969 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,966 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
970 },967 },
@@ -974,10 +971,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
974 .log2_chroma_w = 1,971 .log2_chroma_w = 1,
975 .log2_chroma_h = 0,972 .log2_chroma_h = 0,
976 .comp = {973 .comp = {
977 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */974 { 0, 2, 0, 0, 10 }, /* Y */
978 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */975 { 1, 2, 0, 0, 10 }, /* U */
979 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */976 { 2, 2, 0, 0, 10 }, /* V */
980 { 3, 2, 0, 0, 10, 1, 9, 1 }, /* A */977 { 3, 2, 0, 0, 10 }, /* A */
981 },978 },
982 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,979 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
983 },980 },
@@ -987,10 +984,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
987 .log2_chroma_w = 0,984 .log2_chroma_w = 0,
988 .log2_chroma_h = 0,985 .log2_chroma_h = 0,
989 .comp = {986 .comp = {
990 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */987 { 0, 2, 0, 0, 10 }, /* Y */
991 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */988 { 1, 2, 0, 0, 10 }, /* U */
992 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */989 { 2, 2, 0, 0, 10 }, /* V */
993 { 3, 2, 0, 0, 10, 1, 9, 1 }, /* A */990 { 3, 2, 0, 0, 10 }, /* A */
994 },991 },
995 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,992 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
996 },993 },
@@ -1000,10 +997,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1000 .log2_chroma_w = 0,997 .log2_chroma_w = 0,
1001 .log2_chroma_h = 0,998 .log2_chroma_h = 0,
1002 .comp = {999 .comp = {
1003 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */1000 { 0, 2, 0, 0, 10 }, /* Y */
1004 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */1001 { 1, 2, 0, 0, 10 }, /* U */
1005 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */1002 { 2, 2, 0, 0, 10 }, /* V */
1006 { 3, 2, 0, 0, 10, 1, 9, 1 }, /* A */1003 { 3, 2, 0, 0, 10 }, /* A */
1007 },1004 },
1008 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,1005 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
1009 },1006 },
@@ -1013,10 +1010,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1013 .log2_chroma_w = 1,1010 .log2_chroma_w = 1,
1014 .log2_chroma_h = 1,1011 .log2_chroma_h = 1,
1015 .comp = {1012 .comp = {
1016 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1013 { 0, 2, 0, 0, 16 }, /* Y */
1017 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1014 { 1, 2, 0, 0, 16 }, /* U */
1018 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1015 { 2, 2, 0, 0, 16 }, /* V */
1019 { 3, 2, 0, 0, 16, 1, 15, 1 }, /* A */1016 { 3, 2, 0, 0, 16 }, /* A */
1020 },1017 },
1021 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,1018 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
1022 },1019 },
@@ -1026,10 +1023,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1026 .log2_chroma_w = 1,1023 .log2_chroma_w = 1,
1027 .log2_chroma_h = 1,1024 .log2_chroma_h = 1,
1028 .comp = {1025 .comp = {
1029 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1026 { 0, 2, 0, 0, 16 }, /* Y */
1030 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1027 { 1, 2, 0, 0, 16 }, /* U */
1031 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1028 { 2, 2, 0, 0, 16 }, /* V */
1032 { 3, 2, 0, 0, 16, 1, 15, 1 }, /* A */1029 { 3, 2, 0, 0, 16 }, /* A */
1033 },1030 },
1034 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,1031 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
1035 },1032 },
@@ -1039,10 +1036,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1039 .log2_chroma_w = 1,1036 .log2_chroma_w = 1,
1040 .log2_chroma_h = 0,1037 .log2_chroma_h = 0,
1041 .comp = {1038 .comp = {
1042 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1039 { 0, 2, 0, 0, 16 }, /* Y */
1043 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1040 { 1, 2, 0, 0, 16 }, /* U */
1044 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1041 { 2, 2, 0, 0, 16 }, /* V */
1045 { 3, 2, 0, 0, 16, 1, 15, 1 }, /* A */1042 { 3, 2, 0, 0, 16 }, /* A */
1046 },1043 },
1047 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,1044 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
1048 },1045 },
@@ -1052,10 +1049,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1052 .log2_chroma_w = 1,1049 .log2_chroma_w = 1,
1053 .log2_chroma_h = 0,1050 .log2_chroma_h = 0,
1054 .comp = {1051 .comp = {
1055 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1052 { 0, 2, 0, 0, 16 }, /* Y */
1056 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1053 { 1, 2, 0, 0, 16 }, /* U */
1057 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1054 { 2, 2, 0, 0, 16 }, /* V */
1058 { 3, 2, 0, 0, 16, 1, 15, 1 }, /* A */1055 { 3, 2, 0, 0, 16 }, /* A */
1059 },1056 },
1060 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,1057 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
1061 },1058 },
@@ -1065,10 +1062,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1065 .log2_chroma_w = 0,1062 .log2_chroma_w = 0,
1066 .log2_chroma_h = 0,1063 .log2_chroma_h = 0,
1067 .comp = {1064 .comp = {
1068 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1065 { 0, 2, 0, 0, 16 }, /* Y */
1069 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1066 { 1, 2, 0, 0, 16 }, /* U */
1070 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1067 { 2, 2, 0, 0, 16 }, /* V */
1071 { 3, 2, 0, 0, 16, 1, 15, 1 }, /* A */1068 { 3, 2, 0, 0, 16 }, /* A */
1072 },1069 },
1073 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,1070 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
1074 },1071 },
@@ -1078,10 +1075,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1078 .log2_chroma_w = 0,1075 .log2_chroma_w = 0,
1079 .log2_chroma_h = 0,1076 .log2_chroma_h = 0,
1080 .comp = {1077 .comp = {
1081 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1078 { 0, 2, 0, 0, 16 }, /* Y */
1082 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1079 { 1, 2, 0, 0, 16 }, /* U */
1083 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1080 { 2, 2, 0, 0, 16 }, /* V */
1084 { 3, 2, 0, 0, 16, 1, 15, 1 }, /* A */1081 { 3, 2, 0, 0, 16 }, /* A */
1085 },1082 },
1086 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,1083 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
1087 },1084 },
@@ -1091,9 +1088,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1091 .log2_chroma_w = 0,1088 .log2_chroma_w = 0,
1092 .log2_chroma_h = 0,1089 .log2_chroma_h = 0,
1093 .comp = {1090 .comp = {
1094 { 0, 6, 0, 0, 16, 5, 15, 1 }, /* R */1091 { 0, 6, 0, 0, 16 }, /* R */
1095 { 0, 6, 2, 0, 16, 5, 15, 3 }, /* G */1092 { 0, 6, 2, 0, 16 }, /* G */
1096 { 0, 6, 4, 0, 16, 5, 15, 5 }, /* B */1093 { 0, 6, 4, 0, 16 }, /* B */
1097 },1094 },
1098 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_BE,1095 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_BE,
1099 },1096 },
@@ -1103,9 +1100,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1103 .log2_chroma_w = 0,1100 .log2_chroma_w = 0,
1104 .log2_chroma_h = 0,1101 .log2_chroma_h = 0,
1105 .comp = {1102 .comp = {
1106 { 0, 6, 0, 0, 16, 5, 15, 1 }, /* R */1103 { 0, 6, 0, 0, 16 }, /* R */
1107 { 0, 6, 2, 0, 16, 5, 15, 3 }, /* G */1104 { 0, 6, 2, 0, 16 }, /* G */
1108 { 0, 6, 4, 0, 16, 5, 15, 5 }, /* B */1105 { 0, 6, 4, 0, 16 }, /* B */
1109 },1106 },
1110 .flags = AV_PIX_FMT_FLAG_RGB,1107 .flags = AV_PIX_FMT_FLAG_RGB,
1111 },1108 },
@@ -1115,10 +1112,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1115 .log2_chroma_w = 0,1112 .log2_chroma_w = 0,
1116 .log2_chroma_h = 0,1113 .log2_chroma_h = 0,
1117 .comp = {1114 .comp = {
1118 { 0, 8, 0, 0, 16, 7, 15, 1 }, /* R */1115 { 0, 8, 0, 0, 16 }, /* R */
1119 { 0, 8, 2, 0, 16, 7, 15, 3 }, /* G */1116 { 0, 8, 2, 0, 16 }, /* G */
1120 { 0, 8, 4, 0, 16, 7, 15, 5 }, /* B */1117 { 0, 8, 4, 0, 16 }, /* B */
1121 { 0, 8, 6, 0, 16, 7, 15, 7 }, /* A */1118 { 0, 8, 6, 0, 16 }, /* A */
1122 },1119 },
1123 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,1120 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
1124 },1121 },
@@ -1128,10 +1125,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1128 .log2_chroma_w = 0,1125 .log2_chroma_w = 0,
1129 .log2_chroma_h = 0,1126 .log2_chroma_h = 0,
1130 .comp = {1127 .comp = {
1131 { 0, 8, 0, 0, 16, 7, 15, 1 }, /* R */1128 { 0, 8, 0, 0, 16 }, /* R */
1132 { 0, 8, 2, 0, 16, 7, 15, 3 }, /* G */1129 { 0, 8, 2, 0, 16 }, /* G */
1133 { 0, 8, 4, 0, 16, 7, 15, 5 }, /* B */1130 { 0, 8, 4, 0, 16 }, /* B */
1134 { 0, 8, 6, 0, 16, 7, 15, 7 }, /* A */1131 { 0, 8, 6, 0, 16 }, /* A */
1135 },1132 },
1136 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,1133 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
1137 },1134 },
@@ -1141,9 +1138,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1141 .log2_chroma_w = 0,1138 .log2_chroma_w = 0,
1142 .log2_chroma_h = 0,1139 .log2_chroma_h = 0,
1143 .comp = {1140 .comp = {
1144 { 0, 2, -1, 3, 5, 1, 4, 0 }, /* R */1141 { 0, 2, -1, 3, 5 }, /* R */
1145 { 0, 2, 0, 5, 6, 1, 5, 1 }, /* G */1142 { 0, 2, 0, 5, 6 }, /* G */
1146 { 0, 2, 0, 0, 5, 1, 4, 1 }, /* B */1143 { 0, 2, 0, 0, 5 }, /* B */
1147 },1144 },
1148 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,1145 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,
1149 },1146 },
@@ -1153,9 +1150,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1153 .log2_chroma_w = 0,1150 .log2_chroma_w = 0,
1154 .log2_chroma_h = 0,1151 .log2_chroma_h = 0,
1155 .comp = {1152 .comp = {
1156 { 0, 2, 1, 3, 5, 1, 4, 2 }, /* R */1153 { 0, 2, 1, 3, 5 }, /* R */
1157 { 0, 2, 0, 5, 6, 1, 5, 1 }, /* G */1154 { 0, 2, 0, 5, 6 }, /* G */
1158 { 0, 2, 0, 0, 5, 1, 4, 1 }, /* B */1155 { 0, 2, 0, 0, 5 }, /* B */
1159 },1156 },
1160 .flags = AV_PIX_FMT_FLAG_RGB,1157 .flags = AV_PIX_FMT_FLAG_RGB,
1161 },1158 },
@@ -1165,9 +1162,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1165 .log2_chroma_w = 0,1162 .log2_chroma_w = 0,
1166 .log2_chroma_h = 0,1163 .log2_chroma_h = 0,
1167 .comp = {1164 .comp = {
1168 { 0, 2, -1, 2, 5, 1, 4, 0 }, /* R */1165 { 0, 2, -1, 2, 5 }, /* R */
1169 { 0, 2, 0, 5, 5, 1, 4, 1 }, /* G */1166 { 0, 2, 0, 5, 5 }, /* G */
1170 { 0, 2, 0, 0, 5, 1, 4, 1 }, /* B */1167 { 0, 2, 0, 0, 5 }, /* B */
1171 },1168 },
1172 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,1169 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,
1173 },1170 },
@@ -1177,9 +1174,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1177 .log2_chroma_w = 0,1174 .log2_chroma_w = 0,
1178 .log2_chroma_h = 0,1175 .log2_chroma_h = 0,
1179 .comp = {1176 .comp = {
1180 { 0, 2, 1, 2, 5, 1, 4, 2 }, /* R */1177 { 0, 2, 1, 2, 5 }, /* R */
1181 { 0, 2, 0, 5, 5, 1, 4, 1 }, /* G */1178 { 0, 2, 0, 5, 5 }, /* G */
1182 { 0, 2, 0, 0, 5, 1, 4, 1 }, /* B */1179 { 0, 2, 0, 0, 5 }, /* B */
1183 },1180 },
1184 .flags = AV_PIX_FMT_FLAG_RGB,1181 .flags = AV_PIX_FMT_FLAG_RGB,
1185 },1182 },
@@ -1189,9 +1186,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1189 .log2_chroma_w = 0,1186 .log2_chroma_w = 0,
1190 .log2_chroma_h = 0,1187 .log2_chroma_h = 0,
1191 .comp = {1188 .comp = {
1192 { 0, 2, -1, 0, 4, 1, 3, 0 }, /* R */1189 { 0, 2, -1, 0, 4 }, /* R */
1193 { 0, 2, 0, 4, 4, 1, 3, 1 }, /* G */1190 { 0, 2, 0, 4, 4 }, /* G */
1194 { 0, 2, 0, 0, 4, 1, 3, 1 }, /* B */1191 { 0, 2, 0, 0, 4 }, /* B */
1195 },1192 },
1196 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,1193 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,
1197 },1194 },
@@ -1201,9 +1198,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1201 .log2_chroma_w = 0,1198 .log2_chroma_w = 0,
1202 .log2_chroma_h = 0,1199 .log2_chroma_h = 0,
1203 .comp = {1200 .comp = {
1204 { 0, 2, 1, 0, 4, 1, 3, 2 }, /* R */1201 { 0, 2, 1, 0, 4 }, /* R */
1205 { 0, 2, 0, 4, 4, 1, 3, 1 }, /* G */1202 { 0, 2, 0, 4, 4 }, /* G */
1206 { 0, 2, 0, 0, 4, 1, 3, 1 }, /* B */1203 { 0, 2, 0, 0, 4 }, /* B */
1207 },1204 },
1208 .flags = AV_PIX_FMT_FLAG_RGB,1205 .flags = AV_PIX_FMT_FLAG_RGB,
1209 },1206 },
@@ -1213,9 +1210,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1213 .log2_chroma_w = 0,1210 .log2_chroma_w = 0,
1214 .log2_chroma_h = 0,1211 .log2_chroma_h = 0,
1215 .comp = {1212 .comp = {
1216 { 0, 6, 4, 0, 16, 5, 15, 5 }, /* R */1213 { 0, 6, 4, 0, 16 }, /* R */
1217 { 0, 6, 2, 0, 16, 5, 15, 3 }, /* G */1214 { 0, 6, 2, 0, 16 }, /* G */
1218 { 0, 6, 0, 0, 16, 5, 15, 1 }, /* B */1215 { 0, 6, 0, 0, 16 }, /* B */
1219 },1216 },
1220 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,1217 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,
1221 },1218 },
@@ -1225,9 +1222,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1225 .log2_chroma_w = 0,1222 .log2_chroma_w = 0,
1226 .log2_chroma_h = 0,1223 .log2_chroma_h = 0,
1227 .comp = {1224 .comp = {
1228 { 0, 6, 4, 0, 16, 5, 15, 5 }, /* R */1225 { 0, 6, 4, 0, 16 }, /* R */
1229 { 0, 6, 2, 0, 16, 5, 15, 3 }, /* G */1226 { 0, 6, 2, 0, 16 }, /* G */
1230 { 0, 6, 0, 0, 16, 5, 15, 1 }, /* B */1227 { 0, 6, 0, 0, 16 }, /* B */
1231 },1228 },
1232 .flags = AV_PIX_FMT_FLAG_RGB,1229 .flags = AV_PIX_FMT_FLAG_RGB,
1233 },1230 },
@@ -1237,10 +1234,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1237 .log2_chroma_w = 0,1234 .log2_chroma_w = 0,
1238 .log2_chroma_h = 0,1235 .log2_chroma_h = 0,
1239 .comp = {1236 .comp = {
1240 { 0, 8, 4, 0, 16, 7, 15, 5 }, /* R */1237 { 0, 8, 4, 0, 16 }, /* R */
1241 { 0, 8, 2, 0, 16, 7, 15, 3 }, /* G */1238 { 0, 8, 2, 0, 16 }, /* G */
1242 { 0, 8, 0, 0, 16, 7, 15, 1 }, /* B */1239 { 0, 8, 0, 0, 16 }, /* B */
1243 { 0, 8, 6, 0, 16, 7, 15, 7 }, /* A */1240 { 0, 8, 6, 0, 16 }, /* A */
1244 },1241 },
1245 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,1242 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
1246 },1243 },
@@ -1250,10 +1247,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1250 .log2_chroma_w = 0,1247 .log2_chroma_w = 0,
1251 .log2_chroma_h = 0,1248 .log2_chroma_h = 0,
1252 .comp = {1249 .comp = {
1253 { 0, 8, 4, 0, 16, 7, 15, 5 }, /* R */1250 { 0, 8, 4, 0, 16 }, /* R */
1254 { 0, 8, 2, 0, 16, 7, 15, 3 }, /* G */1251 { 0, 8, 2, 0, 16 }, /* G */
1255 { 0, 8, 0, 0, 16, 7, 15, 1 }, /* B */1252 { 0, 8, 0, 0, 16 }, /* B */
1256 { 0, 8, 6, 0, 16, 7, 15, 7 }, /* A */1253 { 0, 8, 6, 0, 16 }, /* A */
1257 },1254 },
1258 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,1255 .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
1259 },1256 },
@@ -1263,9 +1260,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1263 .log2_chroma_w = 0,1260 .log2_chroma_w = 0,
1264 .log2_chroma_h = 0,1261 .log2_chroma_h = 0,
1265 .comp = {1262 .comp = {
1266 { 0, 2, 0, 0, 5, 1, 4, 1 }, /* R */1263 { 0, 2, 0, 0, 5 }, /* R */
1267 { 0, 2, 0, 5, 6, 1, 5, 1 }, /* G */1264 { 0, 2, 0, 5, 6 }, /* G */
1268 { 0, 2, -1, 3, 5, 1, 4, 0 }, /* B */1265 { 0, 2, -1, 3, 5 }, /* B */
1269 },1266 },
1270 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,1267 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,
1271 },1268 },
@@ -1275,9 +1272,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1275 .log2_chroma_w = 0,1272 .log2_chroma_w = 0,
1276 .log2_chroma_h = 0,1273 .log2_chroma_h = 0,
1277 .comp = {1274 .comp = {
1278 { 0, 2, 0, 0, 5, 1, 4, 1 }, /* R */1275 { 0, 2, 0, 0, 5 }, /* R */
1279 { 0, 2, 0, 5, 6, 1, 5, 1 }, /* G */1276 { 0, 2, 0, 5, 6 }, /* G */
1280 { 0, 2, 1, 3, 5, 1, 4, 2 }, /* B */1277 { 0, 2, 1, 3, 5 }, /* B */
1281 },1278 },
1282 .flags = AV_PIX_FMT_FLAG_RGB,1279 .flags = AV_PIX_FMT_FLAG_RGB,
1283 },1280 },
@@ -1287,9 +1284,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1287 .log2_chroma_w = 0,1284 .log2_chroma_w = 0,
1288 .log2_chroma_h = 0,1285 .log2_chroma_h = 0,
1289 .comp = {1286 .comp = {
1290 { 0, 2, 0, 0, 5, 1, 4, 1 }, /* R */1287 { 0, 2, 0, 0, 5 }, /* R */
1291 { 0, 2, 0, 5, 5, 1, 4, 1 }, /* G */1288 { 0, 2, 0, 5, 5 }, /* G */
1292 { 0, 2, -1, 2, 5, 1, 4, 0 }, /* B */1289 { 0, 2, -1, 2, 5 }, /* B */
1293 },1290 },
1294 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,1291 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,
1295 },1292 },
@@ -1299,9 +1296,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1299 .log2_chroma_w = 0,1296 .log2_chroma_w = 0,
1300 .log2_chroma_h = 0,1297 .log2_chroma_h = 0,
1301 .comp = {1298 .comp = {
1302 { 0, 2, 0, 0, 5, 1, 4, 1 }, /* R */1299 { 0, 2, 0, 0, 5 }, /* R */
1303 { 0, 2, 0, 5, 5, 1, 4, 1 }, /* G */1300 { 0, 2, 0, 5, 5 }, /* G */
1304 { 0, 2, 1, 2, 5, 1, 4, 2 }, /* B */1301 { 0, 2, 1, 2, 5 }, /* B */
1305 },1302 },
1306 .flags = AV_PIX_FMT_FLAG_RGB,1303 .flags = AV_PIX_FMT_FLAG_RGB,
1307 },1304 },
@@ -1311,9 +1308,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1311 .log2_chroma_w = 0,1308 .log2_chroma_w = 0,
1312 .log2_chroma_h = 0,1309 .log2_chroma_h = 0,
1313 .comp = {1310 .comp = {
1314 { 0, 2, 0, 0, 4, 1, 3, 1 }, /* R */1311 { 0, 2, 0, 0, 4 }, /* R */
1315 { 0, 2, 0, 4, 4, 1, 3, 1 }, /* G */1312 { 0, 2, 0, 4, 4 }, /* G */
1316 { 0, 2, -1, 0, 4, 1, 3, 0 }, /* B */1313 { 0, 2, -1, 0, 4 }, /* B */
1317 },1314 },
1318 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,1315 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB,
1319 },1316 },
@@ -1323,9 +1320,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1323 .log2_chroma_w = 0,1320 .log2_chroma_w = 0,
1324 .log2_chroma_h = 0,1321 .log2_chroma_h = 0,
1325 .comp = {1322 .comp = {
1326 { 0, 2, 0, 0, 4, 1, 3, 1 }, /* R */1323 { 0, 2, 0, 0, 4 }, /* R */
1327 { 0, 2, 0, 4, 4, 1, 3, 1 }, /* G */1324 { 0, 2, 0, 4, 4 }, /* G */
1328 { 0, 2, 1, 0, 4, 1, 3, 2 }, /* B */1325 { 0, 2, 1, 0, 4 }, /* B */
1329 },1326 },
1330 .flags = AV_PIX_FMT_FLAG_RGB,1327 .flags = AV_PIX_FMT_FLAG_RGB,
1331 },1328 },
@@ -1341,9 +1338,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 9 unmodified lines
1341 .log2_chroma_w = 1,1338 .log2_chroma_w = 1,
1342 .log2_chroma_h = 1,1339 .log2_chroma_h = 1,
1343 .comp = {1340 .comp = {
1344 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */1341 { 0, 2, 0, 0, 9 }, /* Y */
1345 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */1342 { 1, 2, 0, 0, 9 }, /* U */
1346 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */1343 { 2, 2, 0, 0, 9 }, /* V */
1347 },1344 },
1348 .flags = AV_PIX_FMT_FLAG_PLANAR,1345 .flags = AV_PIX_FMT_FLAG_PLANAR,
1349 },1346 },
@@ -1353,9 +1350,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1353 .log2_chroma_w = 1,1350 .log2_chroma_w = 1,
1354 .log2_chroma_h = 1,1351 .log2_chroma_h = 1,
1355 .comp = {1352 .comp = {
1356 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */1353 { 0, 2, 0, 0, 9 }, /* Y */
1357 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */1354 { 1, 2, 0, 0, 9 }, /* U */
1358 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */1355 { 2, 2, 0, 0, 9 }, /* V */
1359 },1356 },
1360 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1357 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1361 },1358 },
@@ -1365,9 +1362,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1365 .log2_chroma_w = 1,1362 .log2_chroma_w = 1,
1366 .log2_chroma_h = 1,1363 .log2_chroma_h = 1,
1367 .comp = {1364 .comp = {
1368 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */1365 { 0, 2, 0, 0, 10 }, /* Y */
1369 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */1366 { 1, 2, 0, 0, 10 }, /* U */
1370 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */1367 { 2, 2, 0, 0, 10 }, /* V */
1371 },1368 },
1372 .flags = AV_PIX_FMT_FLAG_PLANAR,1369 .flags = AV_PIX_FMT_FLAG_PLANAR,
1373 },1370 },
@@ -1377,9 +1374,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1377 .log2_chroma_w = 1,1374 .log2_chroma_w = 1,
1378 .log2_chroma_h = 1,1375 .log2_chroma_h = 1,
1379 .comp = {1376 .comp = {
1380 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */1377 { 0, 2, 0, 0, 10 }, /* Y */
1381 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */1378 { 1, 2, 0, 0, 10 }, /* U */
1382 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */1379 { 2, 2, 0, 0, 10 }, /* V */
1383 },1380 },
1384 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1381 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1385 },1382 },
@@ -1389,9 +1386,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1389 .log2_chroma_w = 1,1386 .log2_chroma_w = 1,
1390 .log2_chroma_h = 1,1387 .log2_chroma_h = 1,
1391 .comp = {1388 .comp = {
1392 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */1389 { 0, 2, 0, 0, 12 }, /* Y */
1393 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */1390 { 1, 2, 0, 0, 12 }, /* U */
1394 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */1391 { 2, 2, 0, 0, 12 }, /* V */
1395 },1392 },
1396 .flags = AV_PIX_FMT_FLAG_PLANAR,1393 .flags = AV_PIX_FMT_FLAG_PLANAR,
1397 },1394 },
@@ -1401,9 +1398,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1401 .log2_chroma_w = 1,1398 .log2_chroma_w = 1,
1402 .log2_chroma_h = 1,1399 .log2_chroma_h = 1,
1403 .comp = {1400 .comp = {
1404 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */1401 { 0, 2, 0, 0, 12 }, /* Y */
1405 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */1402 { 1, 2, 0, 0, 12 }, /* U */
1406 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */1403 { 2, 2, 0, 0, 12 }, /* V */
1407 },1404 },
1408 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1405 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1409 },1406 },
@@ -1413,9 +1410,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1413 .log2_chroma_w = 1,1410 .log2_chroma_w = 1,
1414 .log2_chroma_h = 1,1411 .log2_chroma_h = 1,
1415 .comp = {1412 .comp = {
1416 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* Y */1413 { 0, 2, 0, 0, 14 }, /* Y */
1417 { 1, 2, 0, 0, 14, 1, 13, 1 }, /* U */1414 { 1, 2, 0, 0, 14 }, /* U */
1418 { 2, 2, 0, 0, 14, 1, 13, 1 }, /* V */1415 { 2, 2, 0, 0, 14 }, /* V */
1419 },1416 },
1420 .flags = AV_PIX_FMT_FLAG_PLANAR,1417 .flags = AV_PIX_FMT_FLAG_PLANAR,
1421 },1418 },
@@ -1425,9 +1422,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1425 .log2_chroma_w = 1,1422 .log2_chroma_w = 1,
1426 .log2_chroma_h = 1,1423 .log2_chroma_h = 1,
1427 .comp = {1424 .comp = {
1428 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* Y */1425 { 0, 2, 0, 0, 14 }, /* Y */
1429 { 1, 2, 0, 0, 14, 1, 13, 1 }, /* U */1426 { 1, 2, 0, 0, 14 }, /* U */
1430 { 2, 2, 0, 0, 14, 1, 13, 1 }, /* V */1427 { 2, 2, 0, 0, 14 }, /* V */
1431 },1428 },
1432 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1429 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1433 },1430 },
@@ -1437,9 +1434,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1437 .log2_chroma_w = 1,1434 .log2_chroma_w = 1,
1438 .log2_chroma_h = 1,1435 .log2_chroma_h = 1,
1439 .comp = {1436 .comp = {
1440 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1437 { 0, 2, 0, 0, 16 }, /* Y */
1441 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1438 { 1, 2, 0, 0, 16 }, /* U */
1442 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1439 { 2, 2, 0, 0, 16 }, /* V */
1443 },1440 },
1444 .flags = AV_PIX_FMT_FLAG_PLANAR,1441 .flags = AV_PIX_FMT_FLAG_PLANAR,
1445 },1442 },
@@ -1449,9 +1446,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1449 .log2_chroma_w = 1,1446 .log2_chroma_w = 1,
1450 .log2_chroma_h = 1,1447 .log2_chroma_h = 1,
1451 .comp = {1448 .comp = {
1452 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1449 { 0, 2, 0, 0, 16 }, /* Y */
1453 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1450 { 1, 2, 0, 0, 16 }, /* U */
1454 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1451 { 2, 2, 0, 0, 16 }, /* V */
1455 },1452 },
1456 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1453 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1457 },1454 },
@@ -1461,9 +1458,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1461 .log2_chroma_w = 1,1458 .log2_chroma_w = 1,
1462 .log2_chroma_h = 0,1459 .log2_chroma_h = 0,
1463 .comp = {1460 .comp = {
1464 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */1461 { 0, 2, 0, 0, 9 }, /* Y */
1465 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */1462 { 1, 2, 0, 0, 9 }, /* U */
1466 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */1463 { 2, 2, 0, 0, 9 }, /* V */
1467 },1464 },
1468 .flags = AV_PIX_FMT_FLAG_PLANAR,1465 .flags = AV_PIX_FMT_FLAG_PLANAR,
1469 },1466 },
@@ -1473,9 +1470,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1473 .log2_chroma_w = 1,1470 .log2_chroma_w = 1,
1474 .log2_chroma_h = 0,1471 .log2_chroma_h = 0,
1475 .comp = {1472 .comp = {
1476 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */1473 { 0, 2, 0, 0, 9 }, /* Y */
1477 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */1474 { 1, 2, 0, 0, 9 }, /* U */
1478 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */1475 { 2, 2, 0, 0, 9 }, /* V */
1479 },1476 },
1480 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1477 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1481 },1478 },
@@ -1485,9 +1482,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1485 .log2_chroma_w = 1,1482 .log2_chroma_w = 1,
1486 .log2_chroma_h = 0,1483 .log2_chroma_h = 0,
1487 .comp = {1484 .comp = {
1488 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */1485 { 0, 2, 0, 0, 10 }, /* Y */
1489 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */1486 { 1, 2, 0, 0, 10 }, /* U */
1490 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */1487 { 2, 2, 0, 0, 10 }, /* V */
1491 },1488 },
1492 .flags = AV_PIX_FMT_FLAG_PLANAR,1489 .flags = AV_PIX_FMT_FLAG_PLANAR,
1493 },1490 },
@@ -1497,9 +1494,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1497 .log2_chroma_w = 1,1494 .log2_chroma_w = 1,
1498 .log2_chroma_h = 0,1495 .log2_chroma_h = 0,
1499 .comp = {1496 .comp = {
1500 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */1497 { 0, 2, 0, 0, 10 }, /* Y */
1501 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */1498 { 1, 2, 0, 0, 10 }, /* U */
1502 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */1499 { 2, 2, 0, 0, 10 }, /* V */
1503 },1500 },
1504 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1501 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1505 },1502 },
@@ -1509,9 +1506,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1509 .log2_chroma_w = 1,1506 .log2_chroma_w = 1,
1510 .log2_chroma_h = 0,1507 .log2_chroma_h = 0,
1511 .comp = {1508 .comp = {
1512 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */1509 { 0, 2, 0, 0, 12 }, /* Y */
1513 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */1510 { 1, 2, 0, 0, 12 }, /* U */
1514 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */1511 { 2, 2, 0, 0, 12 }, /* V */
1515 },1512 },
1516 .flags = AV_PIX_FMT_FLAG_PLANAR,1513 .flags = AV_PIX_FMT_FLAG_PLANAR,
1517 },1514 },
@@ -1521,9 +1518,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1521 .log2_chroma_w = 1,1518 .log2_chroma_w = 1,
1522 .log2_chroma_h = 0,1519 .log2_chroma_h = 0,
1523 .comp = {1520 .comp = {
1524 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */1521 { 0, 2, 0, 0, 12 }, /* Y */
1525 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */1522 { 1, 2, 0, 0, 12 }, /* U */
1526 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */1523 { 2, 2, 0, 0, 12 }, /* V */
1527 },1524 },
1528 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1525 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1529 },1526 },
@@ -1533,9 +1530,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1533 .log2_chroma_w = 1,1530 .log2_chroma_w = 1,
1534 .log2_chroma_h = 0,1531 .log2_chroma_h = 0,
1535 .comp = {1532 .comp = {
1536 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* Y */1533 { 0, 2, 0, 0, 14 }, /* Y */
1537 { 1, 2, 0, 0, 14, 1, 13, 1 }, /* U */1534 { 1, 2, 0, 0, 14 }, /* U */
1538 { 2, 2, 0, 0, 14, 1, 13, 1 }, /* V */1535 { 2, 2, 0, 0, 14 }, /* V */
1539 },1536 },
1540 .flags = AV_PIX_FMT_FLAG_PLANAR,1537 .flags = AV_PIX_FMT_FLAG_PLANAR,
1541 },1538 },
@@ -1545,9 +1542,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1545 .log2_chroma_w = 1,1542 .log2_chroma_w = 1,
1546 .log2_chroma_h = 0,1543 .log2_chroma_h = 0,
1547 .comp = {1544 .comp = {
1548 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* Y */1545 { 0, 2, 0, 0, 14 }, /* Y */
1549 { 1, 2, 0, 0, 14, 1, 13, 1 }, /* U */1546 { 1, 2, 0, 0, 14 }, /* U */
1550 { 2, 2, 0, 0, 14, 1, 13, 1 }, /* V */1547 { 2, 2, 0, 0, 14 }, /* V */
1551 },1548 },
1552 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1549 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1553 },1550 },
@@ -1557,9 +1554,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1557 .log2_chroma_w = 1,1554 .log2_chroma_w = 1,
1558 .log2_chroma_h = 0,1555 .log2_chroma_h = 0,
1559 .comp = {1556 .comp = {
1560 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1557 { 0, 2, 0, 0, 16 }, /* Y */
1561 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1558 { 1, 2, 0, 0, 16 }, /* U */
1562 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1559 { 2, 2, 0, 0, 16 }, /* V */
1563 },1560 },
1564 .flags = AV_PIX_FMT_FLAG_PLANAR,1561 .flags = AV_PIX_FMT_FLAG_PLANAR,
1565 },1562 },
@@ -1569,9 +1566,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1569 .log2_chroma_w = 1,1566 .log2_chroma_w = 1,
1570 .log2_chroma_h = 0,1567 .log2_chroma_h = 0,
1571 .comp = {1568 .comp = {
1572 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1569 { 0, 2, 0, 0, 16 }, /* Y */
1573 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1570 { 1, 2, 0, 0, 16 }, /* U */
1574 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1571 { 2, 2, 0, 0, 16 }, /* V */
1575 },1572 },
1576 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1573 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1577 },1574 },
@@ -1581,9 +1578,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1581 .log2_chroma_w = 0,1578 .log2_chroma_w = 0,
1582 .log2_chroma_h = 0,1579 .log2_chroma_h = 0,
1583 .comp = {1580 .comp = {
1584 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1581 { 0, 2, 0, 0, 16 }, /* Y */
1585 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1582 { 1, 2, 0, 0, 16 }, /* U */
1586 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1583 { 2, 2, 0, 0, 16 }, /* V */
1587 },1584 },
1588 .flags = AV_PIX_FMT_FLAG_PLANAR,1585 .flags = AV_PIX_FMT_FLAG_PLANAR,
1589 },1586 },
@@ -1593,9 +1590,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1593 .log2_chroma_w = 0,1590 .log2_chroma_w = 0,
1594 .log2_chroma_h = 0,1591 .log2_chroma_h = 0,
1595 .comp = {1592 .comp = {
1596 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */1593 { 0, 2, 0, 0, 16 }, /* Y */
1597 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* U */1594 { 1, 2, 0, 0, 16 }, /* U */
1598 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* V */1595 { 2, 2, 0, 0, 16 }, /* V */
1599 },1596 },
1600 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1597 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1601 },1598 },
@@ -1605,9 +1602,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1605 .log2_chroma_w = 0,1602 .log2_chroma_w = 0,
1606 .log2_chroma_h = 0,1603 .log2_chroma_h = 0,
1607 .comp = {1604 .comp = {
1608 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */1605 { 0, 2, 0, 0, 10 }, /* Y */
1609 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */1606 { 1, 2, 0, 0, 10 }, /* U */
1610 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */1607 { 2, 2, 0, 0, 10 }, /* V */
1611 },1608 },
1612 .flags = AV_PIX_FMT_FLAG_PLANAR,1609 .flags = AV_PIX_FMT_FLAG_PLANAR,
1613 },1610 },
@@ -1617,9 +1614,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1617 .log2_chroma_w = 0,1614 .log2_chroma_w = 0,
1618 .log2_chroma_h = 0,1615 .log2_chroma_h = 0,
1619 .comp = {1616 .comp = {
1620 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */1617 { 0, 2, 0, 0, 10 }, /* Y */
1621 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* U */1618 { 1, 2, 0, 0, 10 }, /* U */
1622 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* V */1619 { 2, 2, 0, 0, 10 }, /* V */
1623 },1620 },
1624 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1621 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1625 },1622 },
@@ -1629,9 +1626,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1629 .log2_chroma_w = 0,1626 .log2_chroma_w = 0,
1630 .log2_chroma_h = 0,1627 .log2_chroma_h = 0,
1631 .comp = {1628 .comp = {
1632 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */1629 { 0, 2, 0, 0, 9 }, /* Y */
1633 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */1630 { 1, 2, 0, 0, 9 }, /* U */
1634 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */1631 { 2, 2, 0, 0, 9 }, /* V */
1635 },1632 },
1636 .flags = AV_PIX_FMT_FLAG_PLANAR,1633 .flags = AV_PIX_FMT_FLAG_PLANAR,
1637 },1634 },
@@ -1641,9 +1638,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1641 .log2_chroma_w = 0,1638 .log2_chroma_w = 0,
1642 .log2_chroma_h = 0,1639 .log2_chroma_h = 0,
1643 .comp = {1640 .comp = {
1644 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* Y */1641 { 0, 2, 0, 0, 9 }, /* Y */
1645 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* U */1642 { 1, 2, 0, 0, 9 }, /* U */
1646 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* V */1643 { 2, 2, 0, 0, 9 }, /* V */
1647 },1644 },
1648 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1645 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1649 },1646 },
@@ -1653,9 +1650,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1653 .log2_chroma_w = 0,1650 .log2_chroma_w = 0,
1654 .log2_chroma_h = 0,1651 .log2_chroma_h = 0,
1655 .comp = {1652 .comp = {
1656 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */1653 { 0, 2, 0, 0, 12 }, /* Y */
1657 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */1654 { 1, 2, 0, 0, 12 }, /* U */
1658 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */1655 { 2, 2, 0, 0, 12 }, /* V */
1659 },1656 },
1660 .flags = AV_PIX_FMT_FLAG_PLANAR,1657 .flags = AV_PIX_FMT_FLAG_PLANAR,
1661 },1658 },
@@ -1665,9 +1662,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1665 .log2_chroma_w = 0,1662 .log2_chroma_w = 0,
1666 .log2_chroma_h = 0,1663 .log2_chroma_h = 0,
1667 .comp = {1664 .comp = {
1668 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */1665 { 0, 2, 0, 0, 12 }, /* Y */
1669 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */1666 { 1, 2, 0, 0, 12 }, /* U */
1670 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */1667 { 2, 2, 0, 0, 12 }, /* V */
1671 },1668 },
1672 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1669 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1673 },1670 },
@@ -1677,9 +1674,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1677 .log2_chroma_w = 0,1674 .log2_chroma_w = 0,
1678 .log2_chroma_h = 0,1675 .log2_chroma_h = 0,
1679 .comp = {1676 .comp = {
1680 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* Y */1677 { 0, 2, 0, 0, 14 }, /* Y */
1681 { 1, 2, 0, 0, 14, 1, 13, 1 }, /* U */1678 { 1, 2, 0, 0, 14 }, /* U */
1682 { 2, 2, 0, 0, 14, 1, 13, 1 }, /* V */1679 { 2, 2, 0, 0, 14 }, /* V */
1683 },1680 },
1684 .flags = AV_PIX_FMT_FLAG_PLANAR,1681 .flags = AV_PIX_FMT_FLAG_PLANAR,
1685 },1682 },
@@ -1689,9 +1686,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1689 .log2_chroma_w = 0,1686 .log2_chroma_w = 0,
1690 .log2_chroma_h = 0,1687 .log2_chroma_h = 0,
1691 .comp = {1688 .comp = {
1692 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* Y */1689 { 0, 2, 0, 0, 14 }, /* Y */
1693 { 1, 2, 0, 0, 14, 1, 13, 1 }, /* U */1690 { 1, 2, 0, 0, 14 }, /* U */
1694 { 2, 2, 0, 0, 14, 1, 13, 1 }, /* V */1691 { 2, 2, 0, 0, 14 }, /* V */
1695 },1692 },
1696 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,1693 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR,
1697 },1694 },
@@ -1711,8 +1708,8 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 13 unmodified lines
1711 .name = "ya8",1708 .name = "ya8",
1712 .nb_components = 2,1709 .nb_components = 2,
1713 .comp = {1710 .comp = {
1714 { 0, 2, 0, 0, 8, 1, 7, 1 }, /* Y */1711 { 0, 2, 0, 0, 8 }, /* Y */
1715 { 0, 2, 1, 0, 8, 1, 7, 2 }, /* A */1712 { 0, 2, 1, 0, 8 }, /* A */
1716 },1713 },
1717 .flags = AV_PIX_FMT_FLAG_ALPHA,1714 .flags = AV_PIX_FMT_FLAG_ALPHA,
1718 .alias = "gray8a",1715 .alias = "gray8a",
@@ -1721,8 +1718,8 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 2 unmodified lines
1721 .name = "ya16le",1718 .name = "ya16le",
1722 .nb_components = 2,1719 .nb_components = 2,
1723 .comp = {1720 .comp = {
1724 { 0, 4, 0, 0, 16, 3, 15, 1 }, /* Y */1721 { 0, 4, 0, 0, 16 }, /* Y */
1725 { 0, 4, 2, 0, 16, 3, 15, 3 }, /* A */1722 { 0, 4, 2, 0, 16 }, /* A */
1726 },1723 },
1727 .flags = AV_PIX_FMT_FLAG_ALPHA,1724 .flags = AV_PIX_FMT_FLAG_ALPHA,
1728 },1725 },
@@ -1730,8 +1727,8 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 1 unmodified line
1730 .name = "ya16be",1727 .name = "ya16be",
1731 .nb_components = 2,1728 .nb_components = 2,
1732 .comp = {1729 .comp = {
1733 { 0, 4, 0, 0, 16, 3, 15, 1 }, /* Y */1730 { 0, 4, 0, 0, 16 }, /* Y */
1734 { 0, 4, 2, 0, 16, 3, 15, 3 }, /* A */1731 { 0, 4, 2, 0, 16 }, /* A */
1735 },1732 },
1736 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_ALPHA,1733 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_ALPHA,
1737 },1734 },
@@ -1745,9 +1742,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 7 unmodified lines
1745 .log2_chroma_w = 0,1742 .log2_chroma_w = 0,
1746 .log2_chroma_h = 0,1743 .log2_chroma_h = 0,
1747 .comp = {1744 .comp = {
1748 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* R */1745 { 2, 1, 0, 0, 8 }, /* R */
1749 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* G */1746 { 0, 1, 0, 0, 8 }, /* G */
1750 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* B */1747 { 1, 1, 0, 0, 8 }, /* B */
1751 },1748 },
1752 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1749 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1753 },1750 },
@@ -1757,9 +1754,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1757 .log2_chroma_w = 0,1754 .log2_chroma_w = 0,
1758 .log2_chroma_h = 0,1755 .log2_chroma_h = 0,
1759 .comp = {1756 .comp = {
1760 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* R */1757 { 2, 2, 0, 0, 9 }, /* R */
1761 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* G */1758 { 0, 2, 0, 0, 9 }, /* G */
1762 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* B */1759 { 1, 2, 0, 0, 9 }, /* B */
1763 },1760 },
1764 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1761 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1765 },1762 },
@@ -1769,9 +1766,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1769 .log2_chroma_w = 0,1766 .log2_chroma_w = 0,
1770 .log2_chroma_h = 0,1767 .log2_chroma_h = 0,
1771 .comp = {1768 .comp = {
1772 { 2, 2, 0, 0, 9, 1, 8, 1 }, /* R */1769 { 2, 2, 0, 0, 9 }, /* R */
1773 { 0, 2, 0, 0, 9, 1, 8, 1 }, /* G */1770 { 0, 2, 0, 0, 9 }, /* G */
1774 { 1, 2, 0, 0, 9, 1, 8, 1 }, /* B */1771 { 1, 2, 0, 0, 9 }, /* B */
1775 },1772 },
1776 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1773 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1777 },1774 },
@@ -1781,9 +1778,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1781 .log2_chroma_w = 0,1778 .log2_chroma_w = 0,
1782 .log2_chroma_h = 0,1779 .log2_chroma_h = 0,
1783 .comp = {1780 .comp = {
1784 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* R */1781 { 2, 2, 0, 0, 10 }, /* R */
1785 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* G */1782 { 0, 2, 0, 0, 10 }, /* G */
1786 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* B */1783 { 1, 2, 0, 0, 10 }, /* B */
1787 },1784 },
1788 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1785 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1789 },1786 },
@@ -1793,9 +1790,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1793 .log2_chroma_w = 0,1790 .log2_chroma_w = 0,
1794 .log2_chroma_h = 0,1791 .log2_chroma_h = 0,
1795 .comp = {1792 .comp = {
1796 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* R */1793 { 2, 2, 0, 0, 10 }, /* R */
1797 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* G */1794 { 0, 2, 0, 0, 10 }, /* G */
1798 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* B */1795 { 1, 2, 0, 0, 10 }, /* B */
1799 },1796 },
1800 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1797 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1801 },1798 },
@@ -1805,9 +1802,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1805 .log2_chroma_w = 0,1802 .log2_chroma_w = 0,
1806 .log2_chroma_h = 0,1803 .log2_chroma_h = 0,
1807 .comp = {1804 .comp = {
1808 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* R */1805 { 2, 2, 0, 0, 12 }, /* R */
1809 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* G */1806 { 0, 2, 0, 0, 12 }, /* G */
1810 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* B */1807 { 1, 2, 0, 0, 12 }, /* B */
1811 },1808 },
1812 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1809 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1813 },1810 },
@@ -1817,9 +1814,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1817 .log2_chroma_w = 0,1814 .log2_chroma_w = 0,
1818 .log2_chroma_h = 0,1815 .log2_chroma_h = 0,
1819 .comp = {1816 .comp = {
1820 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* R */1817 { 2, 2, 0, 0, 12 }, /* R */
1821 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* G */1818 { 0, 2, 0, 0, 12 }, /* G */
1822 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* B */1819 { 1, 2, 0, 0, 12 }, /* B */
1823 },1820 },
1824 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1821 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1825 },1822 },
@@ -1829,9 +1826,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1829 .log2_chroma_w = 0,1826 .log2_chroma_w = 0,
1830 .log2_chroma_h = 0,1827 .log2_chroma_h = 0,
1831 .comp = {1828 .comp = {
1832 { 2, 2, 0, 0, 14, 1, 13, 1 }, /* R */1829 { 2, 2, 0, 0, 14 }, /* R */
1833 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* G */1830 { 0, 2, 0, 0, 14 }, /* G */
1834 { 1, 2, 0, 0, 14, 1, 13, 1 }, /* B */1831 { 1, 2, 0, 0, 14 }, /* B */
1835 },1832 },
1836 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1833 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1837 },1834 },
@@ -1841,9 +1838,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1841 .log2_chroma_w = 0,1838 .log2_chroma_w = 0,
1842 .log2_chroma_h = 0,1839 .log2_chroma_h = 0,
1843 .comp = {1840 .comp = {
1844 { 2, 2, 0, 0, 14, 1, 13, 1 }, /* R */1841 { 2, 2, 0, 0, 14 }, /* R */
1845 { 0, 2, 0, 0, 14, 1, 13, 1 }, /* G */1842 { 0, 2, 0, 0, 14 }, /* G */
1846 { 1, 2, 0, 0, 14, 1, 13, 1 }, /* B */1843 { 1, 2, 0, 0, 14 }, /* B */
1847 },1844 },
1848 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1845 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1849 },1846 },
@@ -1853,9 +1850,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1853 .log2_chroma_w = 0,1850 .log2_chroma_w = 0,
1854 .log2_chroma_h = 0,1851 .log2_chroma_h = 0,
1855 .comp = {1852 .comp = {
1856 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* R */1853 { 2, 2, 0, 0, 16 }, /* R */
1857 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* G */1854 { 0, 2, 0, 0, 16 }, /* G */
1858 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* B */1855 { 1, 2, 0, 0, 16 }, /* B */
1859 },1856 },
1860 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1857 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1861 },1858 },
@@ -1865,9 +1862,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1865 .log2_chroma_w = 0,1862 .log2_chroma_w = 0,
1866 .log2_chroma_h = 0,1863 .log2_chroma_h = 0,
1867 .comp = {1864 .comp = {
1868 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* R */1865 { 2, 2, 0, 0, 16 }, /* R */
1869 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* G */1866 { 0, 2, 0, 0, 16 }, /* G */
1870 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* B */1867 { 1, 2, 0, 0, 16 }, /* B */
1871 },1868 },
1872 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,1869 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB,
1873 },1870 },
@@ -1877,10 +1874,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1877 .log2_chroma_w = 0,1874 .log2_chroma_w = 0,
1878 .log2_chroma_h = 0,1875 .log2_chroma_h = 0,
1879 .comp = {1876 .comp = {
1880 { 2, 1, 0, 0, 8, 0, 7, 1 }, /* R */1877 { 2, 1, 0, 0, 8 }, /* R */
1881 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* G */1878 { 0, 1, 0, 0, 8 }, /* G */
1882 { 1, 1, 0, 0, 8, 0, 7, 1 }, /* B */1879 { 1, 1, 0, 0, 8 }, /* B */
1883 { 3, 1, 0, 0, 8, 0, 7, 1 }, /* A */1880 { 3, 1, 0, 0, 8 }, /* A */
1884 },1881 },
1885 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |1882 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |
1886 AV_PIX_FMT_FLAG_ALPHA,1883 AV_PIX_FMT_FLAG_ALPHA,
@@ -1891,10 +1888,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
1891 .log2_chroma_w = 0,1888 .log2_chroma_w = 0,
1892 .log2_chroma_h = 0,1889 .log2_chroma_h = 0,
1893 .comp = {1890 .comp = {
1894 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* R */1891 { 2, 2, 0, 0, 16 }, /* R */
1895 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* G */1892 { 0, 2, 0, 0, 16 }, /* G */
1896 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* B */1893 { 1, 2, 0, 0, 16 }, /* B */
1897 { 3, 2, 0, 0, 16, 1, 15, 1 }, /* A */1894 { 3, 2, 0, 0, 16 }, /* A */
1898 },1895 },
1899 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |1896 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |
1900 AV_PIX_FMT_FLAG_ALPHA,1897 AV_PIX_FMT_FLAG_ALPHA,
@@ -1905,10 +1902,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
1905 .log2_chroma_w = 0,1902 .log2_chroma_w = 0,
1906 .log2_chroma_h = 0,1903 .log2_chroma_h = 0,
1907 .comp = {1904 .comp = {
1908 { 2, 2, 0, 0, 16, 1, 15, 1 }, /* R */1905 { 2, 2, 0, 0, 16 }, /* R */
1909 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* G */1906 { 0, 2, 0, 0, 16 }, /* G */
1910 { 1, 2, 0, 0, 16, 1, 15, 1 }, /* B */1907 { 1, 2, 0, 0, 16 }, /* B */
1911 { 3, 2, 0, 0, 16, 1, 15, 1 }, /* A */1908 { 3, 2, 0, 0, 16 }, /* A */
1912 },1909 },
1913 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |1910 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |
1914 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,1911 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
@@ -1925,9 +1922,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 10 unmodified lines
1925 .log2_chroma_w = 0,1922 .log2_chroma_w = 0,
1926 .log2_chroma_h = 0,1923 .log2_chroma_h = 0,
1927 .comp = {1924 .comp = {
1928 { 0, 6, 0, 4, 12, 5, 11, 1 }, /* X */1925 { 0, 6, 0, 4, 12 }, /* X */
1929 { 0, 6, 2, 4, 12, 5, 11, 3 }, /* Y */1926 { 0, 6, 2, 4, 12 }, /* Y */
1930 { 0, 6, 4, 4, 12, 5, 11, 5 }, /* Z */1927 { 0, 6, 4, 4, 12 }, /* Z */
1931 },1928 },
1932 /*.flags = -- not used*/1929 /*.flags = -- not used*/
1933 },1930 },
@@ -1937,9 +1934,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1937 .log2_chroma_w = 0,1934 .log2_chroma_w = 0,
1938 .log2_chroma_h = 0,1935 .log2_chroma_h = 0,
1939 .comp = {1936 .comp = {
1940 { 0, 6, 0, 4, 12, 5, 11, 1 }, /* X */1937 { 0, 6, 0, 4, 12 }, /* X */
1941 { 0, 6, 2, 4, 12, 5, 11, 3 }, /* Y */1938 { 0, 6, 2, 4, 12 }, /* Y */
1942 { 0, 6, 4, 4, 12, 5, 11, 5 }, /* Z */1939 { 0, 6, 4, 4, 12 }, /* Z */
1943 },1940 },
1944 .flags = AV_PIX_FMT_FLAG_BE,1941 .flags = AV_PIX_FMT_FLAG_BE,
1945 },1942 },
@@ -1949,9 +1946,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
1949 .log2_chroma_w= 0, \1946 .log2_chroma_w= 0, \
1950 .log2_chroma_h= 0, \1947 .log2_chroma_h= 0, \
1951 .comp = { \1948 .comp = { \
1952 {0,1,0,0,2,0,1,1},\1949 { 0, 1, 0, 0, 2 }, \
1953 {0,1,0,0,4,0,3,1},\1950 { 0, 1, 0, 0, 4 }, \
1954 {0,1,0,0,2,0,1,1},\1951 { 0, 1, 0, 0, 2 }, \
1955 }, \1952 }, \
1956 1953
1957#define BAYER16_DESC_COMMON \1954#define BAYER16_DESC_COMMON \
@@ -1959,9 +1956,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 1 unmodified line
1959 .log2_chroma_w= 0, \1956 .log2_chroma_w= 0, \
1960 .log2_chroma_h= 0, \1957 .log2_chroma_h= 0, \
1961 .comp = { \1958 .comp = { \
1962 {0,2,0,0,4,1,3,1},\1959 { 0, 2, 0, 0, 4 }, \
1963 {0,2,0,0,8,1,7,1},\1960 { 0, 2, 0, 0, 8 }, \
1964 {0,2,0,0,4,1,3,1},\1961 { 0, 2, 0, 0, 4 }, \
1965 }, \1962 }, \
1966 1963
1967 [AV_PIX_FMT_BAYER_BGGR8] = {1964 [AV_PIX_FMT_BAYER_BGGR8] = {
@@ -2030,9 +2027,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 62 unmodified lines
2030 .log2_chroma_w = 1,2027 .log2_chroma_w = 1,
2031 .log2_chroma_h = 0,2028 .log2_chroma_h = 0,
2032 .comp = {2029 .comp = {
2033 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */2030 { 0, 1, 0, 0, 8 }, /* Y */
2034 { 1, 2, 0, 0, 8, 1, 7, 1 }, /* U */2031 { 1, 2, 0, 0, 8 }, /* U */
2035 { 1, 2, 1, 0, 8, 1, 7, 2 }, /* V */2032 { 1, 2, 1, 0, 8 }, /* V */
2036 },2033 },
2037 .flags = AV_PIX_FMT_FLAG_PLANAR,2034 .flags = AV_PIX_FMT_FLAG_PLANAR,
2038 },2035 },
@@ -2042,9 +2039,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2042 .log2_chroma_w = 1,2039 .log2_chroma_w = 1,
2043 .log2_chroma_h = 0,2040 .log2_chroma_h = 0,
2044 .comp = {2041 .comp = {
2045 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */2042 { 0, 2, 0, 0, 10 }, /* Y */
2046 { 1, 4, 0, 0, 10, 3, 9, 1 }, /* U */2043 { 1, 4, 0, 0, 10 }, /* U */
2047 { 1, 4, 2, 0, 10, 3, 9, 3 }, /* V */2044 { 1, 4, 2, 0, 10 }, /* V */
2048 },2045 },
2049 .flags = AV_PIX_FMT_FLAG_PLANAR,2046 .flags = AV_PIX_FMT_FLAG_PLANAR,
2050 },2047 },
@@ -2054,9 +2051,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2054 .log2_chroma_w = 1,2051 .log2_chroma_w = 1,
2055 .log2_chroma_h = 0,2052 .log2_chroma_h = 0,
2056 .comp = {2053 .comp = {
2057 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* Y */2054 { 0, 2, 0, 0, 10 }, /* Y */
2058 { 1, 4, 0, 0, 10, 3, 9, 1 }, /* U */2055 { 1, 4, 0, 0, 10 }, /* U */
2059 { 1, 4, 2, 0, 10, 3, 9, 3 }, /* V */2056 { 1, 4, 2, 0, 10 }, /* V */
2060 },2057 },
2061 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,2058 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,
2062 },2059 },
@@ -2082,10 +2079,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 19 unmodified lines
2082 .log2_chroma_w = 0,2079 .log2_chroma_w = 0,
2083 .log2_chroma_h = 0,2080 .log2_chroma_h = 0,
2084 .comp = {2081 .comp = {
2085 { 0, 8, 2, 0, 16, 7, 15, 3 }, /* Y */2082 { 0, 8, 2, 0, 16 }, /* Y */
2086 { 0, 8, 4, 0, 16, 7, 15, 5 }, /* U */2083 { 0, 8, 4, 0, 16 }, /* U */
2087 { 0, 8, 6, 0, 16, 7, 15, 7 }, /* V */2084 { 0, 8, 6, 0, 16 }, /* V */
2088 { 0, 8, 0, 0, 16, 7, 15, 1 }, /* A */2085 { 0, 8, 0, 0, 16 }, /* A */
2089 },2086 },
2090 .flags = AV_PIX_FMT_FLAG_ALPHA,2087 .flags = AV_PIX_FMT_FLAG_ALPHA,
2091 },2088 },
@@ -2095,10 +2092,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2095 .log2_chroma_w = 0,2092 .log2_chroma_w = 0,
2096 .log2_chroma_h = 0,2093 .log2_chroma_h = 0,
2097 .comp = {2094 .comp = {
2098 { 0, 8, 2, 0, 16, 7, 15, 3 }, /* Y */2095 { 0, 8, 2, 0, 16 }, /* Y */
2099 { 0, 8, 4, 0, 16, 7, 15, 5 }, /* U */2096 { 0, 8, 4, 0, 16 }, /* U */
2100 { 0, 8, 6, 0, 16, 7, 15, 7 }, /* V */2097 { 0, 8, 6, 0, 16 }, /* V */
2101 { 0, 8, 0, 0, 16, 7, 15, 1 }, /* A */2098 { 0, 8, 0, 0, 16 }, /* A */
2102 },2099 },
2103 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_ALPHA,2100 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_ALPHA,
2104 },2101 },
@@ -2108,9 +2105,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2108 .log2_chroma_w = 1,2105 .log2_chroma_w = 1,
2109 .log2_chroma_h = 1,2106 .log2_chroma_h = 1,
2110 .comp = {2107 .comp = {
2111 { 0, 2, 0, 6, 10, 1, 9, 1 }, /* Y */2108 { 0, 2, 0, 6, 10 }, /* Y */
2112 { 1, 4, 0, 6, 10, 3, 9, 1 }, /* U */2109 { 1, 4, 0, 6, 10 }, /* U */
2113 { 1, 4, 2, 6, 10, 3, 9, 3 }, /* V */2110 { 1, 4, 2, 6, 10 }, /* V */
2114 },2111 },
2115 .flags = AV_PIX_FMT_FLAG_PLANAR,2112 .flags = AV_PIX_FMT_FLAG_PLANAR,
2116 },2113 },
@@ -2120,9 +2117,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2120 .log2_chroma_w = 1,2117 .log2_chroma_w = 1,
2121 .log2_chroma_h = 1,2118 .log2_chroma_h = 1,
2122 .comp = {2119 .comp = {
2123 { 0, 2, 0, 6, 10, 1, 9, 1 }, /* Y */2120 { 0, 2, 0, 6, 10 }, /* Y */
2124 { 1, 4, 0, 6, 10, 3, 9, 1 }, /* U */2121 { 1, 4, 0, 6, 10 }, /* U */
2125 { 1, 4, 2, 6, 10, 3, 9, 3 }, /* V */2122 { 1, 4, 2, 6, 10 }, /* V */
2126 },2123 },
2127 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,2124 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,
2128 },2125 },
@@ -2132,9 +2129,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2132 .log2_chroma_w = 1,2129 .log2_chroma_w = 1,
2133 .log2_chroma_h = 1,2130 .log2_chroma_h = 1,
2134 .comp = {2131 .comp = {
2135 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */2132 { 0, 2, 0, 0, 16 }, /* Y */
2136 { 1, 4, 0, 0, 16, 3, 15, 1 }, /* U */2133 { 1, 4, 0, 0, 16 }, /* U */
2137 { 1, 4, 2, 0, 16, 3, 15, 3 }, /* V */2134 { 1, 4, 2, 0, 16 }, /* V */
2138 },2135 },
2139 .flags = AV_PIX_FMT_FLAG_PLANAR,2136 .flags = AV_PIX_FMT_FLAG_PLANAR,
2140 },2137 },
@@ -2144,9 +2141,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2144 .log2_chroma_w = 1,2141 .log2_chroma_w = 1,
2145 .log2_chroma_h = 1,2142 .log2_chroma_h = 1,
2146 .comp = {2143 .comp = {
2147 { 0, 2, 0, 0, 16, 1, 15, 1 }, /* Y */2144 { 0, 2, 0, 0, 16 }, /* Y */
2148 { 1, 4, 0, 0, 16, 3, 15, 1 }, /* U */2145 { 1, 4, 0, 0, 16 }, /* U */
2149 { 1, 4, 2, 0, 16, 3, 15, 3 }, /* V */2146 { 1, 4, 2, 0, 16 }, /* V */
2150 },2147 },
2151 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,2148 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BE,
2152 },2149 },
@@ -2156,10 +2153,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2156 .log2_chroma_w = 0,2153 .log2_chroma_w = 0,
2157 .log2_chroma_h = 0,2154 .log2_chroma_h = 0,
2158 .comp = {2155 .comp = {
2159 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* R */2156 { 2, 2, 0, 0, 12 }, /* R */
2160 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* G */2157 { 0, 2, 0, 0, 12 }, /* G */
2161 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* B */2158 { 1, 2, 0, 0, 12 }, /* B */
2162 { 3, 2, 0, 0, 12, 1, 11, 1 }, /* A */2159 { 3, 2, 0, 0, 12 }, /* A */
2163 },2160 },
2164 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |2161 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |
2165 AV_PIX_FMT_FLAG_ALPHA,2162 AV_PIX_FMT_FLAG_ALPHA,
@@ -2170,10 +2167,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
2170 .log2_chroma_w = 0,2167 .log2_chroma_w = 0,
2171 .log2_chroma_h = 0,2168 .log2_chroma_h = 0,
2172 .comp = {2169 .comp = {
2173 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* R */2170 { 2, 2, 0, 0, 12 }, /* R */
2174 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* G */2171 { 0, 2, 0, 0, 12 }, /* G */
2175 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* B */2172 { 1, 2, 0, 0, 12 }, /* B */
2176 { 3, 2, 0, 0, 12, 1, 11, 1 }, /* A */2173 { 3, 2, 0, 0, 12 }, /* A */
2177 },2174 },
2178 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |2175 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |
2179 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,2176 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
@@ -2184,10 +2181,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
2184 .log2_chroma_w = 0,2181 .log2_chroma_w = 0,
2185 .log2_chroma_h = 0,2182 .log2_chroma_h = 0,
2186 .comp = {2183 .comp = {
2187 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* R */2184 { 2, 2, 0, 0, 10 }, /* R */
2188 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* G */2185 { 0, 2, 0, 0, 10 }, /* G */
2189 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* B */2186 { 1, 2, 0, 0, 10 }, /* B */
2190 { 3, 2, 0, 0, 10, 1, 9, 1 }, /* A */2187 { 3, 2, 0, 0, 10 }, /* A */
2191 },2188 },
2192 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |2189 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_RGB |
2193 AV_PIX_FMT_FLAG_ALPHA,2190 AV_PIX_FMT_FLAG_ALPHA,
@@ -2198,10 +2195,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
2198 .log2_chroma_w = 0,2195 .log2_chroma_w = 0,
2199 .log2_chroma_h = 0,2196 .log2_chroma_h = 0,
2200 .comp = {2197 .comp = {
2201 { 2, 2, 0, 0, 10, 1, 9, 1 }, /* R */2198 { 2, 2, 0, 0, 10 }, /* R */
2202 { 0, 2, 0, 0, 10, 1, 9, 1 }, /* G */2199 { 0, 2, 0, 0, 10 }, /* G */
2203 { 1, 2, 0, 0, 10, 1, 9, 1 }, /* B */2200 { 1, 2, 0, 0, 10 }, /* B */
2204 { 3, 2, 0, 0, 10, 1, 9, 1 }, /* A */2201 { 3, 2, 0, 0, 10 }, /* A */
2205 },2202 },
2206 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |2203 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |
2207 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,2204 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA,
@@ -2216,9 +2213,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 8 unmodified lines
2216 .log2_chroma_w = 0,2213 .log2_chroma_w = 0,
2217 .log2_chroma_h = 0,2214 .log2_chroma_h = 0,
2218 .comp = {2215 .comp = {
2219 { 2, 4, 0, 0, 32, 3, 31, 1 }, /* R */2216 { 2, 4, 0, 0, 32 }, /* R */
2220 { 0, 4, 0, 0, 32, 3, 31, 1 }, /* G */2217 { 0, 4, 0, 0, 32 }, /* G */
2221 { 1, 4, 0, 0, 32, 3, 31, 1 }, /* B */2218 { 1, 4, 0, 0, 32 }, /* B */
2222 },2219 },
2223 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |2220 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |
2224 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_FLOAT,2221 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_FLOAT,
@@ -2229,9 +2226,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
2229 .log2_chroma_w = 0,2226 .log2_chroma_w = 0,
2230 .log2_chroma_h = 0,2227 .log2_chroma_h = 0,
2231 .comp = {2228 .comp = {
2232 { 2, 4, 0, 0, 32, 3, 31, 1 }, /* R */2229 { 2, 4, 0, 0, 32 }, /* R */
2233 { 0, 4, 0, 0, 32, 3, 31, 1 }, /* G */2230 { 0, 4, 0, 0, 32 }, /* G */
2234 { 1, 4, 0, 0, 32, 3, 31, 1 }, /* B */2231 { 1, 4, 0, 0, 32 }, /* B */
2235 },2232 },
2236 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_FLOAT | AV_PIX_FMT_FLAG_RGB,2233 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_FLOAT | AV_PIX_FMT_FLAG_RGB,
2237 },2234 },
@@ -2241,10 +2238,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2241 .log2_chroma_w = 0,2238 .log2_chroma_w = 0,
2242 .log2_chroma_h = 0,2239 .log2_chroma_h = 0,
2243 .comp = {2240 .comp = {
2244 { 2, 4, 0, 0, 32, 3, 31, 1 }, /* R */2241 { 2, 4, 0, 0, 32 }, /* R */
2245 { 0, 4, 0, 0, 32, 3, 31, 1 }, /* G */2242 { 0, 4, 0, 0, 32 }, /* G */
2246 { 1, 4, 0, 0, 32, 3, 31, 1 }, /* B */2243 { 1, 4, 0, 0, 32 }, /* B */
2247 { 3, 4, 0, 0, 32, 3, 31, 1 }, /* A */2244 { 3, 4, 0, 0, 32 }, /* A */
2248 },2245 },
2249 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |2246 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR |
2250 AV_PIX_FMT_FLAG_ALPHA | AV_PIX_FMT_FLAG_RGB |2247 AV_PIX_FMT_FLAG_ALPHA | AV_PIX_FMT_FLAG_RGB |
@@ -2256,10 +2253,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 5 unmodified lines
2256 .log2_chroma_w = 0,2253 .log2_chroma_w = 0,
2257 .log2_chroma_h = 0,2254 .log2_chroma_h = 0,
2258 .comp = {2255 .comp = {
2259 { 2, 4, 0, 0, 32, 3, 31, 1 }, /* R */2256 { 2, 4, 0, 0, 32 }, /* R */
2260 { 0, 4, 0, 0, 32, 3, 31, 1 }, /* G */2257 { 0, 4, 0, 0, 32 }, /* G */
2261 { 1, 4, 0, 0, 32, 3, 31, 1 }, /* B */2258 { 1, 4, 0, 0, 32 }, /* B */
2262 { 3, 4, 0, 0, 32, 3, 31, 1 }, /* A */2259 { 3, 4, 0, 0, 32 }, /* A */
2263 },2260 },
2264 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA |2261 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA |
2265 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_FLOAT,2262 AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_FLOAT,
@@ -2278,7 +2275,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 12 unmodified lines
2278 .log2_chroma_w = 0,2275 .log2_chroma_w = 0,
2279 .log2_chroma_h = 0,2276 .log2_chroma_h = 0,
2280 .comp = {2277 .comp = {
2281 { 0, 4, 0, 0, 32, 3, 31, 1 }, /* Y */2278 { 0, 4, 0, 0, 32 }, /* Y */
2282 },2279 },
2283 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_FLOAT,2280 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_FLOAT,
2284 .alias = "yf32be",2281 .alias = "yf32be",
@@ -2289,7 +2286,7 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
2289 .log2_chroma_w = 0,2286 .log2_chroma_w = 0,
2290 .log2_chroma_h = 0,2287 .log2_chroma_h = 0,
2291 .comp = {2288 .comp = {
2292 { 0, 4, 0, 0, 32, 3, 31, 1 }, /* Y */2289 { 0, 4, 0, 0, 32 }, /* Y */
2293 },2290 },
2294 .flags = AV_PIX_FMT_FLAG_FLOAT,2291 .flags = AV_PIX_FMT_FLAG_FLOAT,
2295 .alias = "yf32le",2292 .alias = "yf32le",
@@ -2300,10 +2297,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 4 unmodified lines
2300 .log2_chroma_w = 1,2297 .log2_chroma_w = 1,
2301 .log2_chroma_h = 0,2298 .log2_chroma_h = 0,
2302 .comp = {2299 .comp = {
2303 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */2300 { 0, 2, 0, 0, 12 }, /* Y */
2304 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */2301 { 1, 2, 0, 0, 12 }, /* U */
2305 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */2302 { 2, 2, 0, 0, 12 }, /* V */
2306 { 3, 2, 0, 0, 12, 1, 11, 1 }, /* A */2303 { 3, 2, 0, 0, 12 }, /* A */
2307 },2304 },
2308 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,2305 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
2309 },2306 },
@@ -2313,10 +2310,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2313 .log2_chroma_w = 1,2310 .log2_chroma_w = 1,
2314 .log2_chroma_h = 0,2311 .log2_chroma_h = 0,
2315 .comp = {2312 .comp = {
2316 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */2313 { 0, 2, 0, 0, 12 }, /* Y */
2317 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */2314 { 1, 2, 0, 0, 12 }, /* U */
2318 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */2315 { 2, 2, 0, 0, 12 }, /* V */
2319 { 3, 2, 0, 0, 12, 1, 11, 1 }, /* A */2316 { 3, 2, 0, 0, 12 }, /* A */
2320 },2317 },
2321 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,2318 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
2322 },2319 },
@@ -2326,10 +2323,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2326 .log2_chroma_w = 0,2323 .log2_chroma_w = 0,
2327 .log2_chroma_h = 0,2324 .log2_chroma_h = 0,
2328 .comp = {2325 .comp = {
2329 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */2326 { 0, 2, 0, 0, 12 }, /* Y */
2330 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */2327 { 1, 2, 0, 0, 12 }, /* U */
2331 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */2328 { 2, 2, 0, 0, 12 }, /* V */
2332 { 3, 2, 0, 0, 12, 1, 11, 1 }, /* A */2329 { 3, 2, 0, 0, 12 }, /* A */
2333 },2330 },
2334 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,2331 .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
2335 },2332 },
@@ -2339,10 +2336,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2339 .log2_chroma_w = 0,2336 .log2_chroma_w = 0,
2340 .log2_chroma_h = 0,2337 .log2_chroma_h = 0,
2341 .comp = {2338 .comp = {
2342 { 0, 2, 0, 0, 12, 1, 11, 1 }, /* Y */2339 { 0, 2, 0, 0, 12 }, /* Y */
2343 { 1, 2, 0, 0, 12, 1, 11, 1 }, /* U */2340 { 1, 2, 0, 0, 12 }, /* U */
2344 { 2, 2, 0, 0, 12, 1, 11, 1 }, /* V */2341 { 2, 2, 0, 0, 12 }, /* V */
2345 { 3, 2, 0, 0, 12, 1, 11, 1 }, /* A */2342 { 3, 2, 0, 0, 12 }, /* A */
2346 },2343 },
2347 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,2344 .flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_ALPHA,
2348 },2345 },
@@ -2352,9 +2349,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2352 .log2_chroma_w = 0,2349 .log2_chroma_w = 0,
2353 .log2_chroma_h = 0,2350 .log2_chroma_h = 0,
2354 .comp = {2351 .comp = {
2355 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */2352 { 0, 1, 0, 0, 8 }, /* Y */
2356 { 1, 2, 0, 0, 8, 1, 7, 1 }, /* U */2353 { 1, 2, 0, 0, 8 }, /* U */
2357 { 1, 2, 1, 0, 8, 1, 7, 2 }, /* V */2354 { 1, 2, 1, 0, 8 }, /* V */
2358 },2355 },
2359 .flags = AV_PIX_FMT_FLAG_PLANAR,2356 .flags = AV_PIX_FMT_FLAG_PLANAR,
2360 },2357 },
@@ -2364,9 +2361,9 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 3 unmodified lines
2364 .log2_chroma_w = 0,2361 .log2_chroma_w = 0,
2365 .log2_chroma_h = 0,2362 .log2_chroma_h = 0,
2366 .comp = {2363 .comp = {
2367 { 0, 1, 0, 0, 8, 0, 7, 1 }, /* Y */2364 { 0, 1, 0, 0, 8 }, /* Y */
2368 { 1, 2, 1, 0, 8, 1, 7, 2 }, /* U */2365 { 1, 2, 1, 0, 8 }, /* U */
2369 { 1, 2, 0, 0, 8, 1, 7, 1 }, /* V */2366 { 1, 2, 0, 0, 8 }, /* V */
2370 },2367 },
2371 .flags = AV_PIX_FMT_FLAG_PLANAR,2368 .flags = AV_PIX_FMT_FLAG_PLANAR,
2372 },2369 },
@@ -2375,9 +2372,6 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 2 unmodified lines
2375 .flags = AV_PIX_FMT_FLAG_HWACCEL,2372 .flags = AV_PIX_FMT_FLAG_HWACCEL,
2376 },2373 },
2377};2374};
2378#if FF_API_PLUS1_MINUS1
2379FF_ENABLE_DEPRECATION_WARNINGS
2380#endif
2381 2375
2382static const char * const color_range_names[] = {2376static const char * const color_range_names[] = {
2383 [AVCOL_RANGE_UNSPECIFIED] = "unknown",2377 [AVCOL_RANGE_UNSPECIFIED] = "unknown",
libavutil/pixdesc.h+0−11
@@ -56,17 +56,6 @@ typedef struct AVComponentDescriptor { · 55 unmodified lines
56 * Number of bits in the component.56 * Number of bits in the component.
57 */57 */
58 int depth;58 int depth;
59
60#if FF_API_PLUS1_MINUS1
61 /** deprecated, use step instead */
62 attribute_deprecated int step_minus1;
63
64 /** deprecated, use depth instead */
65 attribute_deprecated int depth_minus1;
66
67 /** deprecated, use offset instead */
68 attribute_deprecated int offset_plus1;
69#endif
70} AVComponentDescriptor;59} AVComponentDescriptor;
71 60
72/**61/**
libavutil/version.h+0−3
@@ -105,9 +105,6 @@ · 104 unmodified lines
105 * @{105 * @{
106 */106 */
107 107
108#ifndef FF_API_PLUS1_MINUS1
109#define FF_API_PLUS1_MINUS1 (LIBAVUTIL_VERSION_MAJOR < 57)
110#endif
111#ifndef FF_API_ERROR_FRAME108#ifndef FF_API_ERROR_FRAME
112#define FF_API_ERROR_FRAME (LIBAVUTIL_VERSION_MAJOR < 57)109#define FF_API_ERROR_FRAME (LIBAVUTIL_VERSION_MAJOR < 57)
113#endif110#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t