Shaka Packager SDK
Loading...
Searching...
No Matches
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 <cstddef>
9
#include <cstdint>
10
#include <memory>
11
12
#include <packager/media/base/decrypt_config.h>
13
14
namespace
shaka
{
15
namespace
media {
16
25
bool
WebMCreateDecryptConfig(
const
uint8_t* data,
26
int
data_size,
27
const
uint8_t* key_id,
28
size_t
key_id_size,
29
std::unique_ptr<DecryptConfig>* decrypt_config,
30
int
* data_offset);
31
32
}
// namespace media
33
}
// namespace shaka
34
35
#endif
// PACKAGER_MEDIA_FORMATS_WEBM_WEBM_CRYPT_HELPERS_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition
cpix_encryption_flags.cc:51
Generated on Mon Jul 27 2026 18:30:00 for Shaka Packager SDK by
1.9.8