Class that carries PES packet information.
More...
#include <pes_packet.h>
Class that carries PES packet information.
Definition at line 20 of file pes_packet.h.
◆ PesPacket()
| shaka::media::mp2t::PesPacket::PesPacket |
( |
| ) |
|
◆ ~PesPacket()
| shaka::media::mp2t::PesPacket::~PesPacket |
( |
| ) |
|
◆ data()
| const std::vector< uint8_t > & shaka::media::mp2t::PesPacket::data |
( |
| ) |
const |
|
inline |
◆ dts()
| int64_t shaka::media::mp2t::PesPacket::dts |
( |
| ) |
const |
|
inline |
◆ has_dts()
| bool shaka::media::mp2t::PesPacket::has_dts |
( |
| ) |
const |
|
inline |
- Returns
- true if dts has been set.
Definition at line 31 of file pes_packet.h.
◆ has_pts()
| bool shaka::media::mp2t::PesPacket::has_pts |
( |
| ) |
const |
|
inline |
- Returns
- true if pts has been set.
Definition at line 33 of file pes_packet.h.
◆ is_key_frame()
| bool shaka::media::mp2t::PesPacket::is_key_frame |
( |
| ) |
const |
|
inline |
- Returns
- whether it is a key frame.
Definition at line 50 of file pes_packet.h.
◆ mutable_data()
| std::vector< uint8_t > * shaka::media::mp2t::PesPacket::mutable_data |
( |
| ) |
|
|
inline |
- Returns
- mutable data for this PES.
Definition at line 56 of file pes_packet.h.
◆ pts()
| int64_t shaka::media::mp2t::PesPacket::pts |
( |
| ) |
const |
|
inline |
◆ set_dts()
| void shaka::media::mp2t::PesPacket::set_dts |
( |
int64_t |
dts | ) |
|
|
inline |
- Parameters
-
| dts | is the dts for this PES packet. |
Definition at line 38 of file pes_packet.h.
◆ set_is_key_frame()
| void shaka::media::mp2t::PesPacket::set_is_key_frame |
( |
bool |
is_key_frame | ) |
|
|
inline |
- Parameters
-
| is_key_frame | indicates whether it is a key frame. |
Definition at line 52 of file pes_packet.h.
◆ set_pts()
| void shaka::media::mp2t::PesPacket::set_pts |
( |
int64_t |
pts | ) |
|
|
inline |
- Parameters
-
| pts | is the pts for this PES packet. |
Definition at line 45 of file pes_packet.h.
◆ set_stream_id()
| void shaka::media::mp2t::PesPacket::set_stream_id |
( |
uint8_t |
stream_id | ) |
|
|
inline |
- Parameters
-
| stream_id | is used to set the stream ID. |
Definition at line 28 of file pes_packet.h.
◆ stream_id()
| uint8_t shaka::media::mp2t::PesPacket::stream_id |
( |
| ) |
const |
|
inline |
- Returns
- the stream ID of the data that's carried by the PES packete.
Definition at line 26 of file pes_packet.h.
The documentation for this class was generated from the following files: