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
Showing
This diff is collapsed.
Please register or sign in to comment