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