Maxime Chapelet
fb5cfd5204
codec: videotoolbox: Check wherever a metal device can be fetched on iOS
Metal device is mandatory to handle P010 chroma on mobile/tv devices.
The Metal device API can only be used in ObjC context hence a new ObjC source file had to be created to handle the device detection.
3 years ago
Maxime Chapelet
d80a7ace36
videotoolbox: allow CVPX_P010 on all Darwin systems
Only OpenGLES isn’t compatible with `x420` formats. Other renderer
implementation using Metal or AVSampleBufferDisplayLayer can display
this chroma just fine.
3 years ago
Maxime Chapelet
5193c8dbe3
vout: opengl: reject VLC_CODEC_CVPX_P010 on iOS
There’s no possible interoperability between VLC_CODEC_CVPX_P010 and the native
Darwin OpenGLES backend given it can’t allocate more than 8bit-per-pixel textures. Hence we can reject this chroma to prevent the display from opening in this
case.
3 years ago
Rémi Denis-Courmont
93907682b4
contrib: mingw: fix ARCH usage
IA-32 is canonicalised as i386 by the ad-hoc script.
$(ARCH) will never equal i686.
3 years ago
Steve Lhomme
fc6e7432d8
kva: don't map to RGB formats that require a mask
We have plenty of RGB chromas, if we can't use one without a mask, we
won't be able to convert anything to that chroma anyway.
3 years ago
Steve Lhomme
ba843e9771
kva: add support for RGB555 variants
We have to match the RGB mask from sys->kvac.
We assume the buffers depend on endianness, given OS/2 supports Big-Endian
and Little-Endian.
3 years ago
Steve Lhomme
fd67b8b58f
kva: add support for RGB565 variants
We have to match the RGB mask from sys->kvac.
We assume the buffers depend on endianness, given OS/2 supports Big-Endian
and Little-Endian.
3 years ago
Steve Lhomme
7732b55477
kva: initialize i_chroma_shift to 0
So we don't have to do it most of the time.
3 years ago
Steve Lhomme
1ea223dff9
vlc_fourcc: add defines for host endianness 15-bit and 16-bit chromas
They are the chromas that should normally be used.
3 years ago
Rémi Denis-Courmont
c9f3ee973c
contrib: cargo: fix job server usage (again)
Fixes #28386 .
3 years ago
Steve Lhomme
5233ea3df8
opengl/sw: remove always identical parameter
It's always GL_TEXTURE_2D.
3 years ago
Steve Lhomme
a8df11ec80
opengl/sw: remove unused fallback_masks
The RGB chromas that need mask fixing left are RGB16 and RGB15.
The only chroma that vlc_fourcc_GetRGBFallback() may provide is RGB16.
But fixing RGB16 ends up being equivalent to VLC_CODEC_RGB565LE, which
is listed before RGB16 in all the RGB fallback lists. So if RGB565LE is
not supported RGB16 + default mask won't be either. And in fact neither
are referenced by any OpenGL code, so it will never happen.
It would have been used only if interop_rgb_base_init() supported them
as that's what is called to try to support the tested chromas. But only
chromas without a mask are supported since eaf149b7f8 .
Partial revert of remaining bits from 3b4d89ac00 .
3 years ago
Steve Lhomme
c09a9dfd51
auhal: use the system constants from vlc_aout
vlc_aout.h is included from coreaudio_common.h.
3 years ago
Steve Lhomme
e34d36a07a
opengl/sw: don't handle RGB+x as RGB+alpha
The alpha component value will be undefined but treated as an actual
alpha value.
3 years ago
Alexandre Janniaux
bdfe5c778e
opengl: sub_renderer: dynamically setup version
The GLSL version was chosen at compile time, but the sub_renderer is
built for both OpenGL and GL ES, and linux can have both implementations
at the same time, so ensure the correct version will be picked at
runtime.
Fixes the following error in test:
test_opengl gl error: program: error: vertex shader lacks `main'
3 years ago
Alexandre Janniaux
118e4bc0da
opengl: gl_util: log shaders on program errors
3 years ago
Alexandre Janniaux
355d0020f4
opengl: gl_util: refactor LogShader
3 years ago
Alexandre Janniaux
e09743a4d7
gl_common: add glGetAttachedShaders
3 years ago
Alexandre Janniaux
c0373d30c4
opengl: gl_util: reindent after last changes
3 years ago
Alexandre Janniaux
1744f25c28
opengl: gl_util: use early return
3 years ago
Steve Lhomme
17377f4b7e
dxa9: fix crash when there is not extra converter
It's a legit case already handled in various places.
3 years ago
Fatih Uzunoglu
d5ad9d6a53
qml: put ArtworkInfoWidget shadow under the rectangle
3 years ago
Fatih Uzunoglu
1f7662b14c
qml: hide shadow in MusicAlbumsGridExpandDelegate when image is not ready
3 years ago
Fatih Uzunoglu
986e264659
qml: hide shadow in VideoInfoExpandPanel when image is not ready
3 years ago
Fatih Uzunoglu
6fd4dbaf46
qml: hide shadow in PlaylistDelegate when image is not ready
3 years ago
Fatih Uzunoglu
235d8d68b1
qml: remove unnecessary Item in TableColumns
3 years ago
Fatih Uzunoglu
904270ad55
qml: change parent of ListCoverShadow in TableColumns
3 years ago
Fatih Uzunoglu
e22b4706ff
qml: change parent of ListCoverShadow in VideoInfoExpandPanel
3 years ago
Fatih Uzunoglu
7c8ae8293d
qml: use paintedWidth/paintedHeight for sizing the shadow in ArtworkInfoWidget
3 years ago
Fatih Uzunoglu
2986590d3a
qml: use high precision in fading edge shader code
3 years ago
Rémi Denis-Courmont
293601d230
contrib: vpx: restrict architectures
VPX has an exclusive list of supported instruction sets.
This follows it, unblocking contrib builds on other targets.
3 years ago
Rémi Denis-Courmont
4be3b87500
contrib: orc: needs autoreconf
This fixes the build on riscv64-linux-gnu, which is otherwise not
recognised as a valid triplet.
3 years ago
Steve Lhomme
9d458af161
ci: rebuild contribs when the extras/package content changes
If the makefile changes, enables/disables things, we should rebuild the contribs.
3 years ago
Steve Lhomme
a6caa96f1d
filter_picture: pass only the chroma to GetPackedRgbIndexes()
We don't need anything else anymore.
3 years ago
Alexandre Perraud
0a473bd411
qt : add licence for fluent icons
3 years ago
Alexandre Perraud
68fc976d66
qt : new playlist svg icon
3 years ago
Alexandre Perraud
7f50541a70
qt : new bookmark and snapshot icons
3 years ago
Alexandre Perraud
eb17f5fea4
qt : new effect and filter icon
3 years ago
Alexandre Perraud
114e529611
qt : fullscreen and defullscreen icons
3 years ago
Alexandre Perraud
54d0f5c4af
qt : new stop and eject icons
3 years ago
Alexandre Perraud
017098ff14
qt : new skip forward and backward 10 sec icons
3 years ago
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