outputSize

open override val outputSize: VideoSize?

The same two numbers the encode path already resolves: the reported viewport when a host gave one, and the layer's own drawable size otherwise. Both are physical pixels, which is what the engine needs to rasterise subtitles at 1:1 instead of stretching them.