|
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 27 of file nalu_reader.h.
| enum shaka::media::Nalu::CodecType |
Definition at line 85 of file nalu_reader.h.
| enum shaka::media::Nalu::H264NaluType |
Definition at line 29 of file nalu_reader.h.
| enum shaka::media::Nalu::H265NaluType |
Definition at line 48 of file nalu_reader.h.
|
inline |
Definition at line 118 of file nalu_reader.h.
|
inline |
This is the pointer to the Nalu data, pointing to the header.
Definition at line 97 of file nalu_reader.h.
|
inline |
The size of the header, e.g. 1 for H.264.
Definition at line 100 of file nalu_reader.h.
| bool shaka::media::Nalu::Initialize | ( | CodecType | type, |
| const uint8_t * | data, | ||
| uint64_t | size | ||
| ) |
Definition at line 79 of file nalu_reader.cc.
|
inline |
Definition at line 114 of file nalu_reader.h.
|
inline |
Definition at line 115 of file nalu_reader.h.
|
inline |
Slice data partition NALs are not considered as slice NALs.
Definition at line 117 of file nalu_reader.h.
|
inline |
Definition at line 108 of file nalu_reader.h.
|
inline |
Definition at line 109 of file nalu_reader.h.
|
inline |
Size of this Nalu minus header_size().
Definition at line 102 of file nalu_reader.h.
|
inline |
Definition at line 105 of file nalu_reader.h.
|
inline |
H264NaluType and H265NaluType enums may be used to compare against the return value.
Definition at line 113 of file nalu_reader.h.