|
Shaka Packager SDK
|
#include <nalu_reader.h>
Public Member Functions | |
| bool | Initialize (CodecType type, const uint8_t *data, uint64_t size) |
| const uint8_t * | data () const |
| This is the pointer to the Nalu data, pointing to the header. | |
| uint64_t | header_size () const |
| The size of the header, e.g. 1 for H.264. | |
| uint64_t | payload_size () const |
| Size of this Nalu minus header_size(). | |
| int | ref_idc () const |
| int | nuh_layer_id () const |
| int | nuh_temporal_id () const |
| int | type () const |
| bool | is_aud () const |
| bool | is_vcl () const |
| bool | is_video_slice () const |
| Slice data partition NALs are not considered as slice NALs. | |
| bool | can_start_access_unit () const |
For explanations of each struct and its members, see H.264 specification at http://www.itu.int/rec/T-REC-H.264.
Definition at line 26 of file nalu_reader.h.
| enum shaka::media::Nalu::CodecType |
Definition at line 84 of file nalu_reader.h.
| enum shaka::media::Nalu::H264NaluType |
Definition at line 28 of file nalu_reader.h.
| enum shaka::media::Nalu::H265NaluType |
Definition at line 47 of file nalu_reader.h.
|
inline |
Definition at line 117 of file nalu_reader.h.
|
inline |
This is the pointer to the Nalu data, pointing to the header.
Definition at line 96 of file nalu_reader.h.
|
inline |
The size of the header, e.g. 1 for H.264.
Definition at line 99 of file nalu_reader.h.
| bool shaka::media::Nalu::Initialize | ( | CodecType | type, |
| const uint8_t * | data, | ||
| uint64_t | size | ||
| ) |
Definition at line 78 of file nalu_reader.cc.
|
inline |
Definition at line 113 of file nalu_reader.h.
|
inline |
Definition at line 114 of file nalu_reader.h.
|
inline |
Slice data partition NALs are not considered as slice NALs.
Definition at line 116 of file nalu_reader.h.
|
inline |
Definition at line 107 of file nalu_reader.h.
|
inline |
Definition at line 108 of file nalu_reader.h.
|
inline |
Size of this Nalu minus header_size().
Definition at line 101 of file nalu_reader.h.
|
inline |
Definition at line 104 of file nalu_reader.h.
|
inline |
H264NaluType and H265NaluType enums may be used to compare against the return value.
Definition at line 112 of file nalu_reader.h.