| 
    FFmpegfs Fuse Multi Media Filesystem 2.16
    
   | 
 
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... | |
| 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().
| time_t CACHE_INFO::m_access_time | 
Source file last access time.
Definition at line 91 of file cache.h.
Referenced by Cache_Entry::clear(), Cache_Entry::decode_timeout(), Cache_Entry::last_access(), Cache::read_info(), Cache_Entry::suspend_timeout(), and Cache_Entry::update_access().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| 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().
| bool CACHE_INFO::m_error | 
true if encode failed
Definition at line 87 of file cache.h.
Referenced by Cache_Entry::clear(), Cache::read_info(), transcode(), transcode_until(), transcoder_new(), transcoder_read_frame(), and transcoder_thread().
| 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().
| 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().
| std::string CACHE_INFO::m_origfile | 
Original filename before transcode.
Definition at line 72 of file cache.h.
Referenced by Cache_Entry::Cache_Entry().
| size_t CACHE_INFO::m_predicted_filesize | 
Predicted file size.
Definition at line 82 of file cache.h.
Referenced by Cache_Entry::clear(), Cache::read_info(), Cache_Entry::size(), transcode(), transcode_finish(), transcoder_cached_filesize(), transcoder_new(), transcoder_predict_filesize(), and transcoder_set_filesize().
| RESULTCODE CACHE_INFO::m_result | 
Result code:
Definition at line 86 of file cache.h.
Referenced by Cache_Entry::clear(), Cache_Entry::is_finished(), Cache_Entry::is_finished_error(), Cache_Entry::is_finished_incomplete(), Cache_Entry::is_finished_success(), Cache_Entry::openio(), Cache::read_info(), and transcode_finish().
| 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().
| 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().
| 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().
| 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().
| 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().