|
vdr-plugin-softhddevice-drm-gles 1.4.0
|
Misc function header file. More...
#include <syslog.h>#include <stdarg.h>#include <stdio.h>#include <time.h>#include <unistd.h>#include <sys/syscall.h>#include <string.h>#include <inttypes.h>#include <stdint.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. More... | |
| static const char * | Timestamp2String (int64_t ts, uint8_t divisor) |
| Workaround for av_err2str() not working with C++. More... | |
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 47 of file misc.h.
Referenced by cFilterThread::Action(), cVideoDecoder::ReceiveFrame(), and cVideoStream::RenderFrame().
|
inlinestatic |
Workaround for av_err2str() not working with C++.
Nice time-stamp string.
| ts | time stamp |
Definition at line 81 of file misc.h.
References AV_NOPTS_VALUE.
Referenced by cVideoRender::DisplayFrame(), cSoftHdAudio::DropSamplesOlderThanPtsMs(), cSoftHdDevice::IsBufferingThresholdReached(), cVideoRender::LogDroppedDuped(), cVideoRender::PageFlip(), cVideoDecoder::ReceiveFrame(), and cVideoDecoder::SendPacket().