commit | 5a5ed1d05c825dd23c95fb0514a7342ebd91c70e | [log] [tgz] |
---|---|---|
author | Dean Liao <deanliao@chromium.org> | Tue Jul 17 07:24:17 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jul 17 07:24:17 2018 |
tree | 1d9d4fa2a74c8eb2577da25f7eb5dc305e33fd88 | |
parent | f1d37f3e8f2b18da7eea60324e84e00adb649e81 [diff] |
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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .