@ -724,6 +724,15 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
case AV_PIX_FMT_YUV420P16LE :
case AV_PIX_FMT_YUV420P16LE :
case AV_PIX_FMT_YUV422P16LE :
case AV_PIX_FMT_YUV422P16LE :
case AV_PIX_FMT_YUV444P16LE :
case AV_PIX_FMT_YUV444P16LE :
case AV_PIX_FMT_YUVA444P9LE :
case AV_PIX_FMT_YUVA422P9LE :
case AV_PIX_FMT_YUVA420P9LE :
case AV_PIX_FMT_YUVA422P10LE :
case AV_PIX_FMT_YUVA444P10LE :
case AV_PIX_FMT_YUVA420P10LE :
case AV_PIX_FMT_YUVA420P16LE :
case AV_PIX_FMT_YUVA422P16LE :
case AV_PIX_FMT_YUVA444P16LE :
c - > chrToYV12 = bswap16UV_c ;
c - > chrToYV12 = bswap16UV_c ;
break ;
break ;
# else
# else
@ -736,6 +745,15 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
case AV_PIX_FMT_YUV420P16BE :
case AV_PIX_FMT_YUV420P16BE :
case AV_PIX_FMT_YUV422P16BE :
case AV_PIX_FMT_YUV422P16BE :
case AV_PIX_FMT_YUV444P16BE :
case AV_PIX_FMT_YUV444P16BE :
case AV_PIX_FMT_YUVA444P9BE :
case AV_PIX_FMT_YUVA422P9BE :
case AV_PIX_FMT_YUVA420P9BE :
case AV_PIX_FMT_YUVA422P10BE :
case AV_PIX_FMT_YUVA444P10BE :
case AV_PIX_FMT_YUVA420P10BE :
case AV_PIX_FMT_YUVA420P16BE :
case AV_PIX_FMT_YUVA422P16BE :
case AV_PIX_FMT_YUVA444P16BE :
c - > chrToYV12 = bswap16UV_c ;
c - > chrToYV12 = bswap16UV_c ;
break ;
break ;
# endif
# endif
@ -917,6 +935,18 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
case AV_PIX_FMT_GRAY16LE :
case AV_PIX_FMT_GRAY16LE :
c - > lumToYV12 = bswap16Y_c ;
c - > lumToYV12 = bswap16Y_c ;
break ;
break ;
case AV_PIX_FMT_YUVA444P9LE :
case AV_PIX_FMT_YUVA422P9LE :
case AV_PIX_FMT_YUVA420P9LE :
case AV_PIX_FMT_YUVA444P10LE :
case AV_PIX_FMT_YUVA422P10LE :
case AV_PIX_FMT_YUVA420P10LE :
case AV_PIX_FMT_YUVA420P16LE :
case AV_PIX_FMT_YUVA422P16LE :
case AV_PIX_FMT_YUVA444P16LE :
c - > lumToYV12 = bswap16Y_c ;
c - > alpToYV12 = bswap16Y_c ;
break ;
# else
# else
case AV_PIX_FMT_YUV444P9BE :
case AV_PIX_FMT_YUV444P9BE :
case AV_PIX_FMT_YUV422P9BE :
case AV_PIX_FMT_YUV422P9BE :
@ -930,6 +960,18 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
case AV_PIX_FMT_GRAY16BE :
case AV_PIX_FMT_GRAY16BE :
c - > lumToYV12 = bswap16Y_c ;
c - > lumToYV12 = bswap16Y_c ;
break ;
break ;
case AV_PIX_FMT_YUVA444P9BE :
case AV_PIX_FMT_YUVA422P9BE :
case AV_PIX_FMT_YUVA420P9BE :
case AV_PIX_FMT_YUVA444P10BE :
case AV_PIX_FMT_YUVA422P10BE :
case AV_PIX_FMT_YUVA420P10BE :
case AV_PIX_FMT_YUVA420P16BE :
case AV_PIX_FMT_YUVA422P16BE :
case AV_PIX_FMT_YUVA444P16BE :
c - > lumToYV12 = bswap16Y_c ;
c - > alpToYV12 = bswap16Y_c ;
break ;
# endif
# endif
case AV_PIX_FMT_YUYV422 :
case AV_PIX_FMT_YUYV422 :
case AV_PIX_FMT_Y400A :
case AV_PIX_FMT_Y400A :