Commit ccf89e19 authored by owenlin@chromium.org's avatar owenlin@chromium.org

Add switches: "target_fps" and "disable_rendering" to video_decode_accelerator_unittest.

    
    1. Add the switch "target_fps" to control the playing speed.
       This is used to measure the frame drop rate and CPU usage.
    
    2. Also add a switch "disable_rendering" to disable rendering.
       This is used to measure just the decoding part.
    
    On parrot, using test video: "test-25fps.h264" with target FPS: 60, the CPU
    rate is about 12% and no dropped was frames.
    
    With target FPS as 300, the CPU rate goes to 47.34% and 4/250 frames are
    dropped.
    
    BUG=250718
    TEST=run the unittest on link and parrot

Review URL: https://chromiumcodereview.appspot.com/19151002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215874 0039d316-1c4b-4281-b951-d872f2087c98
parent 16674118
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment