Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
3f3f8b2b
Commit
3f3f8b2b
authored
19 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
Originally committed as revision 4312 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6ad1fa5a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libavcodec/armv4l/dsputil_arm.c
+9
-42
9 additions, 42 deletions
libavcodec/armv4l/dsputil_arm.c
libavcodec/armv4l/mpegvideo_arm.c
+0
-2
0 additions, 2 deletions
libavcodec/armv4l/mpegvideo_arm.c
with
9 additions
and
44 deletions
libavcodec/armv4l/dsputil_arm.c
+
9
−
42
View file @
3f3f8b2b
...
@@ -22,9 +22,7 @@
...
@@ -22,9 +22,7 @@
#include
"ipp.h"
#include
"ipp.h"
#endif
#endif
#ifdef HAVE_IWMMXT
extern
void
dsputil_init_iwmmxt
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
extern
void
dsputil_init_iwmmxt
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
#endif
extern
void
j_rev_dct_ARM
(
DCTELEM
*
data
);
extern
void
j_rev_dct_ARM
(
DCTELEM
*
data
);
extern
void
simple_idct_ARM
(
DCTELEM
*
data
);
extern
void
simple_idct_ARM
(
DCTELEM
*
data
);
...
@@ -43,41 +41,13 @@ void put_no_rnd_pixels8_y2_arm(uint8_t *block, const uint8_t *pixels, int line_s
...
@@ -43,41 +41,13 @@ void put_no_rnd_pixels8_y2_arm(uint8_t *block, const uint8_t *pixels, int line_s
void
put_no_rnd_pixels8_xy2_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
void
put_no_rnd_pixels8_xy2_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
void
put_pixels16_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
void
put_pixels16_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
);
static
void
put_pixels16_x2_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
)
{
put_pixels8_x2_arm
(
block
,
pixels
,
line_size
,
h
);
put_pixels8_x2_arm
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
}
static
void
put_pixels16_y2_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
)
{
put_pixels8_y2_arm
(
block
,
pixels
,
line_size
,
h
);
put_pixels8_y2_arm
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
}
static
void
put_pixels16_xy2_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
)
{
put_pixels8_xy2_arm
(
block
,
pixels
,
line_size
,
h
);
put_pixels8_xy2_arm
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
}
static
void
put_no_rnd_pixels16_x2_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
)
CALL_2X_PIXELS
(
put_pixels16_x2_arm
,
put_pixels8_x2_arm
,
8
)
{
CALL_2X_PIXELS
(
put_pixels16_y2_arm
,
put_pixels8_y2_arm
,
8
)
put_no_rnd_pixels8_x2_arm
(
block
,
pixels
,
line_size
,
h
);
CALL_2X_PIXELS
(
put_pixels16_xy2_arm
,
put_pixels8_xy2_arm
,
8
)
put_no_rnd_pixels8_x2_arm
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
CALL_2X_PIXELS
(
put_no_rnd_pixels16_x2_arm
,
put_no_rnd_pixels8_x2_arm
,
8
)
}
CALL_2X_PIXELS
(
put_no_rnd_pixels16_y2_arm
,
put_no_rnd_pixels8_y2_arm
,
8
)
CALL_2X_PIXELS
(
put_no_rnd_pixels16_xy2_arm
,
put_no_rnd_pixels8_xy2_arm
,
8
)
static
void
put_no_rnd_pixels16_y2_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
)
{
put_no_rnd_pixels8_y2_arm
(
block
,
pixels
,
line_size
,
h
);
put_no_rnd_pixels8_y2_arm
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
}
static
void
put_no_rnd_pixels16_xy2_arm
(
uint8_t
*
block
,
const
uint8_t
*
pixels
,
int
line_size
,
int
h
)
{
put_no_rnd_pixels8_xy2_arm
(
block
,
pixels
,
line_size
,
h
);
put_no_rnd_pixels8_xy2_arm
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
}
static
void
add_pixels_clamped_ARM
(
short
*
block
,
unsigned
char
*
dest
,
int
line_size
)
static
void
add_pixels_clamped_ARM
(
short
*
block
,
unsigned
char
*
dest
,
int
line_size
)
{
{
...
@@ -166,10 +136,9 @@ static void add_pixels_clamped_ARM(short *block, unsigned char *dest, int line_s
...
@@ -166,10 +136,9 @@ static void add_pixels_clamped_ARM(short *block, unsigned char *dest, int line_s
/* [F] */
/* [F] */
"add %1, %1, %2
\n\t
"
"add %1, %1, %2
\n\t
"
"bne 1b
\n\t
"
"bne 1b
\n\t
"
:
:
"+r"
(
block
),
:
"r"
(
block
),
"+r"
(
dest
)
"r"
(
dest
),
:
"r"
(
line_size
)
"r"
(
line_size
)
:
"r4"
,
"r5"
,
"r6"
,
"r7"
,
"r8"
,
"r9"
,
"r10"
,
"cc"
,
"memory"
);
:
"r4"
,
"r5"
,
"r6"
,
"r7"
,
"r8"
,
"r9"
,
"r10"
,
"cc"
,
"memory"
);
}
}
...
@@ -208,9 +177,7 @@ static void simple_idct_ipp_put(uint8_t *dest, int line_size, DCTELEM *block)
...
@@ -208,9 +177,7 @@ static void simple_idct_ipp_put(uint8_t *dest, int line_size, DCTELEM *block)
#endif
#endif
}
}
#ifdef HAVE_IWMMXT
void
add_pixels_clamped_iwmmxt
(
const
DCTELEM
*
block
,
uint8_t
*
pixels
,
int
line_size
);
void
add_pixels_clamped_iwmmxt
(
const
DCTELEM
*
block
,
uint8_t
*
pixels
,
int
line_size
);
#endif
static
void
simple_idct_ipp_add
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
)
static
void
simple_idct_ipp_add
(
uint8_t
*
dest
,
int
line_size
,
DCTELEM
*
block
)
{
{
...
...
This diff is collapsed.
Click to expand it.
libavcodec/armv4l/mpegvideo_arm.c
+
0
−
2
View file @
3f3f8b2b
...
@@ -21,9 +21,7 @@
...
@@ -21,9 +21,7 @@
#include
"../mpegvideo.h"
#include
"../mpegvideo.h"
#include
"../avcodec.h"
#include
"../avcodec.h"
#ifdef HAVE_IWMMXT
extern
void
MPV_common_init_iwmmxt
(
MpegEncContext
*
s
);
extern
void
MPV_common_init_iwmmxt
(
MpegEncContext
*
s
);
#endif
void
MPV_common_init_armv4l
(
MpegEncContext
*
s
)
void
MPV_common_init_armv4l
(
MpegEncContext
*
s
)
{
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment