|
vdr-plugin-softhddevice-drm-gles 1.6.2
|
Misc Functions. More...
#include <cstdio>#include <cstdint>#include <libavutil/frame.h>#include <EGL/egl.h>#include <GLES2/gl2.h>#include "logger.h"Go to the source code of this file.
Macros | |
| #define | GL_CHECK(stmt) |
| glCheckError macro | |
| #define | EGL_CHECK(stmt) |
| eglCheckError macro | |
| #define | AV_NOPTS_VALUE INT64_C(0x8000000000000000) |
| #define | VIDEO_SURFACES_MAX 3 |
| maximum video surfaces kept by the filter and render queues | |
| #define | av_err2str(err) av_err2string(err) |
Functions | |
| static void | glCheckError (const char *stmt, const char *fname, int line) |
| Check for OpenGL errors and log them. | |
| static void | eglCheckError (const char *stmt, const char *fname, int line) |
| Check for EGL errors and log them. | |
| static bool | isInterlacedFrame (AVFrame *frame) |
| Check, if this is an interlaced frame. | |
| static const char * | av_err2string (int errnum) |
| Workaround for av_err2str() not working with C++. | |
| static const char * | Timestamp2String (int64_t ts, uint8_t divisor) |
| Nice time-stamp string. | |
| static uint32_t | ReadBytes (const uint8_t *data, int count) |
| Return count amount of bytes from data | |
Misc Functions.
Definition in file misc.h.