scrcpy/app/src
Romain Vimont db55edb196 Fix YUV conversion for full color range
Take the color range (full vs limited) into account to render the
picture.

Note that with the current version of SDL, it has no impact with the SDL
opengl render driver.

Fixes #4756 <https://github.com/Genymobile/scrcpy/issues/4756>
Refs <https://github.com/Genymobile/scrcpy/issues/4756#issuecomment-2003228916>
Refs libusb/#9311 <https://github.com/libsdl-org/SDL/issues/9311>

Suggested-by: Simon Chan <1330321+yume-chan@users.noreply.github.com>
2024-03-30 15:28:09 +01:00
..
adb Fix memory leak on error 2024-02-01 09:19:47 +01:00
android Fix typos 2021-04-18 14:36:31 +02:00
hid Extract mouse HID handling 2024-03-01 00:51:39 +01:00
sys Use /dev/null instead of closing fds 2022-09-25 15:42:33 +02:00
trait Add shortcut to open keyboard settings 2024-03-01 00:52:10 +01:00
uhid Add UHID mouse support 2024-03-01 00:52:13 +01:00
usb Add shortcut to open keyboard settings 2024-03-01 00:52:10 +01:00
util Extract binary to hex string conversion 2024-03-01 00:51:44 +01:00
audio_player.c Avoid negative average buffering 2024-02-17 16:09:38 +01:00
audio_player.h Replace locks by atomics in audio player 2024-02-17 16:01:33 +01:00
cli.c Add a shortcut to pause/unpause display 2024-03-30 14:20:51 +01:00
cli.h Add --pause-on-exit 2023-10-11 09:43:44 +02:00
clock.c Simplify clock estimation 2023-03-30 20:58:33 +02:00
clock.h Simplify clock estimation 2023-03-30 20:58:33 +02:00
common.h Fix MIN/MAX macros 2023-03-03 01:18:10 +01:00
compat.c Add compat for reallocarray() 2023-03-10 22:22:15 +01:00
compat.h Add --record-orientation 2023-11-23 23:34:46 +01:00
control_msg.c Add shortcut to open keyboard settings 2024-03-01 00:52:10 +01:00
control_msg.h Add shortcut to open keyboard settings 2024-03-01 00:52:10 +01:00
controller.c Handle UHID output 2024-03-01 00:52:00 +01:00
controller.h Handle UHID output 2024-03-01 00:52:00 +01:00
coords.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
decoder.c Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
decoder.h Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
delay_buffer.c Simplify clock estimation 2023-03-30 20:58:33 +02:00
delay_buffer.h Optionally do not delay the first frame 2023-03-10 22:22:15 +01:00
demuxer.c Fix AV1 demuxing 2023-12-02 12:20:01 +01:00
demuxer.h Use packet source trait in demuxer 2023-03-10 22:22:15 +01:00
device_msg.c Handle UHID output 2024-03-01 00:52:00 +01:00
device_msg.h Handle UHID output 2024-03-01 00:52:00 +01:00
display.c Fix YUV conversion for full color range 2024-03-30 15:28:09 +01:00
display.h Fix YUV conversion for full color range 2024-03-30 15:28:09 +01:00
events.h Add --time-limit 2023-06-10 16:04:51 +02:00
file_pusher.c Stop and join sc_file_pusher only if initialized 2023-03-10 22:45:48 +01:00
file_pusher.h Use VecDeque in file_pusher 2023-03-10 22:22:15 +01:00
fps_counter.c Initialize interrupted field explicitly 2023-03-10 22:33:52 +01:00
fps_counter.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
frame_buffer.c Fix code style 2022-01-27 19:02:07 +01:00
frame_buffer.h Extract current video_buffer to frame_buffer 2021-07-14 14:22:32 +02:00
icon.c Add missing voids for empty parameter list 2023-10-23 21:50:40 +02:00
icon.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
input_events.h Force mouse source when --forward-all-clicks 2022-12-22 11:26:26 +01:00
input_manager.c Add a shortcut to pause/unpause display 2024-03-30 14:20:51 +01:00
input_manager.h Simulate tilt multitouch event by pressing Shift 2023-12-15 22:12:07 +01:00
keyboard_sdk.c Add shortcut to open keyboard settings 2024-03-01 00:52:10 +01:00
keyboard_sdk.h Rename default keyboard implementation to "sdk" 2024-03-01 00:51:41 +01:00
main.c Declare local functions as static 2023-10-24 23:06:57 +02:00
mouse_sdk.c Rename default keyboard implementation to "sdk" 2024-03-01 00:51:41 +01:00
mouse_sdk.h Rename default keyboard implementation to "sdk" 2024-03-01 00:51:41 +01:00
opengl.c Fix OpenGL ES prefix skip 2022-03-30 12:01:01 +02:00
opengl.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
options.c Introduce --keyboard and --mouse 2024-03-01 00:51:15 +01:00
options.h Add UHID mouse support 2024-03-01 00:52:13 +01:00
packet_merger.c Extract packet merging 2023-02-11 09:44:33 +01:00
packet_merger.h Extract packet merging 2023-02-11 09:44:33 +01:00
receiver.c Handle UHID output 2024-03-01 00:52:00 +01:00
receiver.h Handle UHID output 2024-03-01 00:52:00 +01:00
recorder.c Add --record-orientation 2023-11-23 23:34:46 +01:00
recorder.h Add --record-orientation 2023-11-23 23:34:46 +01:00
scrcpy.c Remove spurious line 2024-03-01 09:57:10 +01:00
scrcpy.h Add specific exit code for device disconnection 2022-03-06 22:19:46 +01:00
screen.c Add a shortcut to pause/unpause display 2024-03-30 14:20:51 +01:00
screen.h Add a shortcut to pause/unpause display 2024-03-30 14:20:51 +01:00
server.c Replace unsigned char by uint8_t for buffers 2024-02-23 20:07:52 +01:00
server.h Add support for high frame rate camera capture 2023-10-31 15:57:06 +01:00
v4l2_sink.c Fix v4l2 sink 2023-03-12 12:45:49 +01:00
v4l2_sink.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
version.c Print libusb version on --version 2022-02-09 10:15:19 +01:00
version.h Move version handling to a separate file 2022-02-09 10:15:07 +01:00