Data type NALFrame
access this type via: media.video.H264Parser (uses)
This data type describes a NAL frame of a H.264 video file. H.264 files are composed of a sequence of NAL frames.
Constants
byte T_UNKNOWN A possible value for 'type', meaning that this frame type is not known to this parser.
byte T_HEADER_SPS A possible value for 'type', meaning that this frame is an SPS header.
byte T_HEADER_PPS A possible value for 'type', meaning that this frame is a PPS header.
byte T_HEADER_SEI A possible value for 'type', meaning that this frame is an SEI header.
byte T_FRAME_I A possible value for 'type', meaning that this frame is an I-frame.
byte T_FRAME_P A possible value for 'type', meaning that this frame is a P-frame.
byte T_FRAME_B A possible value for 'type', meaning that this frame is a B-frame.
Fields
byte type The type of this NAL from, from one of the T_ constants.
int startOffset The number of bytes into the data content that this frame starts at.
int endOffset The number of bytes into the data content that this frame ends at.