soifunc 0.9.1__tar.gz → 0.9.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: soifunc
3
- Version: 0.9.1
3
+ Version: 0.9.2
4
4
  Summary: Soichiro's VapourSynth Functions Collection
5
5
  License: MIT
6
6
  Author: Josh Holmer
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "soifunc"
3
- version = "0.9.1"
3
+ version = "0.9.2"
4
4
  description = "Soichiro's VapourSynth Functions Collection"
5
5
  authors = ["Josh Holmer <jholmer.in@gmail.com>"]
6
6
  license = "MIT"
@@ -71,9 +71,9 @@ def mc_dfttest(
71
71
 
72
72
 
73
73
  def select_block_size(clip: vs.VideoNode):
74
- if clip.width >= 1920 or clip.height >= 1080:
74
+ if clip.width * clip.height >= 1920 * 800:
75
75
  return 64
76
- if clip.width >= 1280 or clip.height >= 720:
76
+ if clip.width * clip.height >= 1280 * 720:
77
77
  return 32
78
78
  return 16
79
79
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes