#include <M4Bitstream.h>
◆ M4Bitstream()
| vdecmpeg4::M4Bitstream::M4Bitstream |
( |
| ) |
|
|
inline |
Construction of bitstream object.
Ctor
◆ ~M4Bitstream()
| vdecmpeg4::M4Bitstream::~M4Bitstream |
( |
| ) |
|
|
inline |
◆ align()
| void vdecmpeg4::M4Bitstream::align |
( |
| ) |
|
|
inline |
Align bitstream to next byte boundary.
Align bitstream pointer to next byte in stream
◆ getBaseAddr()
| const uint32 * vdecmpeg4::M4Bitstream::getBaseAddr |
( |
| ) |
const |
|
inline |
Return memory base addres of stream.
Return pointer to stream data in memory
◆ getBit()
| uint32 vdecmpeg4::M4Bitstream::getBit |
( |
| ) |
|
|
inline |
Return 1 bit from stream.
Return NEXT bit from stream
◆ getBits()
Return indicated # of bits from stream.
Return indicated # of bits from stream and move foreward in stream
- Parameters
-
| bits | Number of bits to get |
- Returns
- requested 'bitword'
◆ init() [1/2]
| void vdecmpeg4::M4Bitstream::init |
( |
const uint8 * |
bitstream, |
|
|
uint32 |
length |
|
) |
| |
|
inline |
Link bitstream to provided byte sequence.
Link bitstream to indicated byte sequence
- Parameters
-
| bitstream | ptr to input bytes |
| length | number of bytes in input stream |
◆ init() [2/2]
Link bitstream to stream interface.
Handle stream via stream iterator
- Parameters
-
| pStream | stream to use |
| streamBufferBytes | size of intermediate buffer |
◆ isEof()
| bool vdecmpeg4::M4Bitstream::isEof |
( |
| ) |
|
|
inline |
Check eof.
Check end of file operation
- Returns
- none
◆ nextResyncMarker()
| void vdecmpeg4::M4Bitstream::nextResyncMarker |
( |
| ) |
|
|
inline |
◆ nextStartCode()
| void vdecmpeg4::M4Bitstream::nextStartCode |
( |
| ) |
|
|
inline |
◆ setMemoryHook()
Set memory allocator.
Set memory hook for bitstream
- Parameters
-
- Returns
- none
◆ show()
Show indicated bit from stream without moving file position.
Read # bits from stream, but DON'T move stream pointer
- Parameters
-
| bits | number of bits to read |
- Returns
- Bits to use 'together'
◆ showBitsByteAligned()
| uint32 vdecmpeg4::M4Bitstream::showBitsByteAligned |
( |
const uint32 |
bits | ) |
|
|
inline |
◆ skip()
| void vdecmpeg4::M4Bitstream::skip |
( |
const uint32 |
bits | ) |
|
|
inline |
Skip indicated bits in stream.
Skip indicated number of bits in stream
- Parameters
-
| bits | number of bits to skip |
◆ skipResyncMarker()
| void vdecmpeg4::M4Bitstream::skipResyncMarker |
( |
| ) |
|
|
inline |
◆ totalBitsClear()
| void vdecmpeg4::M4Bitstream::totalBitsClear |
( |
| ) |
|
|
inline |
Clear the byte counter.
Clear byte counter for statistics
- Returns
- none
◆ totalBitsGet()
| uint32 vdecmpeg4::M4Bitstream::totalBitsGet |
( |
| ) |
const |
|
inline |
Read the byte counter.
Return bits read
- Returns
- bit count since last totalBitsClear
◆ validStuffingBits()
| bool vdecmpeg4::M4Bitstream::validStuffingBits |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- Engine/Source/Runtime/AVEncoder/Private/Decoders/vdecmpeg4/M4Bitstream.h