Alexandre Perraud
992dcf8968
qt : new faster and slower icons
3 years ago
Alexandre Perraud
2012d52bc8
qt : new next and previous icons
3 years ago
Alexandre Perraud
a6447d47eb
qt : new repeat and shuffle menu icons
3 years ago
Alexandre Perraud
21b88b4702
qt : new play and pause icons to menu
3 years ago
Alexandre Perraud
78931b8de1
qt : logically rename play and pause icons
3 years ago
Alexandre Perraud
3a57952ba7
qt : new play pause player svg icons
3 years ago
Alexandre Perraud
d254f2c437
qt : new discover, music, network and video topbar svg icons
3 years ago
Alexandre Perraud
97ab1d297e
qt : new menu and search svg icons
Rename menu to more
3 years ago
Alexandre Perraud
5d96179209
qt : new grid and list svg icons
3 years ago
Alexandre Perraud
161188c614
qt : new playlist_clear and playlist_add svg icons
3 years ago
Alexandre Perraud
68ef5aec81
qt : new sort svg icons
3 years ago
Alexandre Perraud
60a884a4d8
qt : new shuffle and repeat svg icons
Signed-off-by: Alexandre Perraud <alexandre@videolan.org>
3 years ago
Martin Finkel
87b88369c3
build: fix --enable-shared vout linking error on iOS
Fixes Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_NSNumber", referenced from:
objc-class-ref in libsamplebufferdisplay_plugin_la-VLCSampleBufferDisplay.o
3 years ago
Steve Lhomme
eaf149b7f8
vlc_fourcc: remove read-only VLC_CODEC_RGB32
It's never used as such. Only 4 masks existed and they have been replaced with
VLC_CODEC_BGRX, VLC_CODEC_XRGB, VLC_CODEC_XBGR and VLC_CODEC_RGBX.
3 years ago
Steve Lhomme
89fbb25b90
fourcc: change the VLC_CODEC_XRGB FourCC to RV32
So that code passing a chroma as a string ends up on the on the same chroma
layout.
3 years ago
Steve Lhomme
2519e9127a
bitmapinfoheader: don't map unknown 32-bit RGB mask layout
We want to get rid of masks internally, we can't handle odd values, just like FFmpeg.
3 years ago
Steve Lhomme
fc2aab663f
bitmapinfoheader: map common 32-bit RGB masks to our 32-bit RGB chromas
The mask in AVI correspond to the Little-Endian values we read.
The alpha mask tested is the full 32-bit mask and not just 0xFF which only
matched RGBA before dd73c3e0a0 .
3 years ago
Steve Lhomme
eea22be588
bitmapinfoheader: use XRGB for 32-bit RGB reading by default
Only use RGB32 when there's a mask involved (BI_BITFIELDS).
3 years ago
Steve Lhomme
22ba40db6a
opengl: use VLC_CODEC_BGRA for interops using GL_BGRA format
It is used to signal that the internal format will be RGB+alpha
so use the proper value right away.
This corresponds to the VLC FourCC<->OpenGL format mapping in interop_sw.
3 years ago
Steve Lhomme
c9778355fd
opengl: use VLC_CODEC_RGBA for interops using GL_RGBA format
It is used to signal that the internal format will be RGB+alpha
so use the proper value right away.
This corresponds to the VLC FourCC<->OpenGL format mapping in interop_sw.
3 years ago
Steve Lhomme
d307f9d691
vout/xcb: refuse masks that can't be mapped to VLC chromas
We have the most common ones and we won't be able to convert them
otherwise.
3 years ago
Steve Lhomme
920fff9b38
vout/xcb: map 32-bit RGB to RGB+x chromas
We pass the mask verbatim so that's how the mask were interpreted so far.
3 years ago
Steve Lhomme
d4a741f77f
vout/xcb: fall through to handle 32-bit RGB only once
3 years ago
Steve Lhomme
92d89bc3b3
vlc_fourcc: remove read-only VLC_CODEC_RGB24M
It's never used as such. Only 2 masks existed and they have been replaced with
VLC_CODEC_RGB24 and VLC_CODEC_BGR24.
3 years ago
Steve Lhomme
3b76d00aca
bitmapinfoheader: always read 24-bit RGB as BGR24
Using BI_BITFIELDS is only allowed for 16/32 bits. VLC always writes BI_RGB
and flips the bits to match it if necessary.
3 years ago
Steve Lhomme
e0d9ea7f65
vout/xcb: refuse masks that can't be mapped to VLC chromas
We have the most common ones and we won't be able to convert them
otherwise.
3 years ago
Steve Lhomme
eb4484d474
vout/xcb: map 24-bit RGB to RGB24
We pass the mask verbatim so that's how the mask were interpreted so far.
3 years ago
Steve Lhomme
740cac575c
vout/xcb: don't set a mask on chromas without a mask
3 years ago
Steve Lhomme
3af18cdaa9
screen/xcb: replace VLC_CODEC_RGB24M with VLC_CODEC_RGB24
This is the format once the mask will be "fixed".
3 years ago
Steve Lhomme
af019fba69
kva: map common 32-bit and 24-bit RGB masks
The RGB32/RGB24 masks are passed verbatim to VLC. So the same assumptions
we made on the masks were correct, regardless of endianness.
3 years ago
Alexandre Janniaux
a7d9d5c382
opengl: gl_util: reindent after last changes
3 years ago
Alexandre Janniaux
fcbf389973
opengl: gl_util: use early return
3 years ago
Alexandre Janniaux
7ffcdfb326
opengl: sampler: fix deprecated usage of texture2D
texture() should be used after GLSL 130 on OpenGL, and must be used
after GLSL 300 es on OpenGL ES.
Fixes #28369
3 years ago
Alexandre Janniaux
ce861a7c8d
opengl: sampler: store the glsl version used
The GLSL version will be used to generate the correct function names for
non-forward compatible functions.
3 years ago
Alexandre Janniaux
bb82ea905b
opengl: gl_util: dump shader in case of error
3 years ago
Alexandre Janniaux
1f22c3af54
opengl: gl_common: add glGetShaderSource
Getting the shader source enable better debugging when an error happens.
3 years ago
Alexandre Janniaux
b33eba9732
stream_out: rtp: silence unused variable
The es_id string is not used in the RTP module, leading to:
../../modules/stream_out/rtp.c: In function ‘Add’:
../../modules/stream_out/rtp.c:920:83: warning: unused parameter ‘es_id’ [-Wunused-parameter]
920 | static void *Add( sout_stream_t *p_stream, const es_format_t *p_fmt, const char * es_id )
| ~~~~~~~~~~~~~^~~~~
3 years ago
Alexandre Janniaux
fd14efa7ab
blend: fix uninitialized alpha
The alpha is not initialized for some chroma which were not using it.
../../modules/video_filter/blend.cpp: In function ‘void Blend(const {anonymous}::CPicture&, const {anonymous}::CPicture&, unsigned int, unsigned int, int) [with TDst = {anonymous}::CPictureYUVPlanar<short unsigned int, 1, 1, false, false>; TSrc = {anonymous}::CPictureRGBX<4>; TConvert = {anonymous}::compose<{anonymous}::convertBits<10, 8>, {anonymous}::convertRgbToYuv8>]’:
../../modules/video_filter/blend.cpp:542:32: warning: ‘spx.{anonymous}::CPixel::a’ may be used uninitialized [-Wmaybe-uninitialized]
542 | unsigned a = div255(alpha * spx.a);
| ~~~~~~^~~~~~~~~~~~~~~
../../modules/video_filter/blend.cpp:537:20: note: ‘spx.{anonymous}::CPixel::a’ was declared here
537 | CPixel spx;
| ^~~
../../modules/video_filter/blend.cpp: In function ‘void Blend(const {anonymous}::CPicture&, const {anonymous}::CPicture&, unsigned int, unsigned int, int) [with TDst = {anonymous}::CPictureYUVPlanar<short unsigned int, 1, 1, false, false>; TSrc = {anonymous}::CPictureRGBX<4>; TConvert = {anonymous}::compose<{anonymous}::convertBits<16, 8>, {anonymous}::convertRgbToYuv8>]’:
../../modules/video_filter/blend.cpp:542:32: warning: ‘spx.{anonymous}::CPixel::a’ may be used uninitialized [-Wmaybe-uninitialized]
542 | unsigned a = div255(alpha * spx.a);
| ~~~~~~^~~~~~~~~~~~~~~
../../modules/video_filter/blend.cpp:537:20: note: ‘spx.{anonymous}::CPixel::a’ was declared here
537 | CPixel spx;
| ^~~
3 years ago
Alexandre Janniaux
0f47aa0882
gui: ncurses: use size_t for index subscript
Fix warning:
../../modules/gui/ncurses.c: In function ‘DrawStats’:
../../modules/gui/ncurses.c:691:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
691 | for (int i = 0; i < item->es_vec.size ; i++) {
| ^
3 years ago
Thomas Guillem
a235b9dd1b
audiotrack: use a fixed size for the jarray
Don't try to copy the whole frame to the jarray buffer but copy it chunk
by chunk (50ms max). Therefore, a same frame can now be used for more
than one java write.
This fixes the following error and abort when allocating a too big
jarray (likely when sending a lot of silence to catch up with a playback
way to early).
E VLC : [9b14b710/138c] libvlc generic: jarray allocation failed
E VLC : [9b14b710/138c] libvlc generic: Write failed: ERROR
F DEBUG : Abort message: 'art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: JNI GetJavaVM called with pending exception java.lang.OutOfMemoryError: Failed to allocate a 99591132 byte allocation with 3792244 free bytes and 90MB until OOM'
3 years ago
Thomas Guillem
17e4aee33b
audiotrack: fix invalid join in case of clone error
3 years ago
Thomas Guillem
ccd3eaae3f
audiotrack: remove WRITE_BYTEBUFFER method
It was only used with Android API 21 and 22 (Android 5.x).
Remove this code that behave differently than all other write methods
and that is not as tested as the others.
3 years ago
Fatih Uzunoglu
cc8e12bea6
qml: show volume slider tool tip when mouse is pressed
3 years ago
Fatih Uzunoglu
655cb03df1
qml: show slider tool tip when the control is pressed
3 years ago
Fatih Uzunoglu
d5159d1ee6
qt: add missing call in NavigationHistory
... otherwise match() does not work properly
when previous() is called.
3 years ago
Steve Lhomme
3b728b54f2
win32: really fix the DllMain signature
After 9ca790a641 the DWORD turned into
an unsigned, but it should be an unsigned long.
3 years ago
Steve Lhomme
de4685a6d8
vout/drm: remove comment
DRM_FORMAT_RGBA8888 haa a VLC mapping since c6a3c197e0
3 years ago
Steve Lhomme
f13bface72
vout/drm: remove unused vlc_drm_format()
3 years ago
Steve Lhomme
f72e39f223
vout/drm: use vlc_drm_fourcc() instead of vlc_drm_format()
They return the same thing.
3 years ago
Steve Lhomme
c3ec37df66
vout/drm: remove unused vlc_video_format_drm()
3 years ago