Entry | |
---|---|
R0 | Overlay ID |
R1 | Width |
R2 | Height |
R3 | Aspect ratio to use if the image size needs adjusting |
Top 16 bits = width | |
Bottom 16 bits = height |
Exit | |
---|---|
R1 | Actual width |
R2 | Actual height |
- | All other registers preserved |
Adjusts the scale of the overlay.
Rounding errors or other hardware limits may prevent the chosen values from being used, in which case the driver will make the necessary adjustments (while maintaining the indicated aspect ratio) and return the actual values used.