|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
H264 parser class. More...
#include <cassert>#include <libavcodec/avcodec.h>#include "h264parser.h"#include "logger.h"#include "misc.h"Go to the source code of this file.
Functions | |
| static void | PrintStreamData (const uint8_t *data, int size) |
| Print raw stream data. | |
| bool | isValidStartCode (const uint8_t *data, int offset) |
| Returns true, if we have a 0x000001 start code in data at the offset position. | |
| static int | NalUnitType (const uint8_t *data, int i) |
| Return the nal unit type. | |
H264 parser class.
This file defines cH264Parser which is used to parse width and height from a H264 stream.
AGPLv3
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
Definition in file h264parser.cpp.
| bool isValidStartCode | ( | const uint8_t * | data, |
| int | offset | ||
| ) |
Returns true, if we have a 0x000001 start code in data at the offset position.
Definition at line 59 of file h264parser.cpp.
References ReadBytes().
Referenced by cH264Parser::cH264Parser().
|
static |
Return the nal unit type.
Definition at line 67 of file h264parser.cpp.
Referenced by cH264Parser::cH264Parser().
|
static |
Print raw stream data.
| data | pointer to stream data |
| size | data size |
Definition at line 44 of file h264parser.cpp.
References LOGDEBUG.
Referenced by cH264Parser::cH264Parser(), and cSoftHdDevice::PlayVideoInternal().