Shaka Packager SDK
packager
media
formats
webm
webm_crypto_helpers.h
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
3
// found in the LICENSE file.
4
5
#ifndef PACKAGER_MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_
6
#define PACKAGER_MEDIA_FORMATS_WEBM_WEBM_CRYPTO_HELPERS_H_
7
8
#include <cstdint>
9
#include <memory>
10
11
#include <packager/media/base/decrypt_config.h>
12
13
namespace
shaka
{
14
namespace
media {
15
24
bool
WebMCreateDecryptConfig(
const
uint8_t* data,
25
int
data_size,
26
const
uint8_t* key_id,
27
size_t
key_id_size,
28
std::unique_ptr<DecryptConfig>* decrypt_config,
29
int
* data_offset);
30
31
}
// namespace media
32
}
// namespace shaka
33
34
#endif
// PACKAGER_MEDIA_FORMATS_WEBM_WEBM_CRYPT_HELPERS_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition:
crypto_flags.cc:66
Generated on Mon Nov 11 2024 19:07:11 for Shaka Packager SDK by
1.9.1