|
vdr-plugin-softhddevice-drm-gles 1.4.0
|
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"
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... | |
Videostream class.
This file defines cVideoStream, which is repsonsible for handling the video stream.
AGPLv3
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
Definition in file videostream.cpp.
|
static |
Helper function to find out which platform we are on.
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().
|
static |
Helper function to read a line from a given file.
| [out] | buf | pointer to the data |
| [out] | size | size of the data at buf |
| [in] | file | the filepointer to be read on |
Definition at line 68 of file videostream.cpp.
References LOGERROR.
Referenced by ReadHWPlatform().