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

#include <mythcommflag/PGMConverter.h>

Collaboration diagram for PGMConverter:
[legend]

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  )
default

◆ ~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}
private

Definition at line 43 of file PGMConverter.h.

◆ m_width

int PGMConverter::m_width {-1}
private

Definition at line 44 of file PGMConverter.h.

◆ m_height

int PGMConverter::m_height {-1}
private

Definition at line 45 of file PGMConverter.h.

◆ m_pgm

AVFrame PGMConverter::m_pgm {}
private

Definition at line 46 of file PGMConverter.h.

◆ m_convertTime

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

Definition at line 48 of file PGMConverter.h.

◆ m_timeReported

bool PGMConverter::m_timeReported {false}
private

Definition at line 49 of file PGMConverter.h.

◆ m_copy

MythAVCopy* PGMConverter::m_copy {nullptr}
private

Definition at line 50 of file PGMConverter.h.


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