|
vdr-plugin-softhddevice-drm-gles 1.4.0
|
PES packet parser implementation. More...
#include <stdexcept>#include <map>#include <functional>#include "pes.h"#include "logger.h"#include "vdr/remux.h"#include <libavutil/avutil.h>#include "misc.h"
Go to the source code of this file.
Classes | |
| struct | CodecInfo |
| Codec information structure Contains lambdas for sync word detection and frame size calculation. More... | |
Functions | |
| static uint32_t | ReadBytes (const uint8_t *data, int count) |
Variables | |
| static const std::map< AVCodecID, CodecInfo > | AudioCodecMap |
| Map of audio codec information Key: AVCodecID Value: CodecInfo with sync word detection and frame size calculation lambdas. More... | |
PES packet parser implementation.
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 pes.cpp.
|
static |
Definition at line 32 of file pes.cpp.
Referenced by cReassemblyBufferVideo::HasLeadingZero(), cPes::IsHeaderValid(), and cReassemblyBufferVideo::ParseCodecHeader().
|
static |
Map of audio codec information Key: AVCodecID Value: CodecInfo with sync word detection and frame size calculation lambdas.
Definition at line 59 of file pes.cpp.
Referenced by cReassemblyBufferAudio::DetectCodecFromSyncWord(), cReassemblyBufferAudio::FindTwoConsecutiveFramesWithSameSyncWord(), cReassemblyBufferAudio::GetFrameSizeForCodec(), and cReassemblyBufferAudio::PopAvPacket().