Commit Graph

1879 Commits

Author SHA1 Message Date
Benjamin Arnaud 330f7ad1f6 qml/controlbarcontrols: Create ReverseButton 2022-03-13 14:13:24 +00:00
Benjamin Arnaud 026b9db3a9 qt: Create control_list_filter 2022-03-11 09:41:32 +00:00
Lyndon Brown 8b75d973bb qt: add expert preferences mode
This gives a table listing all options, similar to and inspired by the
`about:config` interface in Firefox.

Unique benefits:
 - It highlights which options have been modified from default state.
 - It allows selective resetting of individual options to default values.

Support is included to toggle booleans with a simple double-click.
Double-clicking on other types opens the edit dialog.

For colour selection items, the modify action directly opens the Qt
colour selection dialog rather than present the colour control used in
the advanced preferences view, since this is much cleaner.

Note that the existing simple and advanced views are not linked; if you
change an option in one view, that change is not reflected in the other,
and saving changes only uses the state from the selected view. The same
is currently true of the new expert mode, though I plan to later change
this behaviour (for all three).

Note also that hotkey items are deliberately excluded from this view.
The dedicated hotkey editor is best suited to managing hotkeys. It does
not work well to include the set of 224 unique hotkey options within this
table, especially since we'd have to duplicate the code checking for
duplicate assignments if we allow editing of them as with all other
option types within this interface. It may seem odd for the 'expert'
mode to be the only one without hotkey editing, however the hotkey editor
does not really fit well into 'advanced' mode either, and I have plans to
propose separating the hotkey editor entirely from within the set of
three views in a small redesign.

