Introduce swscale interface in libavcodec