vdr-plugin-softhddevice-drm-gles 1.6.2
codec_video.cpp File Reference

Video Decoder. More...

#include <libavcodec/avcodec.h>
#include <libavcodec/bsf.h>
#include <libavutil/pixdesc.h>
#include <vdr/thread.h>
#include "codec_video.h"
#include "logger.h"
#include "misc.h"
#include "videostream.h"

Go to the source code of this file.

Functions

static enum AVPixelFormat GetFormat (AVCodecContext *videoCtx, const enum AVPixelFormat *fmt)
 Callback to negotiate the PixelFormat.
 
static const AVCodecHWConfigFindHWConfig (const AVCodec *codec)
 Find a hardware based video decoder config.
 
static const AVCodecFindHWDecoder (enum AVCodecID codecId)
 Find a suitable video codec (hardware decoding)
 
static const AVCodecFindSWDecoder (enum AVCodecID codecId)
 Find a suitable video codec (software decoding)
 

Detailed Description

Video Decoder.

This file defines cVideoDecoder, which has all the functions to decode video data. It's the video interface to ffmpeg.

Definition in file codec_video.cpp.