vdr-plugin-softhddevice-drm-gles 1.6.2
h264parser.cpp File Reference

H.264 Parser. More...

#include <cassert>
#include <set>
#include <string>
#include <vector>
#include <libavcodec/avcodec.h>
#include "h264parser.h"
#include "logger.h"
#include "misc.h"

Go to the source code of this file.

Functions

bool isValidStartCode (const uint8_t *data, int offset, int size, int &startCodeLength)
 Check for a 0x000001 or 0x00000001 start code.
 
static int NalUnitType (const uint8_t *data, int offset, int startCodeLength)
 Return the nal unit type.
 

Detailed Description

H.264 Parser.

This file defines cH264Parser which is used to parse width and height from a H264 stream.

Definition in file h264parser.cpp.