MythTV
master
|
#include "mythconfig.h"
#include "mythcontext.h"
#include "fourcc.h"
#include "compat.h"
#include "mythlogging.h"
#include "mythcodecid.h"
#include "videobuffers.h"
#include "libavcodec/avcodec.h"
#include <chrono>
#include <thread>
Go to the source code of this file.
Macros | |
#define | TRY_LOCK_SPINS 2000 |
#define | TRY_LOCK_SPINS_BEFORE_WARNING 9999 |
#define | TRY_LOCK_SPIN_WAIT 1000 /* usec */ |
#define | DBG_STR_ARR_SIZE 40 |
Functions | |
static void | ReleaseDecoderResources (MythVideoFrame *Frame, std::vector< AVBufferRef * > &Discards) |
Store AVBufferRef's for later disposal. More... | |
static void | DoDiscard (const std::vector< AVBufferRef * > &Discards) |
static unsigned long long | to_bitmap (const frame_queue_t &Queue, int Num) |
static int | DebugNum (const MythVideoFrame *Frame) |
const QString & | DebugString (const MythVideoFrame *Frame, bool Short) |
const QString & | DebugString (uint FrameNum, bool Short) |
Variables | |
int | next_dbg_str = 0 |
const std::array< const QString, DBG_STR_ARR_SIZE > | dbg_str_arr |
const std::array< const QString, DBG_STR_ARR_SIZE > | dbg_str_arr_short |
std::map< const MythVideoFrame *, int > | dbg_str |
#define TRY_LOCK_SPINS 2000 |
Definition at line 22 of file videobuffers.cpp.
#define TRY_LOCK_SPINS_BEFORE_WARNING 9999 |
Definition at line 23 of file videobuffers.cpp.
#define TRY_LOCK_SPIN_WAIT 1000 /* usec */ |
Definition at line 24 of file videobuffers.cpp.
#define DBG_STR_ARR_SIZE 40 |
Definition at line 1064 of file videobuffers.cpp.
|
inlinestatic |
Store AVBufferRef's for later disposal.
Definition at line 37 of file videobuffers.cpp.
Referenced by VideoBuffers::ClearAfterSeek(), VideoBuffers::DeLimboFrame(), VideoBuffers::DiscardAndRecreate(), VideoBuffers::DiscardFrame(), VideoBuffers::DiscardFrames(), VideoBuffers::DiscardPauseFrames(), and VideoBuffers::DoneDisplayingFrame().
|
inlinestatic |
Definition at line 56 of file videobuffers.cpp.
Referenced by VideoBuffers::ClearAfterSeek(), VideoBuffers::DeLimboFrame(), VideoBuffers::DiscardAndRecreate(), VideoBuffers::DiscardFrame(), VideoBuffers::DiscardFrames(), VideoBuffers::DiscardPauseFrames(), and VideoBuffers::DoneDisplayingFrame().
|
static |
Definition at line 1109 of file videobuffers.cpp.
Referenced by VideoBuffers::GetStatus().
|
static |
Definition at line 1089 of file videobuffers.cpp.
Referenced by DebugString(), and to_bitmap().
const QString& DebugString | ( | const MythVideoFrame * | Frame, |
bool | Short | ||
) |
Definition at line 1097 of file videobuffers.cpp.
Referenced by VideoBuffers::DiscardAndRecreate(), VideoBuffers::DiscardFrames(), and VideoBuffers::GetNextFreeFrameInternal().
Definition at line 1104 of file videobuffers.cpp.
int next_dbg_str = 0 |
Definition at line 26 of file videobuffers.cpp.
Referenced by DebugNum().
const std::array<const QString,DBG_STR_ARR_SIZE> dbg_str_arr |
Definition at line 1066 of file videobuffers.cpp.
Referenced by DebugString().
const std::array<const QString,DBG_STR_ARR_SIZE> dbg_str_arr_short |
Definition at line 1079 of file videobuffers.cpp.
Referenced by DebugString().
std::map<const MythVideoFrame *, int> dbg_str |
Definition at line 1087 of file videobuffers.cpp.
Referenced by DebugNum().