10 UnityEngine.Video.VideoClip[]
videos,
18 "Scanline jitter (KHM)"
21 foreach (UnityEngine.Video.VideoClip video in
this.videos)
26 for (
int textureSize = 512; textureSize >= 8; textureSize /= 2)
30 jitterSize * textureSize <= 512 && jitterSize <= 32;
34 workList.dispatches.Push(
36 staggeredJitter:
false,
42 doRandomizeEmptyClusters:
false,
43 useFullResTexRef:
true,
47 workingSize: textureSize,
49 jitterSize: jitterSize
readonly ComputeShader csHighlightRemoval
readonly UnityEngine.Video.VideoClip[] videos
Call Dispose after using.
override BenchmarkDescription GenerateBenchmark()
ScanlineJitter(int kernelSize, UnityEngine.Video.VideoClip[] videos, ComputeShader csHighlightRemoval)
Call Allocate before using and Dispose after using.
static Parameters Default()
Default value of Parameters.p is 2.5, which we experimentally confirmed to be optimal for our dataset...
const int fullTextureSize