MythTV  master
Static Public Member Functions | List of all members
MythAVUtil Class Reference

#include <mythavutil.h>

Static Public Member Functions

static void DeinterlaceAVFrame (AVFrame *Frame)
 Deinterlace an AVFrame. More...
static int FillAVFrame (AVFrame *Frame, const MythVideoFrame *From, AVPixelFormat Fmt=AV_PIX_FMT_NONE)
 Initialise AVFrame with content from MythVideoFrame. More...
static AVPixelFormat FrameTypeToPixelFormat (VideoFrameType Type)
static VideoFrameType PixelFormatToFrameType (AVPixelFormat Fmt)
static MythHDR::HDRType FFmpegTransferToHDRType (int Transfer)

Detailed Description

Definition at line 68 of file mythavutil.h.

Member Function Documentation

◆ DeinterlaceAVFrame()

void MythAVUtil::DeinterlaceAVFrame ( AVFrame Frame)

Deinterlace an AVFrame.

This is only used by the mytharchive plugin and can be removed if MythArchive becomes obsolete.

Definition at line 133 of file mythavutil.cpp.

Referenced by ThumbFinder::getFrameImage(), and grabThumbnail().

◆ FillAVFrame()

int MythAVUtil::FillAVFrame ( AVFrame Frame,
const MythVideoFrame From,
AVPixelFormat  Fmt = AV_PIX_FMT_NONE 

◆ FrameTypeToPixelFormat()

AVPixelFormat MythAVUtil::FrameTypeToPixelFormat ( VideoFrameType  Type)

◆ PixelFormatToFrameType()

VideoFrameType MythAVUtil::PixelFormatToFrameType ( AVPixelFormat  Fmt)

◆ FFmpegTransferToHDRType()

MythHDR::HDRType MythAVUtil::FFmpegTransferToHDRType ( int  Transfer)

Definition at line 116 of file mythavutil.cpp.

Referenced by MythHDRTracker::Update().

The documentation for this class was generated from the following files: