vdr-plugin-softhddevice-drm-gles 1.7.3-98a2ef7
codec_video.cpp File Reference

Video Decoder. More...

#include <mutex>
#include <libavcodec/avcodec.h>
#include <libavcodec/bsf.h>
#include <libavutil/pixdesc.h>
#include <vdr/remux.h>
#include "codec_video.h"
#include "logger.h"
#include "misc.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 AVCodecHWConfig * FindHWConfig (const AVCodec *codec)
 Find a hardware based video decoder config.
 
static const AVCodec * FindHWDecoder (enum AVCodecID codecId)
 Find a suitable video codec (hardware decoding)
 
static const AVCodec * FindSWDecoder (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.