media: Add VideoFrameLayout class.

As current VideoFrame cannot represent real buffer layout, I
propose to add a new class, VideoFrameLayout, to store size
of physical buffers codec needs as well as format and
coded_size of a frame. Also, it stores stride (bytesperline)
per buffer to calculate each color plane's size.

BUG=b:110815424
TEST=pass media_unittests --gtest_filter=VideoFrameLayout.*

Change-Id: Idf96adff1a5d28d4b60bfb208bb51e197d3292ae
Reviewed-on: https://chromium-review.googlesource.com/1114568
Commit-Queue: Shuo-Peng Liao <deanliao@google.com>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575569}
4 files changed