MythTV
master
|
#include <QFileInfo>
#include <QDir>
#include "libmyth/mythcontext.h"
#include "libmythbase/compat.h"
#include "libmythbase/mythconfig.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythdate.h"
#include "libmythbase/mythtimer.h"
#include "libmythbase/remotefile.h"
#include "libmythbase/threadedfilewriter.h"
#include "io/mythfilebuffer.h"
#include <array>
#include <cstdlib>
#include <cerrno>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
Go to the source code of this file.
Macros | |
#define | LOC QString("FileRingBuf(%1): ").arg(m_filename) |
Functions | |
static int | posix_fadvise (int, off_t, off_t, int) |
static bool | CheckPermissions (const QString &Filename) |
static bool | IsSubtitlePossible (const QString &Extension) |
static QString | LocalSubtitleFilename (QFileInfo &FileInfo) |
Variables | |
static constexpr int8_t | POSIX_FADV_SEQUENTIAL { 0 } |
static constexpr int8_t | POSIX_FADV_WILLNEED { 0 } |
static constexpr int8_t | O_STREAMING { 0 } |
static constexpr int8_t | O_LARGEFILE { 0 } |
static constexpr int8_t | O_BINARY { 0 } |
static const QStringList | kSubExt {".ass", ".srt", ".ssa", ".sub", ".txt"} |
static const QStringList | kSubExtNoCheck {".ass", ".srt", ".ssa", ".sub", ".txt", ".gif", ".png"} |
#define LOC QString("FileRingBuf(%1): ").arg(m_filename) |
Definition at line 45 of file mythfilebuffer.cpp.
Definition at line 28 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile(), and MythFileBuffer::SeekInternal().
|
static |
Definition at line 115 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
static |
Definition at line 127 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
static |
Definition at line 135 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
staticconstexpr |
Definition at line 29 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
staticconstexpr |
Definition at line 30 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile(), and MythFileBuffer::SeekInternal().
|
staticconstexpr |
Definition at line 34 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
staticconstexpr |
Definition at line 38 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::MythFileBuffer(), and MythFileBuffer::OpenFile().
|
staticconstexpr |
Definition at line 42 of file mythfilebuffer.cpp.
Referenced by MythFileBuffer::OpenFile().
|
static |
Definition at line 47 of file mythfilebuffer.cpp.
Referenced by LocalSubtitleFilename(), and MythFileBuffer::OpenFile().
|
static |
Definition at line 48 of file mythfilebuffer.cpp.
Referenced by IsSubtitlePossible().