Merge "Moving y4m encoding functions into separate files."