AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
avtranscoder::ProcessStat Class Reference

ProcessStat contains statistics given after the process. More...

#include <ProcessStat.hpp>

Public Member Functions

 ProcessStat ()
 
void addVideoStat (const size_t streamIndex, const VideoStat &videoStat)
 
void addAudioStat (const size_t streamIndex, const AudioStat &audioStat)
 
VideoStatgetVideoStat (const size_t streamIndex)
 
AudioStatgetAudioStat (const size_t streamIndex)
 

Private Attributes

std::map< size_t, VideoStat_videoStats
 Key: streamIndex, Value: statistic video results. More...
 
std::map< size_t, AudioStat_audioStats
 Key: streamIndex, Value: statistic audio results. More...
 

Detailed Description

ProcessStat contains statistics given after the process.

See also
Transcoder::process methods

Definition at line 17 of file ProcessStat.hpp.

Constructor & Destructor Documentation

avtranscoder::ProcessStat::ProcessStat ( )
inline

Definition at line 20 of file ProcessStat.hpp.

Member Function Documentation

void avtranscoder::ProcessStat::addAudioStat ( const size_t  streamIndex,
const AudioStat audioStat 
)

Definition at line 13 of file ProcessStat.cpp.

References _audioStats.

Referenced by avtranscoder::Transcoder::fillProcessStat().

void avtranscoder::ProcessStat::addVideoStat ( const size_t  streamIndex,
const VideoStat videoStat 
)

Definition at line 8 of file ProcessStat.cpp.

References _videoStats.

Referenced by avtranscoder::Transcoder::fillProcessStat().

AudioStat& avtranscoder::ProcessStat::getAudioStat ( const size_t  streamIndex)
inline

Definition at line 29 of file ProcessStat.hpp.

VideoStat& avtranscoder::ProcessStat::getVideoStat ( const size_t  streamIndex)
inline

Definition at line 28 of file ProcessStat.hpp.

Field Documentation

std::map<size_t, AudioStat> avtranscoder::ProcessStat::_audioStats
private

Key: streamIndex, Value: statistic audio results.

Definition at line 33 of file ProcessStat.hpp.

Referenced by addAudioStat().

std::map<size_t, VideoStat> avtranscoder::ProcessStat::_videoStats
private

Key: streamIndex, Value: statistic video results.

Definition at line 32 of file ProcessStat.hpp.

Referenced by addVideoStat().


The documentation for this class was generated from the following files:
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy