|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
Misc function header file. More...
#include <cstdio>#include <cstdint>#include <libavutil/frame.h>Go to the source code of this file.
Macros | |
| #define | AV_NOPTS_VALUE INT64_C(0x8000000000000000) |
| #define | VIDEO_SURFACES_MAX 3 |
Functions | |
| static bool | isInterlacedFrame (AVFrame *frame) |
| Check, if this is an interlaced frame. | |
| static const char * | Timestamp2String (int64_t ts, uint8_t divisor) |
| Workaround for av_err2str() not working with C++. | |
| static uint32_t | ReadBytes (const uint8_t *data, int count) |
| Return count amount of bytes from data. | |
Misc function header file.
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 misc.h.
|
inlinestatic |
Check, if this is an interlaced frame.
| frame | AVFrame |
Definition at line 81 of file misc.h.
Referenced by cFilterThread::Action(), cVideoDecoder::ReceiveFrame(), and cVideoStream::RenderFrame().
|
inlinestatic |
Return count amount of bytes from data.
Definition at line 141 of file misc.h.
Referenced by cReassemblyBufferVideo::HasLeadingZero(), cPes::IsHeaderValid(), isValidStartCode(), and cReassemblyBufferVideo::ParseCodecHeader().
|
inlinestatic |
Workaround for av_err2str() not working with C++.
Nice time-stamp string.
| ts | time stamp |
Definition at line 119 of file misc.h.
References AV_NOPTS_VALUE.
Referenced by cVideoRender::DisplayFrame(), cSoftHdAudio::DropSamplesOlderThanPtsMs(), cSoftHdAudio::Enqueue(), cSoftHdDevice::IsBufferingThresholdReached(), cVideoRender::LogDroppedDuped(), cVideoRender::PageFlip(), cVideoDecoder::ReceiveFrame(), and cVideoDecoder::SendPacket().