Benchmarking HD quality resampling of YUV images for live h264 encoding