MythTV  master
Public Member Functions | Private Attributes | List of all members
PGMConverter Class Reference

#include <PGMConverter.h>

Collaboration diagram for PGMConverter:
Collaboration graph

Public Member Functions

 PGMConverter (void)=default
 ~PGMConverter (void)
int MythPlayerInited (const MythPlayer *player)
const AVFramegetImage (const MythVideoFrame *frame, long long frameno, int *pwidth, int *pheight)
int reportTime (void)

Private Attributes

long long m_frameNo {-1}
int m_width {-1}
int m_height {-1}
AVFrame m_pgm {}
std::chrono::microseconds m_convertTime {0us}
bool m_timeReported {false}
MythAVCopym_copy {nullptr}

Detailed Description

Definition at line 30 of file PGMConverter.h.

Constructor & Destructor Documentation

◆ PGMConverter()

PGMConverter::PGMConverter ( void  )

◆ ~PGMConverter()

PGMConverter::~PGMConverter ( void  )

Definition at line 21 of file PGMConverter.cpp.

Member Function Documentation

◆ MythPlayerInited()

int PGMConverter::MythPlayerInited ( const MythPlayer player)

Definition at line 32 of file PGMConverter.cpp.

◆ getImage()

const AVFrame * PGMConverter::getImage ( const MythVideoFrame frame,
long long  frameno,
int *  pwidth,
int *  pheight 

Definition at line 69 of file PGMConverter.cpp.

◆ reportTime()

int PGMConverter::reportTime ( void  )

Definition at line 114 of file PGMConverter.cpp.

Member Data Documentation

◆ m_frameNo

long long PGMConverter::m_frameNo {-1}

Definition at line 43 of file PGMConverter.h.

◆ m_width

int PGMConverter::m_width {-1}

Definition at line 44 of file PGMConverter.h.

◆ m_height

int PGMConverter::m_height {-1}

Definition at line 45 of file PGMConverter.h.

◆ m_pgm

AVFrame PGMConverter::m_pgm {}

Definition at line 46 of file PGMConverter.h.

◆ m_convertTime

std::chrono::microseconds PGMConverter::m_convertTime {0us}

Definition at line 48 of file PGMConverter.h.

◆ m_timeReported

bool PGMConverter::m_timeReported {false}

Definition at line 49 of file PGMConverter.h.

◆ m_copy

MythAVCopy* PGMConverter::m_copy {nullptr}

Definition at line 50 of file PGMConverter.h.

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