Unified · Split
| @@ -601,6 +601,7 @@ static void yvy2ToUV_c(uint8_t *dstU, uint8_t *dstV, const uint8_t *unused0, con · 600 unmodified lines | ||
| 601 | 601 | |
| 602 | 602 | y21xle_wrapper(10, 6) |
| 603 | 603 | y21xle_wrapper(12, 4) |
| 604 | +y21xle_wrapper(16, 0) | |
| 604 | 605 | |
| 605 | 606 | static void bswap16Y_c(uint8_t *_dst, const uint8_t *_src, const uint8_t *unused1, const uint8_t *unused2, int width, |
| 606 | 607 | uint32_t *unused, void *opq) |
| @@ -1757,6 +1758,9 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c, · 1150 unmodified lines | ||
| 1757 | 1758 | case AV_PIX_FMT_Y212LE: |
| 1758 | 1759 | *chrToYV12 = y212le_UV_c; |
| 1759 | 1760 | break; |
| 1761 | + case AV_PIX_FMT_Y216LE: | |
| 1762 | + *chrToYV12 = y216le_UV_c; | |
| 1763 | + break; | |
| 1760 | 1764 | case AV_PIX_FMT_RGBF32LE: |
| 1761 | 1765 | *chrToYV12 = rgbf32le_to_uv_c; |
| 1762 | 1766 | break; |
| @@ -2287,6 +2291,9 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c, · 524 unmodified lines | ||
| 2287 | 2291 | case AV_PIX_FMT_Y212LE: |
| 2288 | 2292 | *lumToYV12 = y212le_Y_c; |
| 2289 | 2293 | break; |
| 2294 | + case AV_PIX_FMT_Y216LE: | |
| 2295 | + *lumToYV12 = y216le_Y_c; | |
| 2296 | + break; | |
| 2290 | 2297 | case AV_PIX_FMT_X2RGB10LE: |
| 2291 | 2298 | *lumToYV12 = rgb30leToY_c; |
| 2292 | 2299 | break; |
| @@ -248,6 +248,7 @@ static const FormatEntry format_entries[] = { · 247 unmodified lines | ||
| 248 | 248 | [AV_PIX_FMT_NV42] = { 1, 1 }, |
| 249 | 249 | [AV_PIX_FMT_Y210LE] = { 1, 1 }, |
| 250 | 250 | [AV_PIX_FMT_Y212LE] = { 1, 1 }, |
| 251 | + [AV_PIX_FMT_Y216LE] = { 1, 0 }, | |
| 251 | 252 | [AV_PIX_FMT_X2RGB10LE] = { 1, 1 }, |
| 252 | 253 | [AV_PIX_FMT_X2BGR10LE] = { 1, 1 }, |
| 253 | 254 | [AV_PIX_FMT_P210BE] = { 1, 1 }, |