commit | cc1422cd6335314961eb3685c5df20a448a8f644 | [log] [tgz] |
---|---|---|
author | nisse <nisse@webrtc.org> | Fri Sep 30 11:14:07 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 30 11:14:11 2016 |
tree | 87af52c9ff4347f627bfb1c5f99d16bf8bc60dd1 | |
parent | e96ad38445e5da1334b5d2f974a000e47662ec08 [diff] |
New helper function test::ReadI420Buffer, refactor FrameReader to use it. This change reduces the number of places where we first fread a I420 frame into a uint8_t buffer, followed by a copy into a frame buffer object. BUG=None Review-Url: https://codereview.webrtc.org/2362683002 Cr-Original-Commit-Position: refs/heads/master@{#14456} Cr-Mirrored-From: https://chromium.googlesource.com/external/webrtc Cr-Mirrored-Commit: 115bd153c7f5a64eabbac222bad66e223abbfe2b