vdr
2.2.0
|
#include <stdint.h>
#include "dvbhdffdevice.h"
#include <errno.h>
#include <limits.h>
#include <libsi/si.h>
#include <linux/videodev2.h>
#include <linux/dvb/audio.h>
#include <linux/dvb/dmx.h>
#include <linux/dvb/video.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <vdr/eitscan.h>
#include <vdr/transfer.h>
#include "hdffosd.h"
#include "setup.h"
#include <jpeglib.h>
Go to the source code of this file.
Classes | |
struct | tJpegCompressData |
Macros | |
#define | BUFFER_SIZE (sizeof(struct v4l2_pix_format) + 1920 * 1080 * 2) |
#define | JPEGCOMPRESSMEM 4000000 |
Functions | |
static uchar * | YuvToJpeg (uchar *Mem, int Width, int Height, int &Size, int Quality) |
static HdffVideoStreamType_t | MapVideoStreamTypes (int Vtype) |
static HdffAudioStreamType_t | MapAudioStreamTypes (int Atype) |
static void | JpegCompressInitDestination (j_compress_ptr cinfo) |
static boolean | JpegCompressEmptyOutputBuffer (j_compress_ptr cinfo) |
static void | JpegCompressTermDestination (j_compress_ptr cinfo) |
#define BUFFER_SIZE (sizeof(struct v4l2_pix_format) + 1920 * 1080 * 2) |
Referenced by cDvbHdFfDevice::GrabImage().
#define JPEGCOMPRESSMEM 4000000 |
Definition at line 1010 of file dvbhdffdevice.c.
Referenced by JpegCompressEmptyOutputBuffer(), and JpegCompressInitDestination().
|
static |
Definition at line 1026 of file dvbhdffdevice.c.
References esyslog, JPEGCOMPRESSMEM, tJpegCompressData::mem, and tJpegCompressData::size.
Referenced by YuvToJpeg().
|
static |
Definition at line 1017 of file dvbhdffdevice.c.
References JPEGCOMPRESSMEM, MALLOC, tJpegCompressData::mem, and tJpegCompressData::size.
Referenced by YuvToJpeg().
|
static |
Definition at line 1049 of file dvbhdffdevice.c.
References esyslog, tJpegCompressData::mem, and tJpegCompressData::size.
Referenced by YuvToJpeg().
|
static |
Definition at line 914 of file dvbhdffdevice.c.
References SI::AC3DescriptorTag, SI::EnhancedAC3DescriptorTag, HDFF_AUDIO_STREAM_AAC, HDFF_AUDIO_STREAM_AC3, HDFF_AUDIO_STREAM_EAC3, HDFF_AUDIO_STREAM_HE_AAC, HDFF_AUDIO_STREAM_MPEG1, and HDFF_AUDIO_STREAM_MPEG2.
Referenced by cDvbHdFfDevice::PlayTsAudio().
|
static |
Definition at line 655 of file dvbhdffdevice.c.
References HDFF_VIDEO_STREAM_H264, HDFF_VIDEO_STREAM_MPEG1, and HDFF_VIDEO_STREAM_MPEG2.
Referenced by cDvbHdFfDevice::PlayTsVideo(), and cDvbHdFfDevice::StillPicture().
Definition at line 1065 of file dvbhdffdevice.c.
References JpegCompressEmptyOutputBuffer(), JpegCompressInitDestination(), JpegCompressTermDestination(), tJpegCompressData::mem, and tJpegCompressData::size.
Referenced by cDvbHdFfDevice::GrabImage().