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
873c89e2
Commit
873c89e2
authored
Feb 15, 2012
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsputil: Add ff_ prefix to inv_zigzag_direct16
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
3e2efacd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
dsputil.c
libavcodec/dsputil.c
+2
-2
mpegvideo_mmx.c
libavcodec/x86/mpegvideo_mmx.c
+1
-1
mpegvideo_mmx_template.c
libavcodec/x86/mpegvideo_mmx_template.c
+2
-2
No files found.
libavcodec/dsputil.c
View file @
873c89e2
...
...
@@ -82,7 +82,7 @@ const uint8_t ff_zigzag248_direct[64] = {
};
/* not permutated inverse zigzag_direct + 1 for MMX quantizer */
DECLARE_ALIGNED
(
16
,
uint16_t
,
inv_zigzag_direct16
)[
64
];
DECLARE_ALIGNED
(
16
,
uint16_t
,
ff_
inv_zigzag_direct16
)[
64
];
const
uint8_t
ff_alternate_horizontal_scan
[
64
]
=
{
0
,
1
,
2
,
3
,
8
,
9
,
16
,
17
,
...
...
@@ -2761,7 +2761,7 @@ av_cold void ff_dsputil_static_init(void)
ff_squareTbl
[
i
]
=
(
i
-
256
)
*
(
i
-
256
);
}
for
(
i
=
0
;
i
<
64
;
i
++
)
inv_zigzag_direct16
[
ff_zigzag_direct
[
i
]]
=
i
+
1
;
for
(
i
=
0
;
i
<
64
;
i
++
)
ff_
inv_zigzag_direct16
[
ff_zigzag_direct
[
i
]]
=
i
+
1
;
}
int
ff_check_alignment
(
void
){
...
...
libavcodec/x86/mpegvideo_mmx.c
View file @
873c89e2
...
...
@@ -29,7 +29,7 @@
#include "libavcodec/mpegvideo.h"
#include "dsputil_mmx.h"
extern
uint16_t
inv_zigzag_direct16
[
64
];
extern
uint16_t
ff_
inv_zigzag_direct16
[
64
];
static
void
dct_unquantize_h263_intra_mmx
(
MpegEncContext
*
s
,
...
...
libavcodec/x86/mpegvideo_mmx_template.c
View file @
873c89e2
...
...
@@ -168,7 +168,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
"movzb %%al, %%"
REG_a
"
\n\t
"
// last_non_zero_p1
:
"+a"
(
last_non_zero_p1
)
:
"r"
(
block
+
64
),
"r"
(
qmat
),
"r"
(
bias
),
"r"
(
inv_zigzag_direct16
+
64
),
"r"
(
temp_block
+
64
)
"r"
(
ff_
inv_zigzag_direct16
+
64
),
"r"
(
temp_block
+
64
)
XMM_CLOBBERS_ONLY
(
"%xmm0"
,
"%xmm1"
,
"%xmm2"
,
"%xmm3"
,
"%xmm4"
,
"%xmm5"
,
"%xmm6"
,
"%xmm7"
)
);
...
...
@@ -202,7 +202,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
"movzb %%al, %%"
REG_a
"
\n\t
"
// last_non_zero_p1
:
"+a"
(
last_non_zero_p1
)
:
"r"
(
block
+
64
),
"r"
(
qmat
+
64
),
"r"
(
bias
+
64
),
"r"
(
inv_zigzag_direct16
+
64
),
"r"
(
temp_block
+
64
)
"r"
(
ff_
inv_zigzag_direct16
+
64
),
"r"
(
temp_block
+
64
)
XMM_CLOBBERS_ONLY
(
"%xmm0"
,
"%xmm1"
,
"%xmm2"
,
"%xmm3"
,
"%xmm4"
,
"%xmm5"
,
"%xmm6"
,
"%xmm7"
)
);
...
...
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