Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 531974 Details for
Bug 649798
=media-video/vlc-3.0.1-r1 on arm with USE=neon errors with: audio_filter/channel_mixer/simple.c:262:25: fatal error: simple_neon.h: No such file or directory
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for the missing simple_neon.h
vlc-3.0.2-add-missing-neon-h.patch (text/plain), 3.23 KB, created by
tt_1
on 2018-05-18 06:58:35 UTC
(
hide
)
Description:
patch for the missing simple_neon.h
Filename:
MIME Type:
Creator:
tt_1
Created:
2018-05-18 06:58:35 UTC
Size:
3.23 KB
patch
obsolete
>diff --git a/modules/audio_filter/channel_mixer/simple_neon.h b/modules/audio_filter/channel_mixer/simple_neon.h >new file mode 100644 >index 0000000..2fe6075 >--- /dev/null >+++ b/modules/audio_filter/channel_mixer/simple_neon.h >@@ -0,0 +1,72 @@ >+/***************************************************************************** >+ * simple_neon.h : simple channel mixer plug-in using NEON assembly >+ ***************************************************************************** >+ * Copyright (C) 2002, 2004, 2006-2009, 2012, 2015 VLC authors and VideoLAN >+ * $Id$ >+ * >+ * Authors: Gildas Bazin <gbazin@videolan.org> >+ * David Geldreich <david.geldreich@free.fr> >+ * Sébastien Toque >+ * Thomas Guillem <thomas@gllm.fr> >+ * >+ * This program is free software; you can redistribute it and/or modify it >+ * under the terms of the GNU Lesser General Public License as published by >+ * the Free Software Foundation; either version 2.1 of the License, or >+ * (at your option) any later version. >+ * >+ * This program is distributed in the hope that it will be useful, >+ * but WITHOUT ANY WARRANTY; without even the implied warranty of >+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+ * GNU Lesser General Public License for more details. >+ * >+ * You should have received a copy of the GNU Lesser General Public License >+ * along with this program; if not, write to the Free Software Foundation, >+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. >+ *****************************************************************************/ >+ >+#ifdef HAVE_CONFIG_H >+# include "config.h" >+#endif >+#include <vlc_cpu.h> >+ >+/* Only conversion to Mono, Stereo and 4.0 right now */ >+/* Only from 7/7.1/5/5.1/3/3.1/2.0 >+ * XXX 5.X rear and middle are handled the same way */ >+ >+#define NEON_WRAPPER(in, out) \ >+ void convert_##in##_to_##out##_neon_asm(float *dst, const float *src, int num, bool lfeChannel); \ >+ static inline void DoWork_##in##_to_##out##_neon( filter_t *p_filter, block_t *p_in_buf, block_t *p_out_buf ) \ >+ { \ >+ const float *p_src = (const float *)p_in_buf->p_buffer; \ >+ float *p_dest = (float *)p_out_buf->p_buffer; \ >+ convert_##in##_to_##out##_neon_asm( p_dest, p_src, p_in_buf->i_nb_samples, \ >+ p_filter->fmt_in.audio.i_physical_channels & AOUT_CHAN_LFE ); \ >+ } \ >+ static inline void (*GET_WORK_##in##_to_##out##_neon())(filter_t*, block_t*, block_t*) \ >+ { \ >+ return vlc_CPU_ARM_NEON() ? DoWork_##in##_to_##out##_neon : DoWork_##in##_to_##out; \ >+ } >+ >+NEON_WRAPPER(7_x,2_0) >+NEON_WRAPPER(5_x,2_0) >+NEON_WRAPPER(4_0,2_0) >+NEON_WRAPPER(3_x,2_0) >+NEON_WRAPPER(7_x,1_0) >+NEON_WRAPPER(5_x,1_0) >+NEON_WRAPPER(7_x,4_0) >+NEON_WRAPPER(5_x,4_0) >+ >+/* TODO: the following conversions are not handled in NEON */ >+ >+#define C_WRAPPER(in, out) \ >+ static inline void (*GET_WORK_##in##_to_##out##_neon())(filter_t*, block_t*, block_t*) \ >+ { \ >+ return DoWork_##in##_to_##out; \ >+ } >+ >+C_WRAPPER(4_0,1_0) >+C_WRAPPER(3_x,1_0) >+C_WRAPPER(2_x,1_0) >+C_WRAPPER(6_1,2_0) >+C_WRAPPER(7_x,5_x) >+C_WRAPPER(6_1,5_x)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 649798
:
522624
|
522626
|
524394
| 531974 |
533946