Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
752b854e
Commit
752b854e
authored
Sep 28, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bugs in the MacOS X port.
parent
e61bfa60
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
Makefile.opts.in
Makefile.opts.in
+3
-3
plugins/idct/idctaltivec.c
plugins/idct/idctaltivec.c
+4
-4
No files found.
Makefile.opts.in
View file @
752b854e
...
...
@@ -188,7 +188,7 @@ ifneq (,$(findstring mingw32,$(SYS)))
LIB
+=
-lws2_32
-lnetapi32
endif
LIB
+=
-L
/usr/local/lib
@LIB@
LIB
+=
@LIB@
#
# C compiler flags: mainstream compilation
...
...
@@ -266,7 +266,7 @@ LCFLAGS += -Wall
ifneq
($(DEBUG),1)
ifneq
($(GPROF),1)
ifneq
($(CPROF),1)
LCFLAGS
+=
-s
#
LCFLAGS += -s
endif
endif
endif
...
...
@@ -277,7 +277,7 @@ endif
#
# C compiler and linker flags: setting soname
#
SOFLAGS
+
=
@SOFLAGS@
SOFLAGS
=
@SOFLAGS@
#
# C compiler flags: plugin compilation
...
...
plugins/idct/idctaltivec.c
View file @
752b854e
...
...
@@ -2,7 +2,7 @@
* idctaltivec.c : Altivec IDCT module
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
* $Id: idctaltivec.c,v 1.1
7 2001/09/28 14:17:16
massiot Exp $
* $Id: idctaltivec.c,v 1.1
8 2001/09/28 15:08:40
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -121,6 +121,8 @@ static void InitIDCT( void ** pp_idct_data )
* IDCT in Altivec
*****************************************************************************/
#ifndef HAVE_C_ALTIVEC
static
int16_t
constants
[
5
][
8
]
ATTR_ALIGN
(
16
)
=
{
{
23170
,
13573
,
6518
,
21895
,
-
23170
,
-
21895
,
32
,
31
},
{
16384
,
22725
,
21407
,
19266
,
16384
,
19266
,
21407
,
22725
},
...
...
@@ -129,8 +131,6 @@ static int16_t constants[5][8] ATTR_ALIGN(16) = {
{
19266
,
26722
,
25172
,
22654
,
19266
,
22654
,
25172
,
26722
}
};
#ifndef HAVE_C_ALTIVEC
/*
* The asm code is generated with:
*
...
...
@@ -673,7 +673,7 @@ void idct_block_add_altivec (int16_t * block, uint8_t * dest, int stride)
vx6 = vec_sra (vy6, shift); \
vx7 = vec_sra (vy7, shift);
static
vector_s16_t
constants
[
5
]
=
{
static
vector_s16_t
constants
[
5
]
ATTR_ALIGN
(
16
)
=
{
(
vector_s16_t
)(
23170
,
13573
,
6518
,
21895
,
-
23170
,
-
21895
,
32
,
31
),
(
vector_s16_t
)(
16384
,
22725
,
21407
,
19266
,
16384
,
19266
,
21407
,
22725
),
(
vector_s16_t
)(
22725
,
31521
,
29692
,
26722
,
22725
,
26722
,
29692
,
31521
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment