Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
830bf1f2
Commit
830bf1f2
authored
Aug 24, 2007
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace/indentation cosmetics
Originally committed as revision 10217 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2722c981
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
112 additions
and
112 deletions
+112
-112
h264_altivec.c
libavcodec/ppc/h264_altivec.c
+112
-112
No files found.
libavcodec/ppc/h264_altivec.c
View file @
830bf1f2
...
@@ -820,7 +820,7 @@ static inline vec_u8_t h264_deblock_q1(register vec_u8_t p0,
...
@@ -820,7 +820,7 @@ static inline vec_u8_t h264_deblock_q1(register vec_u8_t p0,
finaltc0 = vec_and((vec_u8_t)tc0vec, mask);
/* tc = tc0 */
\
finaltc0 = vec_and((vec_u8_t)tc0vec, mask);
/* tc = tc0 */
\
\
\
p1mask = diff_lt_altivec(p2, p0, betavec); \
p1mask = diff_lt_altivec(p2, p0, betavec); \
p1mask = vec_and(p1mask, mask);
/* if
( |p2 - p0| < beta) */
\
p1mask = vec_and(p1mask, mask);
/* if
( |p2 - p0| < beta) */
\
tc0masked = vec_and(p1mask, (vec_u8_t)tc0vec); \
tc0masked = vec_and(p1mask, (vec_u8_t)tc0vec); \
finaltc0 = vec_sub(finaltc0, p1mask);
/* tc++ */
\
finaltc0 = vec_sub(finaltc0, p1mask);
/* tc++ */
\
newp1 = h264_deblock_q1(p0, p1, p2, q0, tc0masked); \
newp1 = h264_deblock_q1(p0, p1, p2, q0, tc0masked); \
...
@@ -840,7 +840,7 @@ static inline vec_u8_t h264_deblock_q1(register vec_u8_t p0,
...
@@ -840,7 +840,7 @@ static inline vec_u8_t h264_deblock_q1(register vec_u8_t p0,
static
void
h264_v_loop_filter_luma_altivec
(
uint8_t
*
pix
,
int
stride
,
int
alpha
,
int
beta
,
int8_t
*
tc0
)
{
static
void
h264_v_loop_filter_luma_altivec
(
uint8_t
*
pix
,
int
stride
,
int
alpha
,
int
beta
,
int8_t
*
tc0
)
{
if
((
tc0
[
0
]
&
tc0
[
1
]
&
tc0
[
2
]
&
tc0
[
3
])
>=
0
)
{
if
((
tc0
[
0
]
&
tc0
[
1
]
&
tc0
[
2
]
&
tc0
[
3
])
>=
0
)
{
register
vec_u8_t
p2
=
vec_ld
(
-
3
*
stride
,
pix
);
register
vec_u8_t
p2
=
vec_ld
(
-
3
*
stride
,
pix
);
register
vec_u8_t
p1
=
vec_ld
(
-
2
*
stride
,
pix
);
register
vec_u8_t
p1
=
vec_ld
(
-
2
*
stride
,
pix
);
register
vec_u8_t
p0
=
vec_ld
(
-
1
*
stride
,
pix
);
register
vec_u8_t
p0
=
vec_ld
(
-
1
*
stride
,
pix
);
...
@@ -858,7 +858,7 @@ static void h264_v_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha,
...
@@ -858,7 +858,7 @@ static void h264_v_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha,
static
void
h264_h_loop_filter_luma_altivec
(
uint8_t
*
pix
,
int
stride
,
int
alpha
,
int
beta
,
int8_t
*
tc0
)
{
static
void
h264_h_loop_filter_luma_altivec
(
uint8_t
*
pix
,
int
stride
,
int
alpha
,
int
beta
,
int8_t
*
tc0
)
{
register
vec_u8_t
line0
,
line1
,
line2
,
line3
,
line4
,
line5
;
register
vec_u8_t
line0
,
line1
,
line2
,
line3
,
line4
,
line5
;
if
((
tc0
[
0
]
&
tc0
[
1
]
&
tc0
[
2
]
&
tc0
[
3
])
<
0
)
if
((
tc0
[
0
]
&
tc0
[
1
]
&
tc0
[
2
]
&
tc0
[
3
])
<
0
)
return
;
return
;
readAndTranspose16x6
(
pix
-
3
,
stride
,
line0
,
line1
,
line2
,
line3
,
line4
,
line5
);
readAndTranspose16x6
(
pix
-
3
,
stride
,
line0
,
line1
,
line2
,
line3
,
line4
,
line5
);
h264_loop_filter_luma_altivec
(
line0
,
line1
,
line2
,
line3
,
line4
,
line5
,
alpha
,
beta
,
tc0
);
h264_loop_filter_luma_altivec
(
line0
,
line1
,
line2
,
line3
,
line4
,
line5
,
alpha
,
beta
,
tc0
);
...
...
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