vdr-plugin-softhddevice-drm-gles 1.4.0
Functions
videostream.cpp File Reference

Videostream class. More...

#include <string>
#include <assert.h>
#include <unistd.h>
#include <libintl.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include <libavutil/timestamp.h>
#include "softhddevice-drm-gles.h"
#include "softhddevice.h"
#include "logger.h"
#include "h264parser.h"
#include "buf2rgb.h"
#include "iatomic.h"
#include "videostream.h"
#include "audio.h"
#include "videorender.h"
#include "codec_audio.h"
#include "codec_video.h"
#include "queue.h"
#include "misc.h"
Include dependency graph for videostream.cpp:

Go to the source code of this file.

Functions

static size_t ReadLineFromFile (char *buf, size_t size, const char *file)
 Helper function to read a line from a given file. More...
 
static int ReadHWPlatform (void)
 Helper function to find out which platform we are on. More...
 

Detailed Description

Videostream class.

This file defines cVideoStream, which is repsonsible for handling the video stream.

Definition in file videostream.cpp.

Function Documentation

◆ ReadHWPlatform()

static int ReadHWPlatform ( void  )
static

Helper function to find out which platform we are on.

Returns
the hardware quirks of the device

Definition at line 91 of file videostream.cpp.

References L_DRM, LOGDEBUG2, QUIRK_CODEC_FLUSH_WORKAROUND, QUIRK_CODEC_NEEDS_EXT_INIT, QUIRK_CODEC_SKIP_FIRST_FRAMES, QUIRK_NO_HW_DEINT, and ReadLineFromFile().

Referenced by cVideoStream::cVideoStream().

◆ ReadLineFromFile()

static size_t ReadLineFromFile ( char *  buf,
size_t  size,
const char *  file 
)
static

Helper function to read a line from a given file.

Parameters
[out]bufpointer to the data
[out]sizesize of the data at buf
[in]filethe filepointer to be read on
Returns
the number of characters read

Definition at line 68 of file videostream.cpp.

References LOGERROR.

Referenced by ReadHWPlatform().