Shaka Player Embedded
Main Page
Exported Types
+
Tutorials
Basic Tutorial
Network Filters
Internal Docs
+
Internal Class List
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Typedefs
a
b
d
e
f
h
i
l
m
r
s
t
v
Enumerations
+
Enumerator
a
b
c
d
e
k
n
p
t
v
+
Properties
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
+
Related Functions
:
a
c
d
g
j
m
o
p
r
s
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
shaka
src
media
stream_info.cc
Go to the documentation of this file.
1
// Copyright 2019 Google LLC
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// https://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#include "
shaka/media/stream_info.h
"
16
17
#include <unordered_map>
18
19
namespace
shaka
{
20
namespace
media {
21
22
class
StreamInfo::Impl
{};
23
24
StreamInfo::StreamInfo
(
const
std::string& mime,
const
std::string&
codec
,
25
bool
is_video
,
Rational<uint32_t>
time_scale
,
26
Rational<uint32_t>
sample_aspect_ratio
,
27
const
std::vector<uint8_t>&
extra_data
, uint32_t
width
,
28
uint32_t
height
, uint32_t
channel_count
,
29
uint32_t
sample_rate
)
30
:
mime_type
(mime),
31
codec(codec),
32
time_scale(time_scale),
33
sample_aspect_ratio(sample_aspect_ratio),
34
extra_data(extra_data),
35
is_video(is_video),
36
width(width),
37
height(height),
38
channel_count(channel_count),
39
sample_rate(sample_rate) {}
40
StreamInfo::~StreamInfo
() {}
41
42
}
// namespace media
43
}
// namespace shaka
shaka::media::StreamInfo::height
const uint32_t height
Definition:
stream_info.h:82
shaka::Rational< uint32_t >
shaka::media::StreamInfo::sample_rate
const uint32_t sample_rate
Definition:
stream_info.h:91
shaka::media::StreamInfo::is_video
const bool is_video
Definition:
stream_info.h:76
shaka::media::StreamInfo::StreamInfo
StreamInfo(const std::string &mime, const std::string &codec, bool is_video, Rational< uint32_t > time_scale, Rational< uint32_t > sample_aspect_ratio, const std::vector< uint8_t > &extra_data, uint32_t width, uint32_t height, uint32_t channel_count, uint32_t sample_rate)
Definition:
stream_info.cc:24
shaka::media::StreamInfo::Impl
Definition:
stream_info.cc:22
shaka::media::StreamInfo::extra_data
const std::vector< uint8_t > extra_data
Definition:
stream_info.h:73
shaka
Definition:
async_results.h:25
shaka::media::StreamInfo::mime_type
const std::string mime_type
Definition:
stream_info.h:49
shaka::media::StreamInfo::sample_aspect_ratio
const Rational< uint32_t > sample_aspect_ratio
Definition:
stream_info.h:70
shaka::media::StreamInfo::~StreamInfo
virtual ~StreamInfo()
Definition:
stream_info.cc:40
stream_info.h
shaka::media::StreamInfo::codec
const std::string codec
Definition:
stream_info.h:57
shaka::media::StreamInfo::channel_count
const uint32_t channel_count
Definition:
stream_info.h:85
shaka::media::StreamInfo::time_scale
const Rational< uint32_t > time_scale
Definition:
stream_info.h:64
shaka::media::StreamInfo::width
const uint32_t width
Definition:
stream_info.h:79
Generated by
1.8.13