FFmpegfs Fuse Multi Media Filesystem 2.16
Public Attributes | List of all members
CACHE_INFO Struct Reference

Cache information block. More...

#include <cache.h>

Public Attributes

std::string m_origfile
 Original filename before transcode. More...
 
std::string m_destfile
 Destination filename after transcode. More...
 
std::array< char, 11 > m_desttype
 Destination type. More...
 
int64_t m_audiobitrate
 Audio bitrate in bit/s. More...
 
int m_audiosamplerate
 Audio sample rate in Hz. More...
 
int64_t m_videobitrate
 Video bitrate in bit/s. More...
 
int m_videowidth
 Video width. More...
 
int m_videoheight
 Video height. More...
 
bool m_deinterlace
 true if video was deinterlaced More...
 
int64_t m_duration
 File duration, in AV_TIME_BASE fractional seconds. More...
 
size_t m_predicted_filesize
 Predicted file size. More...
 
size_t m_encoded_filesize
 Actual file size after encode. More...
 
uint32_t m_video_frame_count
 Number of frames in video or 0 if not a video. More...
 
uint32_t m_segment_count
 Number of segments for HLS. More...
 
RESULTCODE m_result
 Result code: More...
 
bool m_error
 true if encode failed More...
 
int m_errno
 errno if encode failed More...
 
int m_averror
 FFmpeg error code if encode failed. More...
 
time_t m_creation_time
 Source file creation time. More...
 
time_t m_access_time
 Source file last access time. More...
 
time_t m_file_time
 Source file file time. More...
 
size_t m_file_size
 Source file file size. More...
 
unsigned int m_access_count
 Read access counter. More...
 

Detailed Description

Cache information block.

Definition at line 70 of file cache.h.

Member Data Documentation

◆ m_access_count

unsigned int CACHE_INFO::m_access_count

Read access counter.

Definition at line 94 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::read_count(), and Cache_Entry::update_read_count().

◆ m_access_time

time_t CACHE_INFO::m_access_time

◆ m_audiobitrate

int64_t CACHE_INFO::m_audiobitrate

Audio bitrate in bit/s.

Definition at line 75 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_audiosamplerate

int CACHE_INFO::m_audiosamplerate

Audio sample rate in Hz.

Definition at line 76 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_averror

int CACHE_INFO::m_averror

FFmpeg error code if encode failed.

Definition at line 89 of file cache.h.

Referenced by Cache_Entry::clear(), Cache::read_info(), transcode(), transcode_finish(), and transcoder_thread().

◆ m_creation_time

time_t CACHE_INFO::m_creation_time

Source file creation time.

Definition at line 90 of file cache.h.

Referenced by Cache_Entry::age(), Cache_Entry::clear(), and Cache::read_info().

◆ m_deinterlace

bool CACHE_INFO::m_deinterlace

true if video was deinterlaced

Definition at line 80 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_destfile

std::string CACHE_INFO::m_destfile

Destination filename after transcode.

Definition at line 73 of file cache.h.

Referenced by Cache_Entry::Cache_Entry(), and Cache::read_info().

◆ m_desttype

std::array<char, 11> CACHE_INFO::m_desttype

Destination type.

Definition at line 74 of file cache.h.

Referenced by Cache_Entry::Cache_Entry(), Cache_Entry::delete_info(), and Cache::read_info().

◆ m_duration

int64_t CACHE_INFO::m_duration

File duration, in AV_TIME_BASE fractional seconds.

Definition at line 81 of file cache.h.

Referenced by Cache::read_info(), transcode(), transcode_finish(), transcoder_new(), and transcoder_predict_filesize().

◆ m_encoded_filesize

size_t CACHE_INFO::m_encoded_filesize

Actual file size after encode.

Definition at line 83 of file cache.h.

Referenced by Cache_Entry::clear(), Cache::read_info(), Cache_Entry::size(), transcode_finish(), and transcoder_cached_filesize().

◆ m_errno

int CACHE_INFO::m_errno

errno if encode failed

Definition at line 88 of file cache.h.

Referenced by Cache_Entry::clear(), Cache::read_info(), transcode(), transcode_finish(), transcoder_new(), and transcoder_thread().

◆ m_error

bool CACHE_INFO::m_error

◆ m_file_size

size_t CACHE_INFO::m_file_size

Source file file size.

Definition at line 93 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_file_time

time_t CACHE_INFO::m_file_time

Source file file time.

Definition at line 92 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_origfile

std::string CACHE_INFO::m_origfile

Original filename before transcode.

Definition at line 72 of file cache.h.

Referenced by Cache_Entry::Cache_Entry().

◆ m_predicted_filesize

size_t CACHE_INFO::m_predicted_filesize

◆ m_result

RESULTCODE CACHE_INFO::m_result

◆ m_segment_count

uint32_t CACHE_INFO::m_segment_count

Number of segments for HLS.

Definition at line 85 of file cache.h.

Referenced by Cache::read_info(), transcode(), transcode_finish(), and transcoder_predict_filesize().

◆ m_video_frame_count

uint32_t CACHE_INFO::m_video_frame_count

Number of frames in video or 0 if not a video.

Definition at line 84 of file cache.h.

Referenced by Cache_Entry::clear(), Cache::read_info(), transcode(), transcode_finish(), transcoder_new(), transcoder_predict_filesize(), and Cache_Entry::video_frame_count().

◆ m_videobitrate

int64_t CACHE_INFO::m_videobitrate

Video bitrate in bit/s.

Definition at line 77 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_videoheight

int CACHE_INFO::m_videoheight

Video height.

Definition at line 79 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().

◆ m_videowidth

int CACHE_INFO::m_videowidth

Video width.

Definition at line 78 of file cache.h.

Referenced by Cache_Entry::clear(), Cache_Entry::outdated(), and Cache::read_info().


The documentation for this struct was generated from the following file: