|
vdr-plugin-softhddevice-drm-gles 1.4.0
|
Device class. More...
#include <functional>#include <mutex>#include <variant>#include <algorithm>#include <assert.h>#include <unistd.h>#include <libintl.h>#include <pthread.h>#include <sys/types.h>#include <sys/wait.h>#include "softhddevice-drm-gles.h"#include "softhdosd.h"#include "softhddevice.h"#include "logger.h"#include <libavcodec/avcodec.h>#include <libavformat/avformat.h>#include <libavutil/timestamp.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 "pes.h"#include "misc.h"#include "pipreceiver.h"
Go to the source code of this file.
Macros | |
| #define | __USE_GNU |
| #define | _(str) gettext(str) |
| gettext shortcut More... | |
| #define | _N(str) str |
| gettext_noop shortcut More... | |
Functions | |
| uint8_t * | CreateJpeg (uint8_t *image, int *size, int quality, int width, int height) |
| Call rgb to jpeg for C Plugin. More... | |
| static void | PrintStreamData (const uchar *payload) |
| Print the start code, stream id, length, first three bytes (start code) of the payload, and the following 16 bytes of the codec payload. More... | |
Device class.
This file defines cSoftHdDevice which is the implementation of cDevice. This is the place where all the device commands which are sent be VDR are placed in (i.e. Play(), TrickSpeed() ...)
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 softhddevice.cpp.
| #define _ | ( | str | ) | gettext(str) |
gettext shortcut
Definition at line 68 of file softhddevice.cpp.
| #define __USE_GNU |
Definition at line 27 of file softhddevice.cpp.
| #define _N | ( | str | ) | str |
gettext_noop shortcut
Definition at line 69 of file softhddevice.cpp.
| uint8_t * CreateJpeg | ( | uint8_t * | image, |
| int * | size, | ||
| int | quality, | ||
| int | width, | ||
| int | height | ||
| ) |
Call rgb to jpeg for C Plugin.
Definition at line 74 of file softhddevice.cpp.
Referenced by cSoftHdDevice::GrabImage().
|
static |
Print the start code, stream id, length, first three bytes (start code) of the payload, and the following 16 bytes of the codec payload.
| data | pointer to stream data |
| offset | print from here |
Definition at line 965 of file softhddevice.cpp.
References L_CODEC, and LOGDEBUG2.
Referenced by cSoftHdDevice::PlayVideoInternal().