Within all the introduced static libraries, the module cannot be known
at compilation time. This moves the module name from a compilation
constant to a link time constant string symbol. That way, the same
compiled object within a static library can use a different and correct
module name depending on which plugin it is linked into.
The symbol is hidden so it does not leak between shared objects. For
non-plugins shared libraries (vlccore, vlc, vlc_pulse and
vlc_xcb_events) the module name must be defined manually, unless the
library does not use msg_* macros at all (vlc_vdpau).
Test most common YUV420 conversions with SSE and without SSE. These conversions
are used via VAAPI, direct3d* and via videotoolbox.
There is no warranty that the source should be aligned when using copy.h, so
all tests are performed with a non aligned picture source. The destination is
always a picture allocated by VLC (so aligned).
The test verify that there are no memory corruption (via asan or just crashing)
and verify that colors are preserved. It will now assert if someone introduce a
green line.
If there is no valid streams, setPosition should not return
true/success. This can happen when DEMUX_SET_TIME failed which lead to
all streams disabled, and then try DEMUX_SET_POSITION.
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
It doesn't like outputing to a render target with 2 slices. Render targets are
allowed to have 2 slices but not more. So we should only use 1 from now on.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Otherwise we use the global LDFLAGS that's set for modules and export the
module resources many times.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>