Commits on Source (18)
-
Steve Lhomme authored
The core cannot give us a null scaling.
149ec7c4 -
Steve Lhomme authored88a96744
-
Steve Lhomme authored47ef6c88
-
Steve Lhomme authored
They are only shown in the display area, regardless of the picture cropping.
3434d904 -
Steve Lhomme authoredb91f768c
-
Steve Lhomme authored
This is how the main picture is handled as well
488a671c -
Steve Lhomme authored7c37a081
-
Steve Lhomme authoredeaaf8cfc
-
Steve Lhomme authored7908d46e
-
Steve Lhomme authored918e7fc1
-
Steve Lhomme authoredf6845137
-
Steve Lhomme authored
The picture format already has a way to set cropping values in the picture. We just need a clone of the picture to change the metadata.
f9434a95 -
Steve Lhomme authored
The local blend_fmt was just exactly the same.
073cba39 -
Steve Lhomme authored
The zooming factor is applied once in the core, no need to make the display module compute it.
7b5664c0 -
Steve Lhomme authored
A display module may set a value but not be used in the end.
d8a0130e -
Steve Lhomme authored
We already require these display modules to be able to place and scale/stretch the video picture.
17bc969d -
Steve Lhomme authored
At this stage all regions are picture-based (ie not text regions). We don't need to check it anymore. Even if someday display modules can render text regions on their own, they can surely do the scaling too.
afbc933c -
Steve Lhomme authored
We can avoid some scaling rounding if it's not applied.
36f6d1c5
Showing
- include/vlc_spu.h 1 addition, 2 deletionsinclude/vlc_spu.h
- include/vlc_subpicture.h 0 additions, 5 deletionsinclude/vlc_subpicture.h
- include/vlc_vout_display.h 0 additions, 1 deletioninclude/vlc_vout_display.h
- modules/hw/mmal/mmal_picture.c 3 additions, 2 deletionsmodules/hw/mmal/mmal_picture.c
- modules/hw/mmal/mmal_picture.h 1 addition, 0 deletionsmodules/hw/mmal/mmal_picture.h
- modules/hw/mmal/vout.c 5 additions, 2 deletionsmodules/hw/mmal/vout.c
- modules/stream_out/transcode/video.c 1 addition, 1 deletionmodules/stream_out/transcode/video.c
- modules/video_output/android/display.c 2 additions, 1 deletionmodules/video_output/android/display.c
- modules/video_output/apple/VLCSampleBufferDisplay.m 6 additions, 6 deletionsmodules/video_output/apple/VLCSampleBufferDisplay.m
- modules/video_output/libplacebo/display.c 3 additions, 6 deletionsmodules/video_output/libplacebo/display.c
- modules/video_output/opengl/sub_renderer.c 2 additions, 2 deletionsmodules/video_output/opengl/sub_renderer.c
- modules/video_output/win32/direct3d11.cpp 4 additions, 17 deletionsmodules/video_output/win32/direct3d11.cpp
- modules/video_output/win32/direct3d9.c 10 additions, 10 deletionsmodules/video_output/win32/direct3d9.c
- modules/video_output/xcb/render.c 53 additions, 17 deletionsmodules/video_output/xcb/render.c
- src/misc/subpicture.c 1 addition, 7 deletionssrc/misc/subpicture.c
- src/video_output/display.c 1 addition, 0 deletionssrc/video_output/display.c
- src/video_output/video_output.c 1 addition, 1 deletionsrc/video_output/video_output.c
- src/video_output/vout_subpictures.c 35 additions, 36 deletionssrc/video_output/vout_subpictures.c
- test/modules/video_output/opengl/sub_renderer.c 0 additions, 2 deletionstest/modules/video_output/opengl/sub_renderer.c