Draft: waylandsink: Detect output rotation and (optionally) pre-rotate buffers in decoders
On some hardware decoders are able to rotate buffers cheaply during e.g. post-processing. Especially on 90/270 degree rotated outputs this can have advantages compared to doing the rotation with display hardware.
Implement display rotation detection for GstWaylandSink
and add plumbing to pass that info up to decoders.
TODOs:
-
waylandsink: offload rotate-method
to display server (!2543 (merged)) -
waylandsink: offload output and rotate-method
orientations to upstream viaGstVideoOrientationMeta
(or display server if not successful) -
videoflip: support GstVideoOrientationMeta
from downstream -
videoflip: support GstVideoOrientationMeta
from upstream (optional or follow-up) -
videoflip: offload method
and downstreamGstVideoOrientationMeta
orientations to upstream (optional or follow-up) -
va: support GstVideoOrientationMeta
from downstream (optional or follow-up) -
Some more cleanups
cc @ndufresne, @ocrete, @gkiagia