MythTV
master
|
#include <chrono>
#include <thread>
#include "libmyth/mythcontext.h"
#include "libmythbase/compat.h"
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythlogging.h"
#include "fourcc.h"
#include "mythcodecid.h"
#include "videobuffers.h"
#include "libavcodec/avcodec.h"
Go to the source code of this file.
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 | |
static constexpr uint16_t | TRY_LOCK_SPINS { 2000 } |
static constexpr uint16_t | TRY_LOCK_SPINS_BEFORE_WARNING { 9999 } |
static constexpr std::chrono::milliseconds | TRY_LOCK_SPIN_WAIT { 1ms } |
int | next_dbg_str = 0 |
static constexpr size_t | DBG_STR_ARR_SIZE { 40 } |
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 |
|
inlinestatic |
Store AVBufferRef's for later disposal.
Definition at line 38 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 57 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 1110 of file videobuffers.cpp.
Referenced by VideoBuffers::GetStatus().
|
static |
Definition at line 1090 of file videobuffers.cpp.
Referenced by DebugString(), and to_bitmap().
const QString& DebugString | ( | const MythVideoFrame * | Frame, |
bool | Short | ||
) |
Definition at line 1098 of file videobuffers.cpp.
Referenced by VideoBuffers::DiscardAndRecreate(), VideoBuffers::DiscardFrames(), and VideoBuffers::GetNextFreeFrameInternal().
Definition at line 1105 of file videobuffers.cpp.
|
staticconstexpr |
Definition at line 23 of file videobuffers.cpp.
Referenced by VideoBuffers::GetNextFreeFrame().
|
staticconstexpr |
Definition at line 24 of file videobuffers.cpp.
Referenced by VideoBuffers::GetNextFreeFrame().
|
staticconstexpr |
Definition at line 25 of file videobuffers.cpp.
Referenced by VideoBuffers::GetNextFreeFrame().
int next_dbg_str = 0 |
Definition at line 27 of file videobuffers.cpp.
Referenced by DebugNum().
|
staticconstexpr |
Definition at line 1065 of file videobuffers.cpp.
Referenced by DebugString().
const std::array<const QString,DBG_STR_ARR_SIZE> dbg_str_arr |
Definition at line 1067 of file videobuffers.cpp.
Referenced by DebugString().
const std::array<const QString,DBG_STR_ARR_SIZE> dbg_str_arr_short |
Definition at line 1080 of file videobuffers.cpp.
Referenced by DebugString().
std::map<const MythVideoFrame *, int> dbg_str |
Definition at line 1088 of file videobuffers.cpp.
Referenced by DebugNum().