MythTV  master
Namespaces | Functions
bytereader.h File Reference
#include <cstdint>
#include "mythtvexp.h"
Include dependency graph for bytereader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ByteReader
 These functions are rewritten copies from FFmpeg's libavcodec, where find_start_code() is prefixed with avpriv_ .
 

Functions

bool ByteReader::start_code_is_valid (uint32_t start_code)
 Test whether a start code found by find_start_code() is valid. More...
 
const MTV_PUBLIC uint8_t * ByteReader::find_start_code (const uint8_t *p, const uint8_t *end, uint32_t *start_code)
 Find the first start code in the buffer p. More...
 
const MTV_PUBLIC uint8_t * ByteReader::find_start_code_truncated (const uint8_t *p, const uint8_t *end, uint32_t *start_code)
 By preserving the start_code value between subsequent calls, the caller can detect start codes across buffer boundaries. More...
 

Detailed Description

This is in libmythtv because that is where the parsers, which are its main users, are.

Definition in file bytereader.h.