Commits on Source (13)
-
No actual changes in the result.
68403add -
Since we reserved pictures, the bigger size of the pool is not a benefit. It was necessary in 3.0 where the pool was coming from the display module. We can split them since they always worked on different pictures. vd->source is the same video format as osys->display_fmt used for the display pool in this case since there is no converter.
e6d1db2e -
We don't need extra pictures in the private pool. We use this pool for temporary pictures in filters and blending. They are never queued/pending.
e0e3976b -
vd->source and sys->original are the same format. We use the maximum size that was used for now, so private_picture + kept_picture.
e8b7483c -
It's no longer needed in the wrapper structure.
4dc0706f -
637effdc
-
It's only used by the converter.
971a456c -
If it fails for the selected display module, we may skip to another one that will succeed in allocating the pool.
0e1c0675 -
We also don't allocate the converter pool if we don't need to. Now osys->converters can be NULL. In that case vout_ConvertForDisplay() is just a pass through, and doesn't need to call an empty filter chain for nothing.
4236b917 -
It's only created when there's a converter. We don't need to check anymore. We can remove the unused vout_IsDisplayConverted().
5e9aae63 -
We don't need more. It's never queued, only possibly kept for displaying.
4337ce5c -
picture_pool_GetSize() is not used anymore.
53c21ea2 -
It was useful in the past when the vout was allocating buffers once. We don't need this trick anymore.
ed8f57fa
Showing
- include/vlc_picture_pool.h 0 additions, 25 deletionsinclude/vlc_picture_pool.h
- src/libvlccore.sym 0 additions, 1 deletionsrc/libvlccore.sym
- src/misc/picture_pool.c 0 additions, 33 deletionssrc/misc/picture_pool.c
- src/test/picture_pool.c 1 addition, 26 deletionssrc/test/picture_pool.c
- src/video_output/display.c 38 additions, 37 deletionssrc/video_output/display.c
- src/video_output/interlacing.c 10 additions, 10 deletionssrc/video_output/interlacing.c
- src/video_output/video_output.c 38 additions, 16 deletionssrc/video_output/video_output.c
- src/video_output/vout_private.h 10 additions, 14 deletionssrc/video_output/vout_private.h
- src/video_output/vout_wrapper.c 2 additions, 45 deletionssrc/video_output/vout_wrapper.c
- src/video_output/vout_wrapper.h 0 additions, 3 deletionssrc/video_output/vout_wrapper.h