summaryrefslogtreecommitdiffstats
path: root/content/browser/resources/gpu/info_view.js
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-04 09:27:57 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-04 09:27:57 +0000
commit6998f01f2c0dfb3a304eafeabddf7cadd1d08db9 (patch)
tree70c2a550552db75bbdd11944be6a17501367844d /content/browser/resources/gpu/info_view.js
parentc3998d38cf9c8f3008dc6c6b79a696bda5399115 (diff)
downloadchromium_src-6998f01f2c0dfb3a304eafeabddf7cadd1d08db9.zip
chromium_src-6998f01f2c0dfb3a304eafeabddf7cadd1d08db9.tar.gz
chromium_src-6998f01f2c0dfb3a304eafeabddf7cadd1d08db9.tar.bz2
AndroidVideoEncodeAccelerator is born!
AVEA is the encode-side analogue of AndroidVideoDecodeAccelerator, or the Android analogue of ExynosVideoEncodeAccelerator, depending on your POV. Also included in this CL: - MediaCodecBridge learns how to be an encoder, too. - MediaCodecBridge::Start is sunk into Create since they were always called together. - android.os.Log() is given an exception parameter instead of concatenating its .toString() (and losing its stacktrace!) - MediaCodecBridge exposes its buffers to reduce unnecessary memcpy'ing Performance impact: isolating encode performance by making Android decode only 240p and no audio send/receive with the following URLs: z620/gprecise: https://apprtc.appspot.com/?video=maxHeight=240&audio=false&r=<ROOM> Nexus5: https://apprtc.appspot.com/?video=minHeight=720,maxHeight=720,minWidth=1280,maxWidth=1280&audio=false&r=<ROOM> All 4 cores are max'd are running at top speed (ondemand governor ramps them up on its own with this workload). SW encode: CPU utilization 80% and desktop receives 0.1-0.5FPS (jankily). HW encode: CPU utilization 60-70% and desktop receives 30FPS reliably. Comparing an easier workload of encoding 360p: z620/gprecise: https://apprtc.appspot.com/?video=maxHeight=240&audio=false&r=<ROOM> Nexus5: https://apprtc.appspot.com/?video=minHeight=360,maxHeight=360,minWidth=640,maxWidth=640&audio=false&r=<ROOM> Set all 4 cores to "performance" governor for stable comparison. SW encode: CPU utilization 63% and desktop receives 30FPS reliably. HW encode: CPU utilization 53% and desktop receives 30FPS reliably. BUG=313115 Review URL: https://codereview.chromium.org/74563002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/resources/gpu/info_view.js')
-rw-r--r--content/browser/resources/gpu/info_view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/browser/resources/gpu/info_view.js b/content/browser/resources/gpu/info_view.js
index 13afa4a..e736d8e 100644
--- a/content/browser/resources/gpu/info_view.js
+++ b/content/browser/resources/gpu/info_view.js
@@ -92,6 +92,7 @@ cr.define('gpu', function() {
'flash_stage3d_baseline': 'Flash Stage3D Baseline profile',
'texture_sharing': 'Texture Sharing',
'video_decode': 'Video Decode',
+ 'video_encode': 'Video Encode',
'video': 'Video',
// GPU Switching
'gpu_switching': 'GPU Switching',