This is the only "old" external that is still being used to calculate the mean values for the motion-and-videogram generating. Because of this, it might suddenly end up being un-supported down the line. Either way, a custom replacement is safer in any case.
For now, I use the [jit.gl.asyncread] to downsample the texture to a matrix going into the [xray.jit.mean] before re-converting it back to a texture for further processing down the line. This readback method, which downsamples and reads the image from the GPU to the CPU for the mean calculations, seems to be a good practice since the CPU is obviously more optimized to handle these kinds of operations. However, these conversion processes (back and forth between the GPU and CPU) introduces more unnecessary processing which can affect the performance of the app.. maybe..
In any case, I think it would be interesting to find a way to do this on the GPU, so effectively replace [xray.jit.mean] with something in [jit.gl.pix], or something. Alternatively, using the same readback method but with some custom jitter method on the CPU.