Generic, read-only H264 access unit interface.
More...
|
| 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...
|
| |
Generic, read-only H264 access unit interface.
| 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] | aIndex | Zero-based index of the NAL. |
| [out] | aPtr | Pointer to the NAL. |
| [out] | aLength | NAL 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: