2017-03-28 15:19:15 +00:00
|
|
|
// Copyright 2017 Google Inc. All rights reserved.
|
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
//
|
|
|
|
// Defines common command line flags for encryption and decryption, which
|
2018-08-06 23:12:19 +00:00
|
|
|
// applies to all key sources, i.e. raw key, Widevine and PlayReady.
|
2017-03-28 15:19:15 +00:00
|
|
|
|
|
|
|
#ifndef PACKAGER_APP_CRYPTO_FLAGS_H_
|
|
|
|
#define PACKAGER_APP_CRYPTO_FLAGS_H_
|
|
|
|
|
|
|
|
#include <gflags/gflags.h>
|
|
|
|
|
|
|
|
DECLARE_string(protection_scheme);
|
2020-02-10 08:31:45 +00:00
|
|
|
DECLARE_int32(crypt_byte_block);
|
|
|
|
DECLARE_int32(skip_byte_block);
|
2017-03-28 15:19:15 +00:00
|
|
|
DECLARE_bool(vp9_subsample_encryption);
|
|
|
|
|
|
|
|
#endif // PACKAGER_APP_CRYPTO_FLAGS_H_
|