vdr-plugin-softhddevice-drm-gles 1.4.0
Classes | Macros
videorender.h File Reference

Rendering class header file. More...

#include <atomic>
#include <vector>
#include <xf86drm.h>
#include <xf86drmMode.h>
#include <libavutil/hwcontext_drm.h>
#include "logger.h"
#include "iatomic.h"
#include "softhddevice.h"
#include "videostream.h"
#include "drmbuffer.h"
#include "drmdevice.h"
#include "threads.h"
#include "grab.h"
#include "drmplane.h"
#include "config.h"
#include "event.h"
#include "queue.h"
Include dependency graph for videorender.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cBufferStrategy
 
class  cBufferStrategyUseOnce
 
class  cBufferStrategyReuseHardware
 
class  cBufferStrategyReuseSoftware
 
class  cDecodingStrategy
 
class  cDecodingStrategySoftware
 
class  cDecodingStrategyHardware
 
class  cVideoRender
 cVideoRender - Video render class More...
 

Macros

#define QUIRK_NO_HW_DEINT   1 << 0
 set, if no hw deinterlacer available More...
 
#define QUIRK_CODEC_FLUSH_WORKAROUND   1 << 1
 set, if we have to close and reopen the codec instead of avcodec_flush_buffers (rpi) More...
 
#define QUIRK_CODEC_NEEDS_EXT_INIT   1 << 2
 set, if codec needs some infos for init (coded_width and coded_height) More...
 
#define QUIRK_CODEC_SKIP_FIRST_FRAMES   1 << 3
 set, if codec should skip first I-Frames More...
 
#define QUIRK_CODEC_SKIP_NUM_FRAMES   2
 skip QUIRK_CODEC_SKIP_NUM_FRAMES, in case QUIRK_CODEC_SKIP_FIRST_FRAMES is set More...
 
#define QUIRK_CODEC_DISABLE_MPEG_HW   1 << 4
 set, if disable mpeg hardware decoder More...
 
#define QUIRK_CODEC_DISABLE_H264_HW   1 << 5
 set, if disable h264 hardware decoder More...
 
#define AV_SYNC_THRESHOLD_AUDIO_BEHIND_VIDEO_MS   35
 threshold in ms, when to duplicate video frames to keep audio and video in sync More...
 
#define AV_SYNC_THRESHOLD_AUDIO_AHEAD_VIDEO_MS   5
 threshold in ms, when to drop video frames to keep audio and video in sync More...
 

Detailed Description

Rendering class 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 77 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 76 of file videorender.h.

◆ QUIRK_CODEC_DISABLE_H264_HW

#define QUIRK_CODEC_DISABLE_H264_HW   1 << 5

set, if disable h264 hardware decoder

Definition at line 74 of file videorender.h.

◆ QUIRK_CODEC_DISABLE_MPEG_HW

#define QUIRK_CODEC_DISABLE_MPEG_HW   1 << 4

set, if disable mpeg hardware decoder

Definition at line 73 of file videorender.h.

◆ QUIRK_CODEC_FLUSH_WORKAROUND

#define QUIRK_CODEC_FLUSH_WORKAROUND   1 << 1

set, if we have to close and reopen the codec instead of avcodec_flush_buffers (rpi)

Definition at line 69 of file videorender.h.

◆ QUIRK_CODEC_NEEDS_EXT_INIT

#define QUIRK_CODEC_NEEDS_EXT_INIT   1 << 2

set, if codec needs some infos for init (coded_width and coded_height)

Definition at line 70 of file videorender.h.

◆ QUIRK_CODEC_SKIP_FIRST_FRAMES

#define QUIRK_CODEC_SKIP_FIRST_FRAMES   1 << 3

set, if codec should skip first I-Frames

Definition at line 71 of file videorender.h.

◆ QUIRK_CODEC_SKIP_NUM_FRAMES

#define QUIRK_CODEC_SKIP_NUM_FRAMES   2

skip QUIRK_CODEC_SKIP_NUM_FRAMES, in case QUIRK_CODEC_SKIP_FIRST_FRAMES is set

Definition at line 72 of file videorender.h.

◆ QUIRK_NO_HW_DEINT

#define QUIRK_NO_HW_DEINT   1 << 0

set, if no hw deinterlacer available

Definition at line 68 of file videorender.h.