cache ¶
Classes:
-
ClipFramesCache– -
ClipsCache– -
DynamicClipsCache– -
FramesCache– -
LRUCache– -
NodeFramesCache– -
NodesPropsCache–
Functions:
ClipFramesCache ¶
Bases: NodeFramesCache[VideoNode, VideoFrame]
ClipsCache ¶
Bases: VSObjectABC, UserDict[VideoNode, VideoNode]
DynamicClipsCache ¶
DynamicClipsCache(cache_size: int = 2)
Bases: VSObjectABC, UserDict[T, VideoNode]
Methods:
-
get_clip–
Attributes:
Source code in vstools/utils/cache.py
36 37 38 39 | |
FramesCache ¶
FramesCache(clip: NodeT, cache_size: int = 10)
Bases: VSObjectABC, UserDict[int, FrameT]
Methods:
Attributes:
-
cache_size– -
clip(NodeT) –
Source code in vstools/utils/cache.py
95 96 97 98 | |
LRUCache ¶
LRUCache(cache_size: int = 10)
Bases: VSObject, OrderedDict[K, V]
Methods:
-
prune–
Attributes:
-
cache_size(int) –
Source code in vstools/utils/cache.py
61 62 63 | |
NodeFramesCache ¶
Bases: VSObjectABC, UserDict[NodeT, FramesCache[NodeT, FrameT]]
NodesPropsCache ¶
NodesPropsCache(cache_size: int = 10)
Bases: LRUCache[tuple[NodeT, int], MutableMapping[str, '_PropValue']]
Methods:
-
prune–
Attributes:
-
cache_size(int) –
Source code in vstools/utils/cache.py
61 62 63 | |
cache_clip ¶
cache_clip(_clip: NodeT, cache_size: int = 10) -> NodeT
Source code in vstools/utils/cache.py
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | |