Rémi Denis-Courmont
cb863f0796
i420_yuy2: use VLC_ALTIVEC
(cherry picked from commit 03d8a050e0 )
4 years ago
Thomas Guillem
2b36c960ae
chroma: cvpx: use copy helper instead of sub filters
(cherry picked from commit e15546b2e1 )
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
9 years ago
Steve Lhomme
ec0b3bc1a8
hw:d3d9: move the filter modules declaration in modules/hw/d3d9
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
ad428695a6
hw:d3d11: move the filter modules declaration in modules/hw/d3d11
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
06df19ba15
direct3d11: link with d3d11 on Winstore builds
It's not implied by libd3d11_common
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Thomas Guillem
d78a9a20d3
chroma: copy: fix typo
Harmless since the typo was done everywhere
9 years ago
Steve Lhomme
2ef2b693e7
d3d9: move the device creation in libd3d9_common
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Thomas Guillem
aabcba9302
chroma: copy: add tests
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.
9 years ago
Steve Lhomme
bfe261050d
direct3d11: move the common code in C file rather than inline and use a static lib
Also move some code from dxgi_fmt to d3d11_fmt
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
12e8de8577
modules: rename internal static libs to libsomething and force static linking
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>
9 years ago
Steve Lhomme
241ab74104
modules: move copy.c in a locally built static library
So it's not built multiple times and also make it easier to do a clean static
build.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
9 years ago
Felix Paul Kühne
1fccfccbaf
video_chroma/cvpx: set correct deployment targets
9 years ago
Steve Lhomme
718a32856a
video_chroma:d3d9: add a module to convert from CPU to GPU textures
And set a picture->context as if it's coming from the decoder, otherwise
snapshots won't work.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
2139237836
video_chroma:d3d11: add a module to convert from CPU to GPU textures
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Thomas Guillem
710ecb4ffa
chroma: cvpx: add more filters
Add CVPX_{NV12|UYVY|I420} to I420 and I420 to CVPX{NV12|UYVY|I420} filters.
9 years ago
Thomas Guillem
1521d9bd8c
videotoolbox: add vt_utils helper
This helper will be used by the videotoobox codec, the cvpx chroma and by the
cvpx opengl converter.
9 years ago
Thomas Guillem
373c8d8919
chroma: move cvpx_i420 to cxpx
9 years ago
Steve Lhomme
ee2e09bc75
direct3d9: add a shared header to describe the VLC_CODEC_D3D9_OPAQUE chroma
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years ago
Steve Lhomme
86f58b58af
direct3d11: move the VLC_CODEC_D3D11_OPAQUE definition in a separate header
Shared by all code using the opaque format.
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Steve Lhomme
031a152a71
chroma: add a filter to convert VLC_CODEC_I420_10L to VLC_CODEC_P010
10 years ago
Steve Lhomme
ad8cbfd644
chroma: add a converter from I420/YV12 to NV12
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
10 years ago
Jean-Baptiste Kempf
822cc45dd3
Move YUVP filter to Video Chroma
10 years ago
Steve Lhomme
0023f983d3
d3d11_surface: better debugging of surface issues
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Felix Paul Kühne
e503f5b00f
configure: add header check for VideoToolbox
This fixes compilation for Darwin platforms without this framework
11 years ago
Felix Paul Kühne
935211ca09
chroma converter: add CVPixelBuffer to I420 converter
11 years ago
Steve Lhomme
8b62450cea
d3d11va: add a D3D11 hardware decoder similar to DXVA2
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Steve Lhomme
e030b34b77
dxva2: convert D3D9 textures to planes using an external filter
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Rémi Denis-Courmont
edba5bbd45
configure: move LIBM to Makefiles
12 years ago
Rémi Denis-Courmont
c414a2871a
video_chroma: remove recursion
13 years ago
Rémi Denis-Courmont
98cea7a2a2
modules: remove VLC-specific AM_LIBADD, simplify
13 years ago
Rémi Denis-Courmont
20cdb051ac
modules: simplify CPPFLAGS & CFLAGS
13 years ago
Rémi Denis-Courmont
e679db425d
modules: set MODULE_NAME_IS_... where needed only
13 years ago
Rémi Denis-Courmont
e67cf044cc
modules: use different directory prefixes for each plugins subdirectory
This is just a step toward less recursion.
13 years ago
Rémi Denis-Courmont
14ee5e9896
i420_rgb: split files and clean up
13 years ago
Rémi Denis-Courmont
640d0794a0
modules: factor Makefile statement
13 years ago
Rémi Denis-Courmont
43b465fe06
altivec: merge back into video_chroma (refs #9367 )
It is a bit odd that both inline and external flags are mixed together.
This might be an old silent bug.
13 years ago
Rémi Denis-Courmont
4c7fcb01d7
sse2: merge back into video_chroma (refs #9367 )
13 years ago
Rémi Denis-Courmont
4ec424aa08
mmx: merge back into video_chroma (refs #9367 )
13 years ago
Rémi Denis-Courmont
928e2fbf7a
video_chroma: avoid genmf
13 years ago