Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Side by Side Diff: media/media_options.gni

Issue 2640113004: Introduce Dolby Vision video codec and Demuxer support (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/chromecast_build.gni") 5 import("//build/config/chromecast_build.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//testing/libfuzzer/fuzzer_test.gni") 7 import("//testing/libfuzzer/fuzzer_test.gni")
8 8
9 declare_args() { 9 declare_args() {
10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of 10 # Allows distributions to link pulseaudio directly (DT_NEEDED) instead of
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl 42 (proprietary_codecs && is_chromecast) || use_libfuzzer || use_afl
43 43
44 # Enable support for the 'cbcs' encryption scheme added by MPEG Common 44 # Enable support for the 'cbcs' encryption scheme added by MPEG Common
45 # Encryption 3rd Edition (ISO/IEC 23001-7), published 02/15/2016. 45 # Encryption 3rd Edition (ISO/IEC 23001-7), published 02/15/2016.
46 enable_cbcs_encryption_scheme = is_chromecast 46 enable_cbcs_encryption_scheme = is_chromecast
47 47
48 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the 48 # Enable HEVC/H265 demuxing. Actual decoding must be provided by the
49 # platform. Enable by default for Chromecast. 49 # platform. Enable by default for Chromecast.
50 enable_hevc_demuxing = proprietary_codecs && is_chromecast 50 enable_hevc_demuxing = proprietary_codecs && is_chromecast
51 51
52 # Enable Dolby Vision demuxing. Actual decoding must be provided by the
53 # platform. Enable by default for Chromecast.
54 enable_dolby_vision_demuxing =
55 proprietary_codecs && is_chromecast && !is_android
56
52 enable_webrtc = !is_ios 57 enable_webrtc = !is_ios
53 58
54 # Enable HLS with SAMPLE-AES decryption. 59 # Enable HLS with SAMPLE-AES decryption.
55 # Enabled by default on the cast desktop implementation to allow unit tests of 60 # Enabled by default on the cast desktop implementation to allow unit tests of
56 # MP2TS parsing support. 61 # MP2TS parsing support.
57 enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build 62 enable_hls_sample_aes = proprietary_codecs && is_cast_desktop_build
58 } 63 }
59 64
60 # enable_hls_sample_aes can only be true if enable_mse_mpeg2ts_stream_parser is. 65 # enable_hls_sample_aes can only be true if enable_mse_mpeg2ts_stream_parser is.
61 assert(enable_mse_mpeg2ts_stream_parser || !enable_hls_sample_aes) 66 assert(enable_mse_mpeg2ts_stream_parser || !enable_hls_sample_aes)
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 } 142 }
138 } 143 }
139 } 144 }
140 145
141 declare_args() { 146 declare_args() {
142 # This switch defines whether the Media Remoting implementation will be built. 147 # This switch defines whether the Media Remoting implementation will be built.
143 # When enabled, media is allowed to be renderer and played back on remote 148 # When enabled, media is allowed to be renderer and played back on remote
144 # devices when the tab is being casted and other conditions are met. 149 # devices when the tab is being casted and other conditions are met.
145 enable_media_remoting = !is_chromecast && !is_ios && !is_android 150 enable_media_remoting = !is_chromecast && !is_ios && !is_android
146 } 151 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698