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
35 36 37 | |
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
87 88 89 90 | |
LRUCache ¶
LRUCache(cache_size: int = 10)
Bases: VSObject, OrderedDict[K, V]
Methods:
-
prune–
Attributes:
-
cache_size(int) –
Source code in vstools/utils/cache.py
53 54 55 | |
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
53 54 55 | |
cache_clip ¶
cache_clip(_clip: NodeT, cache_size: int = 10) -> NodeT
Source code in vstools/utils/cache.py
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 | |