|
MythTV master
|
#include <chrono>#include <thread>#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 |
|
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.
|
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().
|
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().
|
static |
Definition at line 1109 of file videobuffers.cpp.
Referenced by VideoBuffers::GetStatus().
| std::map<const MythVideoFrame *, int> dbg_str |
Definition at line 1087 of file videobuffers.cpp.
Referenced by DebugNum().
| const std::array<const QString,DBG_STR_ARR_SIZE> dbg_str_arr |
Definition at line 1065 of file videobuffers.cpp.
Referenced by DebugString().
| const std::array<const QString,DBG_STR_ARR_SIZE> dbg_str_arr_short |
Definition at line 1078 of file videobuffers.cpp.
Referenced by DebugString().
|
staticconstexpr |
Definition at line 1064 of file videobuffers.cpp.
Referenced by DebugString().
| int next_dbg_str = 0 |
Definition at line 26 of file videobuffers.cpp.
Referenced by DebugNum().
|
staticconstexpr |
Definition at line 24 of file videobuffers.cpp.
Referenced by VideoBuffers::GetNextFreeFrame().
|
staticconstexpr |
Definition at line 22 of file videobuffers.cpp.
Referenced by VideoBuffers::GetNextFreeFrame().
|
staticconstexpr |
Definition at line 23 of file videobuffers.cpp.
Referenced by VideoBuffers::GetNextFreeFrame().