cache ¶
Classes:
-
ClipFramesCache– -
ClipsCache– -
DynamicClipsCache– -
FramesCache– -
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
34 35 36 | |
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
72 73 74 75 | |
LRUCache ¶
LRUCache(cache_size: int = 10)
Bases: VSObject, OrderedDict[K, V]
Attributes:
Source code in vstools/utils/cache.py
52 53 54 | |
NodeFramesCache ¶
Bases: VSObjectABC, UserDict[NodeT, FramesCache[NodeT, FrameT]]
NodesPropsCache ¶
NodesPropsCache(cache_size: int = 10)
Bases: LRUCache[tuple[NodeT, int], MutableMapping[str, '_PropValue']]
Attributes:
Source code in vstools/utils/cache.py
52 53 54 | |
cache_clip ¶
cache_clip(_clip: NodeT, cache_size: int = 10) -> NodeT
Source code in vstools/utils/cache.py
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | |