Provides static helper functions that relate to RBSP formatting.
More...
#include <gravc.h>
|
static void | addByteStuffing (std::string &s) |
| Adds byte-stuffing to the given unstuffed RBSP buffer.
|
|
static std::string | byteStuffed (const std::string &s) |
| Returns a byte-stuffed version of the given unstuffed RBSP buffer.
|
|
static std::string | removeByteStuffing (const std::string &s) |
| Removes byte stuffing from a byte-stuffed RBSP buffer.
|
|
static bool | hasMarkers (const std::string &s) |
| Returns true if the string contains one of the inter-RBSP markers (000, 001, 002). More...
|
|
static size_t | findStopBit (const std::string &s, size_t fail=0U) |
| Returns the bit offset of the RBSP stop bit. More...
|
|
static const std::string & | _000 () |
| Returns the 00-00-00 string.
|
|
static const std::string & | _001 () |
| Returns the 00-00-01 string.
|
|
static const std::string & | _002 () |
| Returns the 00-00-02 string.
|
|
static const std::string & | _0001 () |
| Returns the 00-00-00-01 string.
|
|
Provides static helper functions that relate to RBSP formatting.
Definition at line 308 of file gravc.h.
size_t Gr::Avc::Rbsp::findStopBit |
( |
const std::string & |
s, |
|
|
size_t |
fail = 0U |
|
) |
| |
|
static |
Returns the bit offset of the RBSP stop bit.
Returns the fail value on error.
Definition at line 667 of file gravc.cpp.
bool Gr::Avc::Rbsp::hasMarkers |
( |
const std::string & |
s | ) |
|
|
static |
Returns true if the string contains one of the inter-RBSP markers (000, 001, 002).
Definition at line 735 of file gravc.cpp.
The documentation for this class was generated from the following files:
- /home/graeme/videotools/src/grlib/gravc.h
- /home/graeme/videotools/src/grlib/gravc.cpp