Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
ba5c0ebe
Commit
ba5c0ebe
authored
Dec 06, 2001
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed dumb renaming of #define's for altivec :-p.
parent
beb815f0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
plugins/idct/idctaltivec.c
plugins/idct/idctaltivec.c
+5
-5
plugins/motion/motionaltivec.c
plugins/motion/motionaltivec.c
+5
-5
No files found.
plugins/idct/idctaltivec.c
View file @
ba5c0ebe
...
...
@@ -2,7 +2,7 @@
* idctaltivec.c : Altivec IDCT module
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: idctaltivec.c,v 1.
19 2001/11/28 15:08:05
massiot Exp $
* $Id: idctaltivec.c,v 1.
20 2001/12/06 13:46:23
massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -122,7 +122,7 @@ static void InitIDCT( void ** pp_idct_data )
* IDCT in Altivec
*****************************************************************************/
#ifndef
HAV
E_C_ALTIVEC
#ifndef
CAN_COMPIL
E_C_ALTIVEC
static
int16_t
constants
[
5
][
8
]
ATTR_ALIGN
(
16
)
=
{
{
23170
,
13573
,
6518
,
21895
,
-
23170
,
-
21895
,
32
,
31
},
...
...
@@ -558,11 +558,11 @@ void idct_block_add_altivec (int16_t * block, uint8_t * dest, int stride)
);
}
#endif
/* !
HAV
E_C_ALTIVEC */
#endif
/* !
CAN_COMPIL
E_C_ALTIVEC */
#endif
/* __BUILD_ALTIVEC_ASM__ */
#if defined(
HAV
E_C_ALTIVEC) || defined(__BUILD_ALTIVEC_ASM__)
#if defined(
CAN_COMPIL
E_C_ALTIVEC) || defined(__BUILD_ALTIVEC_ASM__)
#define vector_s16_t vector signed short
#define vector_u16_t vector unsigned short
...
...
@@ -740,7 +740,7 @@ void idct_block_add_altivec (vector_s16_t * block, unsigned char * dest,
ADD
(
dest
,
vx7
,
perm1
)
}
#endif
/* __BUILD_ALTIVEC_ASM__ ||
HAV
E_C_ALTIVEC */
#endif
/* __BUILD_ALTIVEC_ASM__ ||
CAN_COMPIL
E_C_ALTIVEC */
#ifndef __BUILD_ALTIVEC_ASM__
...
...
plugins/motion/motionaltivec.c
View file @
ba5c0ebe
...
...
@@ -2,7 +2,7 @@
* motionaltivec.c : Altivec motion compensation module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: motionaltivec.c,v 1.
6 2001/11/28 15:08:05
massiot Exp $
* $Id: motionaltivec.c,v 1.
7 2001/12/06 13:46:23
massiot Exp $
*
* Authors: Michel Lespinasse <walken@zoy.org>
* Paul Mackerras <paulus@linuxcare.com.au>
...
...
@@ -95,7 +95,7 @@ static int motion_Probe( probedata_t *p_data )
* Motion compensation in Altivec
*****************************************************************************/
#ifndef
HAV
E_C_ALTIVEC
#ifndef
CAN_COMPIL
E_C_ALTIVEC
/*
* The asm code is generated with:
...
...
@@ -1129,10 +1129,10 @@ static void MC_avg_xy_8_altivec (uint8_t * dest, uint8_t * ref,
);
}
#endif
/* !
HAV
E_C_ALTIVEC */
#endif
/* !
CAN_COMPIL
E_C_ALTIVEC */
#endif
/* __BUILD_ALTIVEC_ASM__ */
#if defined(
HAV
E_C_ALTIVEC) || defined(__BUILD_ALTIVEC_ASM__)
#if defined(
CAN_COMPIL
E_C_ALTIVEC) || defined(__BUILD_ALTIVEC_ASM__)
#define vector_s16_t vector signed short
#define vector_u16_t vector unsigned short
...
...
@@ -2084,7 +2084,7 @@ void MC_avg_xy_8_altivec (unsigned char * dest, unsigned char * ref,
vec_ste
((
vector_u32_t
)
tmp
,
4
,
(
unsigned
int
*
)
dest
);
}
#endif
/*
HAV
E_C_ALTIVEC || __BUILD_ALTIVEC_ASM__ */
#endif
/*
CAN_COMPIL
E_C_ALTIVEC || __BUILD_ALTIVEC_ASM__ */
#ifndef __BUILD_ALTIVEC_ASM__
/*****************************************************************************
...
...
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