10 UnityEngine.Video.VideoClip[]
videos,
18 "Scaling vs subsampling (KHM)"
21 foreach (UnityEngine.Video.VideoClip video in
this.videos)
23 for (
int textureSize = 256; textureSize >= 8; textureSize /= 2)
25 foreach (
bool doDownscale
in new bool[] {
true,
false })
27 workList.dispatches.Push(
29 staggeredJitter:
false,
31 doDownscale: doDownscale,
35 doRandomizeEmptyClusters:
false,
36 useFullResTexRef:
true,
40 workingSize: textureSize,
readonly ComputeShader csHighlightRemoval
readonly UnityEngine.Video.VideoClip[] videos
Call Dispose after using.
ScalingVsSubsampling(int kernelSize, UnityEngine.Video.VideoClip[] videos, ComputeShader csHighlightRemoval)
override BenchmarkDescription GenerateBenchmark()
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