yta-editor-nodes-gpu 0.0.3__tar.gz → 0.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/PKG-INFO +1 -1
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/pyproject.toml +1 -1
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/src/yta_editor_nodes_gpu/processor/video/transitions/__init__.py +9 -9
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/LICENSE +0 -0
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/README.md +0 -0
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/src/yta_editor_nodes_gpu/__init__.py +0 -0
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/src/yta_editor_nodes_gpu/processor/__init__.py +0 -0
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/src/yta_editor_nodes_gpu/processor/blender/__init__.py +0 -0
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/src/yta_editor_nodes_gpu/processor/blender/utils.py +0 -0
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/src/yta_editor_nodes_gpu/processor/video/__init__.py +0 -0
- {yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/src/yta_editor_nodes_gpu/processor/video/experimental.py +0 -0
@@ -348,9 +348,9 @@ class AlphaPediaMaskTransitionProcessorGPU(_TransitionProcessorGPU):
|
|
348
348
|
|
349
349
|
def process(
|
350
350
|
self,
|
351
|
-
|
352
|
-
|
353
|
-
|
351
|
+
first_input: Union[moderngl.Texture, 'np.ndarray'],
|
352
|
+
second_input: Union[moderngl.Texture, 'np.ndarray'],
|
353
|
+
mask_input: Union[moderngl.Texture, 'np.ndarray'],
|
354
354
|
progress: float,
|
355
355
|
output_size: Union[tuple[int, int], None] = None,
|
356
356
|
**kwargs
|
@@ -368,15 +368,15 @@ class AlphaPediaMaskTransitionProcessorGPU(_TransitionProcessorGPU):
|
|
368
368
|
We use and return textures to maintain
|
369
369
|
the process in GPU and optimize it.
|
370
370
|
"""
|
371
|
-
ParameterValidator.validate_mandatory_instance_of('
|
372
|
-
ParameterValidator.validate_mandatory_instance_of('
|
373
|
-
ParameterValidator.validate_mandatory_instance_of('
|
371
|
+
ParameterValidator.validate_mandatory_instance_of('first_input', first_input, [moderngl.Texture, np.ndarray])
|
372
|
+
ParameterValidator.validate_mandatory_instance_of('second_input', second_input, [moderngl.Texture, np.ndarray])
|
373
|
+
ParameterValidator.validate_mandatory_instance_of('mask_input', mask_input, [moderngl.Texture, np.ndarray])
|
374
374
|
ParameterValidator.validate_mandatory_positive_float('progress', progress, do_include_zero = True)
|
375
375
|
|
376
376
|
textures_map = {
|
377
|
-
'first_texture':
|
378
|
-
'second_texture':
|
379
|
-
'mask_texture':
|
377
|
+
'first_texture': first_input,
|
378
|
+
'second_texture': second_input,
|
379
|
+
'mask_texture': mask_input
|
380
380
|
}
|
381
381
|
|
382
382
|
# TODO: There is an 'use_alpha_channel' uniform to use
|
File without changes
|
File without changes
|
{yta_editor_nodes_gpu-0.0.3 → yta_editor_nodes_gpu-0.0.4}/src/yta_editor_nodes_gpu/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|