media/libraries/transformer/src
huangdarwin 79f471b59a Transformer GL: Fix rotation distortion by considering aspect ratio
Compensate for aspect ratio of input frames, so that they're applied on
rectangular frames instead of square normalized-device-coordinate frames.

This fixes distortion most visible when rotating any GL video 45°
(non-rectangular frames) or 90° (stretched frames)

Tested by rotating several landscape/portrait demo videos.
(Automated tests will follow in <unknown commit>)

PiperOrigin-RevId: 419619743
2022-01-05 12:15:35 +00:00
..
androidTest Use TransformationException for GL errors. 2022-01-05 12:15:27 +00:00
main Transformer GL: Fix rotation distortion by considering aspect ratio 2022-01-05 12:15:35 +00:00
test Refactor checking muxer support. 2022-01-05 12:15:34 +00:00