cache ¶
Classes:
-
ClipFramesCache
– -
ClipsCache
– -
DynamicClipsCache
– -
FramesCache
– -
NodeFramesCache
– -
NodesPropsCache
– -
SceneBasedDynamicCache
–
Functions:
ClipFramesCache ¶
Bases: NodeFramesCache[VideoNode, VideoFrame]
DynamicClipsCache ¶
DynamicClipsCache(cache_size: int = 2)
Bases: vs_object
, dict[T, VideoNodeT]
Methods:
-
get_clip
–
Attributes:
Source code in vstools/utils/cache.py
44 45 |
|
get_clip abstractmethod
¶
get_clip(key: T) -> VideoNodeT
Source code in vstools/utils/cache.py
47 48 |
|
FramesCache ¶
Bases: vs_object
, dict[int, FrameT]
, Generic[NodeT, FrameT]
Methods:
Attributes:
-
cache_size
– -
clip
–
Source code in vstools/utils/cache.py
64 65 66 |
|
add_frame ¶
Source code in vstools/utils/cache.py
68 69 70 |
|
SceneBasedDynamicCache ¶
Bases: DynamicClipsCache[int, VideoNode]
Methods:
Attributes:
-
cache_size
– -
clip
– -
keyframes
–
Source code in vstools/utils/cache.py
115 116 117 118 119 |
|
from_clip classmethod
¶
Source code in vstools/utils/cache.py
127 128 129 |
|
get_clip abstractmethod
¶
get_clip(key: int) -> VideoNode
Source code in vstools/utils/cache.py
121 122 |
|
get_eval ¶
get_eval() -> VideoNode
Source code in vstools/utils/cache.py
124 125 |
|
cache_clip ¶
Source code in vstools/utils/cache.py
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 |
|