vdr-plugin-softhddevice-drm-gles 1.6.4-d0291bb
videorender.h File Reference

Video Renderer (Display) Header File. More...

#include <atomic>
#include <cstdint>
#include <mutex>
#include <vector>
#include <xf86drmMode.h>
#include <libavutil/frame.h>
#include <libavutil/hwcontext_drm.h>
#include <gbm.h>
#include <EGL/egl.h>
#include <vdr/osd.h>
#include <vdr/thread.h>
#include "drmbuffer.h"
#include "drmdevice.h"
#include "drmhdr.h"
#include "event.h"
#include "grab.h"
#include "misc.h"
#include "queue.h"

Go to the source code of this file.

Classes

class  cBufferStrategy
 DRM Buffer Getting-Strategy. More...
 
class  cBufferStrategyUseOnce
 DRM Buffer: Get a Buffer to Use Once. More...
 
class  cBufferStrategyReuseHardware
 DRM Buffer: Get a Hardware Buffer to Reuse. More...
 
class  cBufferStrategyReuseSoftware
 DRM Buffer: Get a Software Buffer to Reuse. More...
 
class  cDecodingStrategy
 Strategy to Prepare DRM Buffer for Decoding. More...
 
class  cDecodingStrategySoftware
 Prepare DRM Buffer for Software Decoding. More...
 
class  cDecodingStrategyHardware
 Prepare DRM Buffer for Hardware Decoding. More...
 
class  cVideoRender
 Video Renderer. More...
 

Macros

#define AV_SYNC_THRESHOLD_AUDIO_BEHIND_VIDEO_MS   35
 threshold in ms, when to duplicate video frames to keep audio and video in sync
 
#define AV_SYNC_THRESHOLD_AUDIO_AHEAD_VIDEO_MS   5
 threshold in ms, when to drop video frames to keep audio and video in sync
 

Enumerations

enum  drmColorSpace { COLORSPACE_BT709_YCC = 2 , COLORSPACE_BT2020_RGB = 9 }
 
enum  drmColorEncoding { COLORENCODING_BT709 = 1 , COLORENCODING_BT2020 = 2 }
 
enum  drmColorRange { COLORRANGE_LIMITED = 0 , COLORRANGE_FULL = 1 }
 

Detailed Description

Video Renderer (Display) Header File.

Definition in file videorender.h.

Macro Definition Documentation

◆ AV_SYNC_THRESHOLD_AUDIO_AHEAD_VIDEO_MS

#define AV_SYNC_THRESHOLD_AUDIO_AHEAD_VIDEO_MS   5

threshold in ms, when to drop video frames to keep audio and video in sync

Definition at line 65 of file videorender.h.

◆ AV_SYNC_THRESHOLD_AUDIO_BEHIND_VIDEO_MS

#define AV_SYNC_THRESHOLD_AUDIO_BEHIND_VIDEO_MS   35

threshold in ms, when to duplicate video frames to keep audio and video in sync

Definition at line 64 of file videorender.h.

Enumeration Type Documentation

◆ drmColorEncoding

Enumerator
COLORENCODING_BT709 
COLORENCODING_BT2020 

Definition at line 72 of file videorender.h.

◆ drmColorRange

Enumerator
COLORRANGE_LIMITED 
COLORRANGE_FULL 

Definition at line 77 of file videorender.h.

◆ drmColorSpace

Enumerator
COLORSPACE_BT709_YCC 
COLORSPACE_BT2020_RGB 

Definition at line 67 of file videorender.h.