digiKam
NAL_unit Class Reference

Public Member Functions

LIBDE265_CHECK_RESULT bool append (const unsigned char *data, int n)
 
void clear ()
 
unsigned char * data ()
 
const unsigned char * data () const
 
void insert_skipped_byte (int pos)
 
 NAL_unit ()
 
int num_skipped_bytes () const
 
int num_skipped_bytes_before (int byte_position, int headerLength) const
 
void remove_stuffing_bytes ()
 
LIBDE265_CHECK_RESULT bool resize (int new_size)
 
LIBDE265_CHECK_RESULT bool set_data (const unsigned char *data, int n)
 
void set_size (int s)
 
int size () const
 
 ~NAL_unit ()
 

Public Attributes

nal_header header
 
de265_PTS pts
 
void * user_data
 

Constructor & Destructor Documentation

◆ NAL_unit()

NAL_unit::NAL_unit ( )

◆ ~NAL_unit()

NAL_unit::~NAL_unit ( )

Member Function Documentation

◆ append()

LIBDE265_CHECK_RESULT bool NAL_unit::append ( const unsigned char *  data,
int  n 
)

◆ clear()

void NAL_unit::clear ( )

◆ data() [1/2]

unsigned char* NAL_unit::data ( )
inline

◆ data() [2/2]

const unsigned char* NAL_unit::data ( ) const
inline

◆ insert_skipped_byte()

void NAL_unit::insert_skipped_byte ( int  pos)

◆ num_skipped_bytes()

int NAL_unit::num_skipped_bytes ( ) const
inline

◆ num_skipped_bytes_before()

int NAL_unit::num_skipped_bytes_before ( int  byte_position,
int  headerLength 
) const

◆ remove_stuffing_bytes()

void NAL_unit::remove_stuffing_bytes ( )

◆ resize()

LIBDE265_CHECK_RESULT bool NAL_unit::resize ( int  new_size)

◆ set_data()

LIBDE265_CHECK_RESULT bool NAL_unit::set_data ( const unsigned char *  data,
int  n 
)

◆ set_size()

void NAL_unit::set_size ( int  s)
inline

◆ size()

int NAL_unit::size ( ) const
inline

Member Data Documentation

◆ header

nal_header NAL_unit::header

◆ pts

de265_PTS NAL_unit::pts

◆ user_data

void* NAL_unit::user_data

The documentation for this class was generated from the following file: