vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
videostream.h File Reference

Videostream class header file. More...

#include <atomic>
#include <functional>
#include <string>
#include <libavcodec/avcodec.h>
#include "queue.h"
#include "threads.h"

Go to the source code of this file.

Classes

class  cVideoStream
 cVideoStream - Video stream class More...
 
class  cMainVideoStream
 cMainVideoStream - Main video stream class More...
 
class  cPipVideoStream
 cPipVideoStream - Pip video stream class More...
 

Macros

#define VIDEO_BUFFER_SIZE   (512 * 1024)
 video PES buffer default size
 
#define VIDEO_PACKET_MAX   192
 max number of video packets held in the buffer
 
#define QUIRK_NO_HW_DEINT   1 << 0
 set, if no hw deinterlacer available
 
#define QUIRK_CODEC_FLUSH_WORKAROUND   1 << 1
 set, if we have to close and reopen the codec instead of avcodec_flush_buffers (rpi)
 
#define QUIRK_CODEC_NEEDS_EXT_INIT   1 << 2
 set, if codec needs some infos for init (coded_width and coded_height)
 
#define QUIRK_CODEC_SKIP_FIRST_FRAMES   1 << 3
 set, if codec should skip first I-Frames
 
#define QUIRK_CODEC_SKIP_NUM_FRAMES   2
 skip QUIRK_CODEC_SKIP_NUM_FRAMES, in case QUIRK_CODEC_SKIP_FIRST_FRAMES is set
 
#define QUIRK_CODEC_DISABLE_MPEG_HW   1 << 4
 set, if disable mpeg hardware decoder
 
#define QUIRK_CODEC_DISABLE_H264_HW   1 << 5
 set, if disable h264 hardware decoder
 

Detailed Description

Videostream class header file.

Definition in file videostream.h.

Macro Definition Documentation

◆ QUIRK_CODEC_DISABLE_H264_HW

#define QUIRK_CODEC_DISABLE_H264_HW   1 << 5

set, if disable h264 hardware decoder

Definition at line 45 of file videostream.h.

◆ QUIRK_CODEC_DISABLE_MPEG_HW

#define QUIRK_CODEC_DISABLE_MPEG_HW   1 << 4

set, if disable mpeg hardware decoder

Definition at line 44 of file videostream.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 40 of file videostream.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 41 of file videostream.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 42 of file videostream.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 43 of file videostream.h.

◆ QUIRK_NO_HW_DEINT

#define QUIRK_NO_HW_DEINT   1 << 0

set, if no hw deinterlacer available

Definition at line 39 of file videostream.h.

◆ VIDEO_BUFFER_SIZE

#define VIDEO_BUFFER_SIZE   (512 * 1024)

video PES buffer default size

Definition at line 35 of file videostream.h.

◆ VIDEO_PACKET_MAX

#define VIDEO_PACKET_MAX   192

max number of video packets held in the buffer

Definition at line 36 of file videostream.h.