NAP
Public Member Functions | Public Attributes | List of all members
Frame Struct Reference

#include <video.h>

Public Member Functions

bool isValid () const
 
void free ()
 

Public Attributes

AVFrame * mFrame = nullptr
 Frame as decoded by the decode thread. More...
 
double mPTSSecs = 0.0
 When the frame needs to be displayed (absolute clock time) More...
 
int mFirstPacketDTS = 0
 First dts that was used to create this frame. More...
 

Description

Frame as pushed in the frame queue.

Member Function Documentation

◆ free()

void free ( )

◆ isValid()

bool isValid ( ) const

Member Data Documentation

◆ mFirstPacketDTS

int mFirstPacketDTS = 0

First dts that was used to create this frame.

◆ mFrame

AVFrame* mFrame = nullptr

Frame as decoded by the decode thread.

◆ mPTSSecs

double mPTSSecs = 0.0

When the frame needs to be displayed (absolute clock time)