pub type X264NalT = x264_nal_t;Expand description
The data within the payload is already NAL-encapsulated; the ref_idc and type are merely in the struct for easy access by the calling application.
All data returned in an x264_nal_t, including the data in p_payload, is no longer valid after the next call to x264_encoder_encode. Thus it must be used or copied before calling x264_encoder_encode or x264_encoder_headers again.
Aliased Type§
struct X264NalT {
pub i_ref_idc: i32,
pub i_type: i32,
pub b_long_startcode: i32,
pub i_first_mb: i32,
pub i_last_mb: i32,
pub i_payload: i32,
pub p_payload: *mut u8,
pub i_padding: i32,
}Fields§
§i_ref_idc: i32§i_type: i32§b_long_startcode: i32§i_first_mb: i32§i_last_mb: i32§i_payload: i32§p_payload: *mut u8§i_padding: i32