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
b63ab148
Commit
b63ab148
authored
Nov 02, 2009
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nokia770 arm_colorconv : save 1 word of the stack
r12 is a scratch register so use it
parent
82a6be7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
modules/video_filter/libswscale_nokia770/arm_colorconv.S
modules/video_filter/libswscale_nokia770/arm_colorconv.S
+6
-6
No files found.
modules/video_filter/libswscale_nokia770/arm_colorconv.S
View file @
b63ab148
...
...
@@ -35,10 +35,10 @@ yv12_to_yuy2_line_arm:
#define WIDTH ip
ldr
ip
,
[
sp
],
#
0
stmfd
sp
!,
{
r4
-
r8
,
r10
,
lr
}
stmfd
sp
!,
{
r4
-
r8
,
lr
}
#define TMP1 r8
#define TMP2 r1
0
#define TMP2 r1
2
#define TMP3 lr
bic
WIDTH
,
#
1
...
...
@@ -96,7 +96,7 @@ yv12_to_yuy2_line_arm:
subs
WIDTH
,
WIDTH
,
#
2
bgt
3
b
4
:
ldmfd
sp
!,
{
r4
-
r8
,
r10
,
pc
}
ldmfd
sp
!,
{
r4
-
r8
,
pc
}
#undef DST
#undef SRC_Y
...
...
@@ -116,7 +116,7 @@ yv12_to_yuy2_line_arm:
#define SRC_U r2
#define WIDTH r3
#define TMP1 r10
#define TMP2 r1
1
#define TMP2 r1
2
#define TMP3 lr
.
macro
YUV420_function_template
function_name
,
USE_PLD
,
USE_ARMV6
...
...
@@ -244,7 +244,7 @@ yv12_to_yuy2_line_arm:
.
if
\
USE_PLD
pld
[
SRC_Y
]
.
endif
stmfd
sp
!,
{
r4
-
r8
,
r10
-
r11
,
lr
}
stmfd
sp
!,
{
r4
-
r8
,
r10
,
lr
}
/
*
Destination
buffer
should
be
at
least
16
-
bit
aligned
,
image
width
should
be
multiple
of
4
*/
bic
DST
,
#
1
...
...
@@ -304,7 +304,7 @@ yv12_to_yuy2_line_arm:
subs
WIDTH
,
#
4
bgt
4
b
6
:
/
*
Restore
all
registers
and
return
*/
ldmfd
sp
!,
{
r4
-
r8
,
r10
-
r11
,
pc
}
ldmfd
sp
!,
{
r4
-
r8
,
r10
,
pc
}
.
purgem
CONVERT_4_PIXELS_MACROBLOCK
.
purgem
CONVERT_8_PIXELS_MACROBLOCK_1
...
...
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