2016-10-03 13:06 GMT+03:00 Carl Eugen Hoyos <ceffm...@gmail.com>: > 2016-10-03 11:35 GMT+02:00 Ali KIZIL <aliki...@gmail.com>: > > > + /* yuv422p10_to_yuv420p */ > > + if ((srcFormat == AV_PIX_FMT_YUV422P10 || srcFormat == > AV_PIX_FMT_YUVA422P10) && > > + (dstFormat == AV_PIX_FMT_YUV420P) || srcFormat == > AV_PIX_FMT_YUVA420P) > > + c->swscale = yuv422p10ToYuv420pWrapper; > > I believe there is something wrong. > > The actual wrapper function is missing alpha handling. > > Carl Eugen > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel >
Hello Carl, Yes, Alpha channel is not managed. So it should be; > + /* yuv422p10_to_yuv420p */ > + if ((srcFormat == AV_PIX_FMT_YUV422P10) && > + (dstFormat == AV_PIX_FMT_YUV420P)) > + c->swscale = yuv422p10ToYuv420pWrapper; I will get it corrected after collecting all comments. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel