Unified · Split
| @@ -2382,7 +2382,15 @@ void ff_get_unscaled_swscale(SwsInternal *c) · 2381 unmodified lines | |||
| 2382 | 2382 | ||
| 2383 | /* RGB to planar RGB */ | 2383 | /* RGB to planar RGB */ |
| 2384 | if ((srcFormat == AV_PIX_FMT_GBRP && dstFormat == AV_PIX_FMT_GBRAP) || | 2384 | if ((srcFormat == AV_PIX_FMT_GBRP && dstFormat == AV_PIX_FMT_GBRAP) || |
| 2385 | (srcFormat == AV_PIX_FMT_GBRAP && dstFormat == AV_PIX_FMT_GBRP)) | 2385 | (srcFormat == AV_PIX_FMT_GBRP10 && dstFormat == AV_PIX_FMT_GBRAP10) || |
| 2386 | (srcFormat == AV_PIX_FMT_GBRP12 && dstFormat == AV_PIX_FMT_GBRAP12) || | ||
| 2387 | (srcFormat == AV_PIX_FMT_GBRP14 && dstFormat == AV_PIX_FMT_GBRAP14) || | ||
| 2388 | (srcFormat == AV_PIX_FMT_GBRP16 && dstFormat == AV_PIX_FMT_GBRAP16) || | ||
| 2389 | (srcFormat == AV_PIX_FMT_GBRAP && dstFormat == AV_PIX_FMT_GBRP) || | ||
| 2390 | (srcFormat == AV_PIX_FMT_GBRAP10 && dstFormat == AV_PIX_FMT_GBRP10) || | ||
| 2391 | (srcFormat == AV_PIX_FMT_GBRAP12 && dstFormat == AV_PIX_FMT_GBRP12) || | ||
| 2392 | (srcFormat == AV_PIX_FMT_GBRAP14 && dstFormat == AV_PIX_FMT_GBRP14) || | ||
| 2393 | (srcFormat == AV_PIX_FMT_GBRAP16 && dstFormat == AV_PIX_FMT_GBRP16)) | ||
| 2386 | c->convert_unscaled = planarRgbToplanarRgbWrapper; | 2394 | c->convert_unscaled = planarRgbToplanarRgbWrapper; |
| 2387 | 2395 | ||
| 2388 | #define isByteRGB(f) ( \ | 2396 | #define isByteRGB(f) ( \ |