
Encapsulate logic for reading .y4m video files in a single class. We currently have spread out logic for opening .y4m files with partial parsing. This CL consolidates this logic into a single class with a well defined interface. Change-Id: Id61673b3c95a0053b30e95b4cf382e1c6b05fc30 Bug: webrtc:9642 Reviewed-on: https://webrtc-review.googlesource.com/94772 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Reviewed-by: Paulina Hensman <phensman@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24398}