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
1d503957
Commit
1d503957
authored
Nov 12, 2006
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename squareTbl -> ff_squareTbl
Originally committed as revision 6995 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e275b7ef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
dsputil.c
libavcodec/dsputil.c
+6
-6
dsputil.h
libavcodec/dsputil.h
+1
-1
mpegvideo.c
libavcodec/mpegvideo.c
+1
-1
snow.c
libavcodec/snow.c
+1
-1
No files found.
libavcodec/dsputil.c
View file @
1d503957
...
...
@@ -41,7 +41,7 @@ void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, in
void
vorbis_inverse_coupling
(
float
*
mag
,
float
*
ang
,
int
blocksize
);
uint8_t
ff_cropTbl
[
256
+
2
*
MAX_NEG_CROP
]
=
{
0
,
};
uint32_t
squareTbl
[
512
]
=
{
0
,
};
uint32_t
ff_
squareTbl
[
512
]
=
{
0
,
};
const
uint8_t
ff_zigzag_direct
[
64
]
=
{
0
,
1
,
8
,
16
,
9
,
2
,
3
,
10
,
...
...
@@ -165,7 +165,7 @@ static int pix_sum_c(uint8_t * pix, int line_size)
static
int
pix_norm1_c
(
uint8_t
*
pix
,
int
line_size
)
{
int
s
,
i
,
j
;
uint32_t
*
sq
=
squareTbl
+
256
;
uint32_t
*
sq
=
ff_
squareTbl
+
256
;
s
=
0
;
for
(
i
=
0
;
i
<
16
;
i
++
)
{
...
...
@@ -231,7 +231,7 @@ static void bswap_buf(uint32_t *dst, uint32_t *src, int w){
static
int
sse4_c
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
{
int
s
,
i
;
uint32_t
*
sq
=
squareTbl
+
256
;
uint32_t
*
sq
=
ff_
squareTbl
+
256
;
s
=
0
;
for
(
i
=
0
;
i
<
h
;
i
++
)
{
...
...
@@ -248,7 +248,7 @@ static int sse4_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h)
static
int
sse8_c
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
{
int
s
,
i
;
uint32_t
*
sq
=
squareTbl
+
256
;
uint32_t
*
sq
=
ff_
squareTbl
+
256
;
s
=
0
;
for
(
i
=
0
;
i
<
h
;
i
++
)
{
...
...
@@ -269,7 +269,7 @@ static int sse8_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h)
static
int
sse16_c
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
{
int
s
,
i
;
uint32_t
*
sq
=
squareTbl
+
256
;
uint32_t
*
sq
=
ff_
squareTbl
+
256
;
s
=
0
;
for
(
i
=
0
;
i
<
h
;
i
++
)
{
...
...
@@ -3872,7 +3872,7 @@ void dsputil_static_init(void)
}
for
(
i
=
0
;
i
<
512
;
i
++
)
{
squareTbl
[
i
]
=
(
i
-
256
)
*
(
i
-
256
);
ff_
squareTbl
[
i
]
=
(
i
-
256
)
*
(
i
-
256
);
}
for
(
i
=
0
;
i
<
64
;
i
++
)
inv_zigzag_direct16
[
ff_zigzag_direct
[
i
]]
=
i
+
1
;
...
...
libavcodec/dsputil.h
View file @
1d503957
...
...
@@ -74,7 +74,7 @@ extern const uint8_t ff_zigzag248_direct[64];
#define MAX_NEG_CROP 1024
/* temporary */
extern
uint32_t
squareTbl
[
512
];
extern
uint32_t
ff_
squareTbl
[
512
];
extern
uint8_t
ff_cropTbl
[
256
+
2
*
MAX_NEG_CROP
];
/* VP3 DSP functions */
...
...
libavcodec/mpegvideo.c
View file @
1d503957
...
...
@@ -4751,7 +4751,7 @@ static inline void encode_mb_hq(MpegEncContext *s, MpegEncContext *backup, MpegE
}
static
int
sse
(
MpegEncContext
*
s
,
uint8_t
*
src1
,
uint8_t
*
src2
,
int
w
,
int
h
,
int
stride
){
uint32_t
*
sq
=
squareTbl
+
256
;
uint32_t
*
sq
=
ff_
squareTbl
+
256
;
int
acc
=
0
;
int
x
,
y
;
...
...
libavcodec/snow.c
View file @
1d503957
...
...
@@ -1902,7 +1902,7 @@ static int pix_sum(uint8_t * pix, int line_size, int w)
static
int
pix_norm1
(
uint8_t
*
pix
,
int
line_size
,
int
w
)
{
int
s
,
i
,
j
;
uint32_t
*
sq
=
squareTbl
+
256
;
uint32_t
*
sq
=
ff_
squareTbl
+
256
;
s
=
0
;
for
(
i
=
0
;
i
<
w
;
i
++
)
{
...
...
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