diff options
author | henryhsu <henryhsu@chromium.org> | 2015-01-09 03:25:45 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-09 11:26:26 +0000 |
commit | 712f1acaf22f225a5eaef28b3dff9aecb7bc5cc8 (patch) | |
tree | 44c6fd03017fc4e6e43379e332e86293f51ec6c6 /content/content_common.gypi | |
parent | d4eff31d57ec1be91736ba32f56dda2c8edfb195 (diff) | |
download | chromium_src-712f1acaf22f225a5eaef28b3dff9aecb7bc5cc8.zip chromium_src-712f1acaf22f225a5eaef28b3dff9aecb7bc5cc8.tar.gz chromium_src-712f1acaf22f225a5eaef28b3dff9aecb7bc5cc8.tar.bz2 |
Support multiple video decoders and encoders
Some platforms have multiple video decoders and encoders.
For decode and encoder, return the first succeed initialized VDA and VEA
from all possible platforms. GetSupportedProfile return all possible
profiles from all encoders.
This cl is submitted again because crrev.com/826663002 was reverted in
crrev.com/832383004.
BUG=445016
TEST=Tested on squawks. For decoder, make sure V4L2 initialization
failed and VAAPI successed. For encoder, test on extension.
TBR=piman@chromium.org,posciak@chromium.org
Review URL: https://codereview.chromium.org/842123002
Cr-Commit-Position: refs/heads/master@{#310754}
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r-- | content/content_common.gypi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi index 87f3015..408bcf0 100644 --- a/content/content_common.gypi +++ b/content/content_common.gypi @@ -805,7 +805,12 @@ }, ], }], - ['chromeos==1 and ((target_arch=="arm" and use_x11==1) or use_v4l2_codec==1)', { + ['chromeos==1 and use_v4l2_codec==1', { + 'defines': [ + 'USE_V4L2_CODEC', + ], + }], + ['chromeos==1 and (target_arch=="arm" or (use_ozone==1 and use_v4l2_codec==1))', { 'dependencies': [ '../media/media.gyp:media', ], |