Desktop Resolution: 2560x1600
Codec: VP8
Device: Nexus 6P
Android: 6.0.1
Build: M53 ToT
Modified code in VideoDecoderVpx::DecodePacket(). Played YouTube and got back stats for decoding and color conversion time:
** Record start time **
vpx_codec_decode()
...
** Record end time as decoding time **
** Reset start time **
webrtc::DesktopRegion* region = frame->mutable_updated_region();
...
** Record end time as conversion time **
Average decoding time: 22.5ms
Average YUV-RGB conversion time: 17.4ms
YUV-RGB conversion takes significant amount of time.
After implementing OpenGL rendering component, we should be able to send YUV data directly to GPU and do conversion inside the fragment shader.
|
Deleted:
decoding.png
9.0 KB
|
|
Deleted:
conversion.png
8.5 KB
|
Comment 1 by yuweih@chromium.org
, Jul 1 2016Status: Assigned (was: Untriaged)