scrcpy/app
Romain Vimont c0e1a4152f Support camera size selection using -m/--camera-ar
In addition to --camera-size to specify an explicit size, make it
possible to select the camera size automatically, respecting the maximum
size (already used for display mirroring) and an aspect ratio.

For example, "scrcpy --video-source=camera" followed by:
 - (no additional arguments)
    : mirrors at the maximum size, any a-r
 - -m1920
    : only consider valid sizes having both dimensions not above 1920
 - --camera-ar=4:3
    : only consider valid sizes having an aspect ratio of 4:3 (+/- 10%)
 - -m2048 --camera-ar=1.6
    : only consider valid sizes having both dimensions not above 2048
      and an aspect ratio of 1.6 (+/- 10%)

Co-authored-by: Simon Chan <1330321+yume-chan@users.noreply.github.com>
2023-10-28 00:45:52 +02:00
..
data Support camera size selection using -m/--camera-ar 2023-10-28 00:45:52 +02:00
prebuilt-deps Upgrade platform-tools (34.0.3) for Windows 2023-06-22 00:10:37 +02:00
src Support camera size selection using -m/--camera-ar 2023-10-28 00:45:52 +02:00
tests Replace sprintf() with safer snprintf() 2023-10-25 16:13:34 +02:00
meson.build Add --time-limit 2023-06-10 16:04:51 +02:00
scrcpy-windows.manifest
scrcpy-windows.rc Bump version to 2.1.1 2023-07-14 18:58:58 +02:00
scrcpy.1 Support camera size selection using -m/--camera-ar 2023-10-28 00:45:52 +02:00