swscale: Split C input functions into separate file.