• liberato's avatar
    Don't use AVDA for <360p VPx content. · cbf3eb05
    liberato authored
    Power measurements on a nexus 5 show that there's very little
    difference below 360p between hardware and libvpx decoding.  This CL
    switches to libvpx decoding for <360p, even if it could be hardware
    accelerated by AVDA.
    
    This saves a hardware codec instance, and avoids potential stability
    issues with lots of MediaCodecs in use at once.
    
    BUG=647259, 642948
    TEST=manually checked 240p and 360p.
    
    Review-Url: https://codereview.chromium.org/2334223009
    Cr-Commit-Position: refs/heads/master@{#418964}
    cbf3eb05
android_video_decode_accelerator.cc 60.8 KB