Shaka Packager SDK
crypto_flags.h
1 // Copyright 2017 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 //
7 // Defines common command line flags for encryption and decryption, which
8 // applies to all key sources, i.e. raw key, Widevine and PlayReady.
9 
10 #ifndef PACKAGER_APP_CRYPTO_FLAGS_H_
11 #define PACKAGER_APP_CRYPTO_FLAGS_H_
12 
13 #include <gflags/gflags.h>
14 
15 DECLARE_string(protection_scheme);
16 DECLARE_int32(crypt_byte_block);
17 DECLARE_int32(skip_byte_block);
18 DECLARE_bool(vp9_subsample_encryption);
19 DECLARE_string(playready_extra_header_data);
20 
21 #endif // PACKAGER_APP_CRYPTO_FLAGS_H_