mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-04-02 02:49:12 +00:00
Update is also meant to fix bug where if x11
isn't define in DISTRO_FEATURES builds will
fail to compile.
Upgrades version of VLC to 3.0.17
* Reason for update with version 3.0.12 compiling
using GLESv2 and without x11/wayland defined in
DISTRO_FEATURES it was proven to be difficult.
Newer version of VLC appears to have better support
for GLESv2 as there was far less hurdles.
* SRCREV set to b276eb0d7bc3213363e97dbb681ef7c927be6c73
Updates to PACKAGECONFIG
* Only include GLESv2 if opengl defined in DISTRO_FEATURES
* Only include libnotify is x11 included in DISTRO_FEATURES.
Not checking for wayland as well because wayland integration
requires a separate MR.
* remove ability to set certain flags as they require
significant more development time to integrate. Probably
best to include in separate MR.
Flags for:
- opencv
- freerdp
- samba
- dvdread
- vdpau
- wayland
- dca
Removal of
--------------------------------------------------------
TARGET_CFLAGS:append = " -fcommon"
TARGET_CXXFLAGS:append = " -fcommon"
--------------------------------------------------------
as define in configure.ac via the
3001-configure.ac-setup-for-OE-usage.patch patch
Removes extraneous sed operations in the do_configure
takes. Appears to nolonger be required.
Adds required flags to build that couldn't be set in configure.ac
------------------------------------------------------------------
TARGET_CFLAGS:append = " -I${STAGING_INCDIR}/drm"
TARGET_LDFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES',
'opengl', '-lGLESv2', '', d)}"
------------------------------------------------------------------
Replaces patches with updated patches used in actual commit.
Prepend patches that are from meta-openembedded/meta-multimedia
to 2XXX-<PATCH NAME>.patch. Adds nine new patches to fix ./configure,
compile, runtime bugs.
PATCHES:
- 3001-configure.ac-setup-for-OE-usage.patch
* Used to ensure crossed compilted OE libraries are used during
compilation. Specifically for the mmal and omxil libraries.
- 3002-fix-EGL-macro-undeclared-and-EGLImageKHR.patch
* Appears to be missing EGL preprocesor directives patch
defines them. The function createImageKHR also appears
to return EGLImageKHR not EGLImage patch updates. To
accommodate for change.
- 3003-codec-omxil_core-replace-opt-vc-path-with-usr-lib.patch
* Configures omxil_core.c for OE usages as libbcm_host.so
and libopenmaxil.so are located in a different location.
- 3004-use-GLESv2-headers-over-GL-headers.patch
* Ensures GLESv2 headers are used over OpenGL headers.
- 3005-modules-remove-glspectrum-usage.patch
* Removes glspectrum plugin as it appears to require
normal OpenGL and not GLESv2 for usage.
- 3006-codec-omxil_core.h-fix-multiple-definition-of.patch
* Removes compile error due to function pointer in omxil_core.h
header being defined multiple times as the header is included
in multiple c source files.
- 3007-remove-xorg-related-link-libs.patch
* Removes xorg related flags if x11 isn't defined in
DISTRO_FEATURES variable.
- 3008-vo-Makefile.am-exclude-libgl_plugin.patch
* Removes the libgl_plugin from being built if opengl
not defined in DISTRO_FEATURES variable.
- 3009-vo-converter_vaapi-Fix-EGL-macro-undeclared.patch
* Appears to be missing EGL preprocesor directives patch
defines them.
Signed-off-by: Vincent Davis Jr <vince@underview.tech>
54 lines
1.4 KiB
Diff
54 lines
1.4 KiB
Diff
Upstream-Status: Inappropriate
|
|
|
|
RPI-Distro repo forks original vlc and applies patches
|
|
to enable raspiberry pi support.
|
|
|
|
--- a/modules/hw/mmal/blend_rgba_neon.S
|
|
+++ b/modules/hw/mmal/blend_rgba_neon.S
|
|
@@ -1,10 +1,10 @@
|
|
- .syntax unified
|
|
- .arm
|
|
-// .thumb
|
|
- .text
|
|
+#include "../../arm_neon/asm.S"
|
|
.align 16
|
|
.arch armv7-a
|
|
- .fpu neon-vfpv4
|
|
+ .syntax unified
|
|
+#if HAVE_AS_FPU_DIRECTIVE
|
|
+ .fpu neon-vfpv4
|
|
+#endif
|
|
|
|
@ blend_rgbx_rgba_neon
|
|
|
|
--- a/modules/hw/mmal/codec.c
|
|
+++ b/modules/hw/mmal/codec.c
|
|
@@ -29,6 +29,7 @@
|
|
#include <stdatomic.h>
|
|
|
|
#include <vlc_common.h>
|
|
+#include <vlc_cpu.h>
|
|
#include <vlc_plugin.h>
|
|
#include <vlc_codec.h>
|
|
#include <vlc_filter.h>
|
|
@@ -2311,6 +2312,9 @@ static int OpenBlendMmal(vlc_object_t *o
|
|
filter_t * const p_filter = (filter_t *)object;
|
|
const vlc_fourcc_t vfcc_dst = p_filter->fmt_out.video.i_chroma;
|
|
|
|
+ if (!vlc_CPU_ARM_NEON())
|
|
+ return VLC_EGENERIC;
|
|
+
|
|
if (!hw_mmal_chroma_is_mmal(vfcc_dst) ||
|
|
!hw_mmal_vzc_subpic_fmt_valid(&p_filter->fmt_in.video))
|
|
{
|
|
@@ -2421,6 +2425,9 @@ static int OpenBlendNeon(vlc_object_t *o
|
|
MMAL_FOURCC_T mfcc_dst = vlc_to_mmal_video_fourcc(&p_filter->fmt_out.video);
|
|
blend_neon_fn * blend_fn = (blend_neon_fn *)0;
|
|
|
|
+ if (!vlc_CPU_ARM_NEON())
|
|
+ return VLC_EGENERIC;
|
|
+
|
|
// Non-alpha RGB only for dest
|
|
if (vfcc_dst != VLC_CODEC_RGB32)
|
|
return VLC_EGENERIC;
|