Fixes #18607.
2022-03-05 23:55:49 +00:00
Rémi Denis-Courmont 775fc2dcdd omxdl: remove never used module
The OpenMAX Development Layer seemingly never really happened, so this
module was never ever taken into use.
2022-02-23 23:14:46 +02:00
Benjamin Arnaud 877355ec8b qt: Create MLVideoFoldersModel 2022-02-20 14:18:57 +00:00
Benjamin Arnaud fd3245c227 qt: Create MLFolder 2022-02-20 14:18:57 +00:00
Benjamin Arnaud c536126d16 qt: Rename MLGroupListModel to MLVideoGroupsModel 2022-02-20 14:18:57 +00:00
Benjamin Arnaud 5175d5b8d3 qml: Create DvdMenuButton 2022-02-13 19:54:59 +00:00
Rémi Denis-Courmont 2bb3ae82da arm: move ARMv7 NEON stuff into isa/arm/neon
Down the line, we probably should not have one directory per ISA
extension. This replicates the model from the hw/*/ directory.

isa/ seems better than arch/ because:
 - "Instruction Set Architecture" is more specific than "Architecture",
 - it saves one character,
 - no modules/ subdirectory starts with I yet (so this will not break
   auto-completion habits).

This also moves non-NEON-specific files to isa/arm/.
2022-02-02 08:29:05 +00:00
Rémi Denis-Courmont 32b3f47bf0 gettext: update to 0.21 2022-01-22 08:24:11 +00:00
Steve Lhomme 7bd3788c2e mft: compile as C++ so we can use some more headers
Using COM interfaces is better in C++ anyway.

It also makes it usable with the GDK (Xbox).
2022-01-17 08:18:03 +00:00
Rémi Denis-Courmont 170f0352f9 davs2: AVS2 decoder with libdavs2
This adds an initial AVS2-P2 video decoder using libdavs2.
2022-01-11 19:10:51 +00:00
Benjamin Arnaud 62112b1488 qml: Create VideoAllSubDisplay 2022-01-10 13:21:47 +00:00
Benjamin Arnaud 6ee9299c56 qml/Group(s): Remove dedicated group views
After this, groups will be hidden until we bring them back in VideoAllDisplay.
2022-01-10 13:21:47 +00:00
Thomas Guillem 66dcab31d6 core: move block management from vlc_block.h to vlc_frame.h
Refs #18762
2021-12-23 21:24:01 +00:00
Thomas Guillem 0ba9fb3e06 core: move block.c to frame.c
No functional changes

Refs #18762
2021-12-23 21:24:01 +00:00
Pierre Lamot cea5406265 qt: rename MainInterface to MainCtx
MainInterface was the actual QWidget interface in VLC 3.0, now it's the
application context

only rename classes and files, no functional changes
2021-12-03 12:35:46 +00:00
Rémi Denis-Courmont c142d02bb4 udp access out: remove no longer used module 2021-12-01 20:01:08 +00:00
Rémi Denis-Courmont 9dec8f3bb0 sout/udp: add module for TS over raw UDP
This module does not pretend that UDP output is a regular access that
should be handled with the "standard" stream output.
This takes handles SAP much more cleanly and supports vector I/O to
avoid unnecessary memory copies.

Also fixes #26058.
2021-12-01 20:01:08 +00:00
Rémi Denis-Courmont ba662d032a data: add access for data URI scheme
As defined in RFC2397.
2021-11-03 21:52:43 +00:00
Romain Vimont 22775b884b video_filter: add formatcrop filter
This filter crops the input pictures by adjusting the format (offsets
and size), without any copy (contrary to croppadd).

This is especially useful to receive pictures with arbitrary visible
area (smaller than the full size), to debug vouts or filters.
2021-10-21 08:54:47 +00:00
Fatih Uzunoglu 41e84a0f8b qml: obey naming conventions 2021-09-17 09:07:13 +00:00
Fatih Uzunoglu 33bcb993e5 qml: move TeletextWidget.qml and VolumeWidget.qml 2021-09-17 09:07:13 +00:00
Fatih Uzunoglu 65fa26528d qml: export player toolbar controls 2021-09-17 09:07:13 +00:00
Benjamin Arnaud 6d95b00bd7 qml: Create MusicArtistDelegate 2021-09-16 09:09:47 +00:00
Adam Leung e358126960 qt: Removed legacy firstrun dialog 2021-09-02 13:07:25 +00:00
Adam Leung d33d01fb82 qt: Complete firstrun wizard 2021-09-02 13:07:25 +00:00
Prince Gupta 6bdc64f40e qml: refactor MusicAllArtists view in separate file 2021-07-30 08:03:16 +00:00
Steve Lhomme 6b7a6d86ae vout: direct3d11: build in C++
This allows using COM helpers and shorter API calls.

It's already built with C++ from the sensor and DirectComposition handlers.
2021-07-12 08:34:00 +02:00
Benjamin Arnaud 54c0ecc8be qt: Create MLItemCover
This class allows us to avoid duplicates for the CoverGenerator and the cover property.
2021-05-20 11:15:31 +00:00
Lyndon Brown 701bb8a69d spu: move common defines to new shared header
note that in the logo case, an extra note is added to the end of the pos
x/y longtext, requiring an override.

position texts tweaked to make generic.
2021-05-10 11:59:09 +00:00
Niklas Haas 9ae6b00125 libplacebo: add libplacebo<->OpenGL wrapper module
Supports both GL and GLES2, configurably.
2021-05-09 11:53:37 +00:00
Niklas Haas 7c340cd33d libplacebo: add libplacebo<->vulkan wrapper module 2021-05-09 11:53:37 +00:00
Niklas Haas 03b3360da3 libplacebo: move vout to API-agnostic module
Rebases vulkan/display.c ontop of the new API-agnostic libplacebo GPU
abstraction module. This opens up libplacebo/display.c to work with API
backends other than Vulkan.

Note: this has the side effect of bumping up the minimum libplacebo
dependency, because now the libplacebo vout is always compiled when
libplacebo is available. On the plus side, however, it simplifies the
configure check. That said, 1.7.0 is from 2018, and packaged everywhere
(including debian stable). so this should be fine.
2021-05-09 11:53:37 +00:00
Benjamin Arnaud 22bc7af601 qt: Create CoverGenerator
This class can be useful to retrieve composed thumbnails for groups, playlists and genres.

It supports a few options like custom size, count and division type.
2021-05-08 10:59:52 +00:00
Marvin Scholz e352525a4d macosx: remove _ANS macro
_PNS is a better and "standard" way to handle these cases
2021-04-27 14:48:01 +00:00
Marvin Scholz ae436e9717 macosx: add macro for contextualized translation strings 2021-04-27 14:48:01 +00:00
Benjamin Arnaud 01abb31ed5 qml: Create VideoGroupsDisplay
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-20 14:34:38 +02:00
Benjamin Arnaud ed036a2ef6 qml: Create MediaGroupDisplay
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-20 14:34:38 +02:00
Benjamin Arnaud 0278e9dad0 qml: Create MediaGroupList
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-20 14:34:38 +02:00
Benjamin Arnaud 8a2ff7cfe3 qt: Create MLGroupListModel
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-20 14:34:38 +02:00
Benjamin Arnaud 5b3f9a34d6 qt: Create MLGroup
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-20 14:34:38 +02:00
Pierre Ynard 342edae7ec po: add missing dav1d.c 2021-04-13 03:00:54 +02:00
Fatih Uzunoglu eb9b3a0378 qt: make player identifiers translatable
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-06 11:54:15 +02:00
Fatih Uzunoglu a1d9020d5a qml: add ToolbarEditorDialog
This patch brings a QML dialog to replace
the removed dialog. It should also fix the
dialog looking weird issue #25575 /
https://code.videolan.org/videolan/vlc/-/issues/25575

Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-06 11:54:15 +02:00
Fatih Uzunoglu 97019ddc6c qml: add WindowDialog
WindowDialog is a wrapper of QtQuick.Window which
provides a simple base for qml based dialogs. It
is intended to be an alternative to Qt.labs.platform
Dialog and Qt Quick Controls 2 Dialog.

Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-06 11:54:15 +02:00
Fatih Uzunoglu 8a9a83c896 qt: make default controlbar profile names translatable
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-06 11:54:15 +02:00
Fatih Uzunoglu 72c1f90792 qt: remove native ToolbarEditor dialog
the hybrid (native dialog + qml context)
toolbar editor dialog has a lot of drawbacks
and causes many problems. A proper QML dialog
for the toolbar editor is going to replace
the hybrid (old) one.

Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-04-06 11:54:15 +02:00
Benjamin Arnaud 48e2a0ee2e qml: Create PlaylistMediaDelegate
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-03-15 09:48:05 +01:00
Benjamin Arnaud fc3e927d00 qml: Create MusicPlaylistsDisplay
Signed-off-by: Pierre Lamot <pierre@videolabs.io>
2021-02-23 09:36:43 +01:00