scrcpy/app/tests
Romain Vimont aa40d451a1 Add --capture-orientation
Deprecate --lock-video-orientation in favor of a more general option
--capture-orientation, which supports all possible orientations
(0, 90, 180, 270, flip0, flip90, flip180, flip270), and a "locked" flag
via a '@' prefix.

All the old "locked video orientations" are supported:
 - --lock-video-orientation      ->  --capture-orientation=@
 - --lock-video-orientation=0    ->  --capture-orientation=@0
 - --lock-video-orientation=90   ->  --capture-orientation=@90
 - --lock-video-orientation=180  ->  --capture-orientation=@180
 - --lock-video-orientation=270  ->  --capture-orientation=@270

In addition, --capture-orientation can rotate/flip the display without
locking, so that it follows the physical device rotation.

For example:

    scrcpy --capture-orientation=flip90

always flips and rotates the capture by 90° clockwise.

The arguments are consistent with --orientation (which provides a
separate client-side orientation).
2024-11-16 11:28:22 +01:00
..
test_adb_parser.c Fix "ip route" parsing 2023-04-02 19:30:23 +02:00
test_audiobuf.c Replace locks by atomics in audio player 2024-02-17 16:01:33 +01:00
test_binary.c Add util functions to write in little-endian 2024-09-15 11:21:56 +02:00
test_cli.c Add --capture-orientation 2024-11-16 11:28:22 +01:00
test_control_msg_serialize.c Add shortcut to reset video capture/encoding 2024-11-03 19:31:02 +01:00
test_device_msg_deserialize.c Handle UHID output 2024-03-01 00:52:00 +01:00
test_orientation.c Add --display-orientation 2023-11-23 23:27:28 +01:00
test_str.c Replace sprintf() with safer snprintf() 2023-10-25 16:13:34 +02:00
test_strbuf.c
test_vecdeque.c Add missing `void`s for empty parameter list 2023-10-23 21:50:40 +02:00
test_vector.c Add missing `void`s for empty parameter list 2023-10-23 21:50:40 +02:00