FFmpeg
Loading...
Searching...
No Matches
SharedContext Struct Reference

Data Fields

AVClass * class
 
URLContext * inner
 
int64_t inner_pos
 
char * cache_dir
 
char * metadata_dir
 
int block_shift
 requested shift; updated on init if it disagrees
 
int read_only
 
int64_t timeout
 
int ignore_errors
 
int retry_errors
 
int retry_corrupt
 
int verify
 
int64_t cache_size_max
 
int64_t pos
 current logical position
 
uint8_t * tmp_buf
 
int block_size
 
int write_err
 write error occurred
 
int num_corrupt
 
int64_t filesize
 once known
 
int64_t blocks_max
 maximum number of blocks to cache
 
uint8_t * cache_data
 optional mapping of the cache file
 
char * cache_path
 
off_t cache_size
 size of mapped memory region (for unmapping)
 
int fd
 
Spacemap * spacemap
 
char * map_path
 
off_t map_size
 
int mapfd
 
int64_t nb_hit
 
int64_t nb_miss
 

Detailed Description

Definition at line 161 of file shared.c.

Field Documentation

◆ class

AVClass* SharedContext::class

Definition at line 162 of file shared.c.

◆ inner

URLContext* SharedContext::inner

Definition at line 163 of file shared.c.

◆ inner_pos

int64_t SharedContext::inner_pos

Definition at line 164 of file shared.c.

◆ cache_dir

char* SharedContext::cache_dir

Definition at line 167 of file shared.c.

◆ metadata_dir

char* SharedContext::metadata_dir

Definition at line 168 of file shared.c.

◆ block_shift

int SharedContext::block_shift

requested shift; updated on init if it disagrees

Definition at line 169 of file shared.c.

◆ read_only

int SharedContext::read_only

Definition at line 170 of file shared.c.

◆ timeout

int64_t SharedContext::timeout

Definition at line 171 of file shared.c.

◆ ignore_errors

int SharedContext::ignore_errors

Definition at line 172 of file shared.c.

◆ retry_errors

int SharedContext::retry_errors

Definition at line 173 of file shared.c.

◆ retry_corrupt

int SharedContext::retry_corrupt

Definition at line 174 of file shared.c.

◆ verify

int SharedContext::verify

Definition at line 175 of file shared.c.

◆ cache_size_max

int64_t SharedContext::cache_size_max

Definition at line 176 of file shared.c.

◆ pos

int64_t SharedContext::pos

current logical position

Definition at line 179 of file shared.c.

◆ tmp_buf

uint8_t* SharedContext::tmp_buf

Definition at line 180 of file shared.c.

◆ block_size

int SharedContext::block_size

Definition at line 181 of file shared.c.

◆ write_err

int SharedContext::write_err

write error occurred

Definition at line 182 of file shared.c.

◆ num_corrupt

int SharedContext::num_corrupt

Definition at line 183 of file shared.c.

◆ filesize

int64_t SharedContext::filesize

once known

Definition at line 184 of file shared.c.

◆ blocks_max

int64_t SharedContext::blocks_max

maximum number of blocks to cache

Definition at line 185 of file shared.c.

◆ cache_data

uint8_t* SharedContext::cache_data

optional mapping of the cache file

Definition at line 188 of file shared.c.

◆ cache_path

char* SharedContext::cache_path

Definition at line 189 of file shared.c.

◆ cache_size

off_t SharedContext::cache_size

size of mapped memory region (for unmapping)

Definition at line 190 of file shared.c.

◆ fd

int SharedContext::fd

Definition at line 191 of file shared.c.

◆ spacemap

Spacemap* SharedContext::spacemap

Definition at line 194 of file shared.c.

◆ map_path

char* SharedContext::map_path

Definition at line 195 of file shared.c.

◆ map_size

off_t SharedContext::map_size

Definition at line 196 of file shared.c.

◆ mapfd

int SharedContext::mapfd

Definition at line 197 of file shared.c.

◆ nb_hit

int64_t SharedContext::nb_hit

Definition at line 200 of file shared.c.

◆ nb_miss

int64_t SharedContext::nb_miss

Definition at line 201 of file shared.c.


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