scrcpy/app/src
Romain Vimont 2ddf760c09 Make video_buffer more generic
The video buffer took ownership of the producer frame (so that it could
swap frames quickly).

In order to support multiple sinks plugged to the decoder, the decoded
frame must not be consumed by the display video buffer.

Therefore, move the producer and consumer frames out of the video
buffer, and use FFmpeg AVFrame refcounting to share ownership while
avoiding copies.
2021-04-25 14:38:42 +02:00
..
android Remove AINPUT_SOURCE_ANY value 2018-08-12 15:35:29 +02:00
sys Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
util Assert non-recursive usage of mutexes 2021-02-17 09:54:03 +01:00
adb.c Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
adb.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
cli.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
cli.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
common.h Group common includes into common.h 2021-01-08 19:22:10 +01:00
compat.c Provide strdup() compat 2021-02-17 09:53:25 +01:00
compat.h Remove compat with old FFmpeg codec params API 2021-04-25 14:38:42 +02:00
control_msg.c Add control message to expand settings panel 2021-04-25 14:36:48 +02:00
control_msg.h Add control message to expand settings panel 2021-04-25 14:36:48 +02:00
controller.c Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
controller.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
coords.h Move common structs to coords.h 2021-01-08 19:22:10 +01:00
decoder.c Make video_buffer more generic 2021-04-25 14:38:42 +02:00
decoder.h Make video_buffer more generic 2021-04-25 14:38:42 +02:00
device.c Group common includes into common.h 2021-01-08 19:22:10 +01:00
device.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
device_msg.c Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
device_msg.h Replace SDL_strdup() by strdup() 2021-02-17 09:54:03 +01:00
event_converter.c Group common includes into common.h 2021-01-08 19:22:10 +01:00
event_converter.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
events.h Remove unused custom event 2021-02-14 14:44:05 +01:00
file_handler.c Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
file_handler.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
fps_counter.c Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
fps_counter.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
icon.xpm Add window icon 2018-02-05 14:46:00 +01:00
input_manager.c Add mouse shortcut to expand settings panel 2021-04-25 14:36:48 +02:00
input_manager.h Count repeated identical key events 2021-04-25 14:36:48 +02:00
main.c Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
opengl.c Enable trilinear filtering for OpenGL 2020-04-15 17:39:51 +02:00
opengl.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
receiver.c Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
receiver.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
recorder.c Remove compat with old FFmpeg codec params API 2021-04-25 14:38:42 +02:00
recorder.h Wrap SDL thread functions into scrcpy-specific API 2021-02-17 09:54:03 +01:00
scrcpy.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
scrcpy.h Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
screen.c Make video_buffer more generic 2021-04-25 14:38:42 +02:00
screen.h Make video_buffer more generic 2021-04-25 14:38:42 +02:00
server.c Ensure get_server_path() retval is freeable 2021-04-22 22:12:23 +02:00
server.h Support power off on close 2021-03-16 21:12:35 +01:00
stream.c Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
stream.h Remove option --render-expired-frames 2021-04-25 14:38:42 +02:00
tiny_xpm.c Group common includes into common.h 2021-01-08 19:22:10 +01:00
tiny_xpm.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
video_buffer.c Make video_buffer more generic 2021-04-25 14:38:42 +02:00
video_buffer.h Make video_buffer more generic 2021-04-25 14:38:42 +02:00