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
3f3f8b2b
Commit
3f3f8b2b
authored
May 26, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
Originally committed as revision 4312 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6ad1fa5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
44 deletions
+9
-44
dsputil_arm.c
libavcodec/armv4l/dsputil_arm.c
+9
-42
mpegvideo_arm.c
libavcodec/armv4l/mpegvideo_arm.c
+0
-2
No files found.
libavcodec/armv4l/dsputil_arm.c
View file @
3f3f8b2b
...
...
@@ -22,9 +22,7 @@
#include "ipp.h"
#endif
#ifdef HAVE_IWMMXT
extern
void
dsputil_init_iwmmxt
(
DSPContext
*
c
,
AVCodecContext
*
avctx
);
#endif
extern
void
j_rev_dct_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
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
);
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
)
{
put_no_rnd_pixels8_x2_arm
(
block
,
pixels
,
line_size
,
h
);
put_no_rnd_pixels8_x2_arm
(
block
+
8
,
pixels
+
8
,
line_size
,
h
);
}
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
);
}
CALL_2X_PIXELS
(
put_pixels16_x2_arm
,
put_pixels8_x2_arm
,
8
)
CALL_2X_PIXELS
(
put_pixels16_y2_arm
,
put_pixels8_y2_arm
,
8
)
CALL_2X_PIXELS
(
put_pixels16_xy2_arm
,
put_pixels8_xy2_arm
,
8
)
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
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
/* [F] */
"add %1, %1, %2
\n\t
"
"bne 1b
\n\t
"
:
:
"r"
(
block
),
"r"
(
dest
),
"r"
(
line_size
)
:
"+r"
(
block
),
"+r"
(
dest
)
:
"r"
(
line_size
)
:
"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)
#endif
}
#ifdef HAVE_IWMMXT
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
)
{
...
...
libavcodec/armv4l/mpegvideo_arm.c
View file @
3f3f8b2b
...
...
@@ -21,9 +21,7 @@
#include "../mpegvideo.h"
#include "../avcodec.h"
#ifdef HAVE_IWMMXT
extern
void
MPV_common_init_iwmmxt
(
MpegEncContext
*
s
);
#endif
void
MPV_common_init_armv4l
(
MpegEncContext
*
s
)
{
...
...
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