| 
    FFmpegfs Fuse Multi Media Filesystem 2.16
    
   | 
 
Structure to hold current cache state. More...
#include <buffer.h>
Public Member Functions | |
| void | reset () | 
| Reset buffer pointers.  More... | |
Public Attributes | |
| std::string | m_cachefile | 
| Cache file name.  More... | |
| volatile int | m_fd | 
| File handle for buffer.  More... | |
| uint8_t * | m_buffer | 
| Pointer to buffer memory.  More... | |
| size_t | m_buffer_pos | 
| Read/write position.  More... | |
| size_t | m_buffer_watermark | 
| Number of bytes in buffer.  More... | |
| size_t | m_buffer_size | 
| Current buffer size.  More... | |
| bool | m_seg_finished | 
| True if segment completely decoded.  More... | |
| std::string | m_cachefile_idx | 
| Index file name.  More... | |
| volatile int | m_fd_idx | 
| File handle for index.  More... | |
| uint8_t * | m_buffer_idx | 
| Pointer to index memory.  More... | |
| size_t | m_buffer_size_idx | 
| Size of index buffer.  More... | |
| uint32_t | m_flags | 
| CACHE_FLAG_* options.  More... | |
| size_t | m_buffer_write_size | 
| Sum of bytes written to the buffer.  More... | |
| unsigned int | m_buffer_writes | 
| Total number of writes to the buffer.  More... | |
      
  | 
  inline | 
Reset buffer pointers.
Definition at line 91 of file buffer.h.
References m_buffer, m_buffer_pos, m_buffer_size, m_buffer_watermark, m_buffer_write_size, m_buffer_writes, and m_fd.
| uint8_t* Buffer::_tagCACHEINFO::m_buffer | 
Pointer to buffer memory.
Definition at line 105 of file buffer.h.
Referenced by Buffer::close_file(), Buffer::flush(), Buffer::open_file(), Buffer::reserve(), reset(), Buffer::seek(), Buffer::write_prepare(), and Buffer::writeio().
| uint8_t* Buffer::_tagCACHEINFO::m_buffer_idx | 
Pointer to index memory.
Definition at line 113 of file buffer.h.
Referenced by Buffer::flush(), Buffer::have_frame(), Buffer::read_frame(), and Buffer::write_frame().
| size_t Buffer::_tagCACHEINFO::m_buffer_pos | 
Read/write position.
Definition at line 106 of file buffer.h.
Referenced by Buffer::close_file(), Buffer::increment_pos(), Buffer::open_file(), reset(), Buffer::seek(), and Buffer::write_prepare().
| size_t Buffer::_tagCACHEINFO::m_buffer_size | 
Current buffer size.
Definition at line 108 of file buffer.h.
Referenced by Buffer::close_file(), Buffer::flush(), Buffer::open_file(), Buffer::reserve(), and reset().
| size_t Buffer::_tagCACHEINFO::m_buffer_size_idx | 
| size_t Buffer::_tagCACHEINFO::m_buffer_watermark | 
Number of bytes in buffer.
Definition at line 107 of file buffer.h.
Referenced by Buffer::close_file(), Buffer::open_file(), reset(), and Buffer::write_prepare().
| size_t Buffer::_tagCACHEINFO::m_buffer_write_size | 
Sum of bytes written to the buffer.
Definition at line 118 of file buffer.h.
Referenced by Buffer::open_file(), Buffer::reallocate(), reset(), and Buffer::writeio().
| unsigned int Buffer::_tagCACHEINFO::m_buffer_writes | 
Total number of writes to the buffer.
Definition at line 119 of file buffer.h.
Referenced by Buffer::open_file(), Buffer::reallocate(), reset(), and Buffer::writeio().
| std::string Buffer::_tagCACHEINFO::m_cachefile | 
Cache file name.
Definition at line 103 of file buffer.h.
Referenced by Buffer::close_file(), Buffer::flush(), Buffer::open_file(), Buffer::remove_cachefile(), and Buffer::reserve().
| std::string Buffer::_tagCACHEINFO::m_cachefile_idx | 
Index file name.
Definition at line 111 of file buffer.h.
Referenced by Buffer::flush(), and Buffer::remove_cachefile().
| volatile int Buffer::_tagCACHEINFO::m_fd | 
File handle for buffer.
Definition at line 104 of file buffer.h.
Referenced by Buffer::close_file(), Buffer::open_file(), Buffer::reserve(), and reset().
| volatile int Buffer::_tagCACHEINFO::m_fd_idx | 
| uint32_t Buffer::_tagCACHEINFO::m_flags | 
CACHE_FLAG_* options.
Definition at line 116 of file buffer.h.
Referenced by Buffer::close_file(), and Buffer::open_file().
| bool Buffer::_tagCACHEINFO::m_seg_finished | 
True if segment completely decoded.
Definition at line 109 of file buffer.h.
Referenced by Buffer::finished_segment().