Pleora Technologies Inc. eBUS SDK v6.2.4.5552 API



IPvH264AccessUnit Class Referenceabstract

Generic, read-only H264 access unit interface. More...

Public Member Functions

virtual uint32_t GetSize () const =0
 Returns the total buffer size, including chunk and/or unused space. More...
 
virtual uint32_t GetNALDataSize () const =0
 Returns the total raw NAL data size. More...
 
virtual const uint8_t * GetNALDataPtr () const =0
 Returns a pointer to the raw NAL data buffer. More...
 
virtual uint32_t GetNALCount () const =0
 Returns how many NALs are currently stored in the access unit. More...
 
virtual PvResult GetNALPtr (uint32_t aIndex, const uint8_t **aPtr, uint32_t &aLength) const =0
 Returns a pointer to a NAL stored in this access unit. More...
 
virtual uint32_t GetWidth () const =0
 Width of the image represented by this access unit. More...
 
virtual uint32_t GetHeight () const =0
 Width of the image represented by this access unit. More...
 

Detailed Description

Generic, read-only H264 access unit interface.

Member Function Documentation

uint32_t IPvH264AccessUnit::GetHeight ( ) const
pure virtual

Width of the image represented by this access unit.

Returns
Width or zero if not set.
uint32_t IPvH264AccessUnit::GetNALCount ( ) const
pure virtual

Returns how many NALs are currently stored in the access unit.

Returns
NAL count.
uint8_t * IPvH264AccessUnit::GetNALDataPtr ( ) const
pure virtual

Returns a pointer to the raw NAL data buffer.

All NALs of the access unit are stored contiguously. Use GetNALCount, GetNALPtr to access individual NALs.

Returns
Pointer to the first NAL.
uint32_t IPvH264AccessUnit::GetNALDataSize ( ) const
pure virtual

Returns the total raw NAL data size.

All NALs of the access unit are stored contiguously. Use GetNALCount, GetNALPtr to access individual NALs.

Returns
NAL data size in bytes.
PvResult IPvH264AccessUnit::GetNALPtr ( uint32_t  aIndex,
const uint8_t **  aPtr,
uint32_t &  aLength 
) const
pure virtual

Returns a pointer to a NAL stored in this access unit.

Parameters
[in]aIndexZero-based index of the NAL.
[out]aPtrPointer to the NAL.
[out]aLengthNAL length in bytes.
Returns
Includes:
uint32_t IPvH264AccessUnit::GetSize ( ) const
pure virtual

Returns the total buffer size, including chunk and/or unused space.

Returns
Buffer size in bytes.
uint32_t IPvH264AccessUnit::GetWidth ( ) const
pure virtual

Width of the image represented by this access unit.

Returns
Width or zero if not set.

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

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com