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
1482fee8
Commit
1482fee8
authored
May 17, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicate zigzag tables
Originally committed as revision 4259 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
36af0c95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
vp3.c
libavcodec/vp3.c
+0
-5
vp3data.h
libavcodec/vp3data.h
+0
-15
No files found.
libavcodec/vp3.c
View file @
1482fee8
...
...
@@ -889,7 +889,6 @@ static void init_dequantizer(Vp3DecodeContext *s)
for
(
i
=
1
;
i
<
64
;
i
++
)
{
int
k
=
s
->
scantable
.
scantable
[
i
];
j
=
s
->
scantable
.
permutated
[
i
];
s
->
intra_y_dequant
[
j
]
=
s
->
coded_intra_y_dequant
[
k
]
*
ac_scale_factor
/
100
;
if
(
s
->
intra_y_dequant
[
j
]
<
MIN_DEQUANT_VAL
)
...
...
@@ -2614,10 +2613,6 @@ static int vp3_decode_init(AVCodecContext *avctx)
&
ac_bias_3
[
i
][
0
][
0
],
4
,
2
,
0
);
}
/* build quantization zigzag table */
for
(
i
=
0
;
i
<
64
;
i
++
)
zigzag_index
[
dezigzag_index
[
i
]]
=
i
;
/* work out the block mapping tables */
s
->
superblock_fragments
=
av_malloc
(
s
->
superblock_count
*
16
*
sizeof
(
int
));
s
->
superblock_macroblocks
=
av_malloc
(
s
->
superblock_count
*
4
*
sizeof
(
int
));
...
...
libavcodec/vp3data.h
View file @
1482fee8
...
...
@@ -72,21 +72,6 @@ static const uint32_t vp31_filter_limit_values[64] =
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
/* table used to convert natural order <-> zigzag order */
static
const
int
dezigzag_index
[
64
]
=
{
0
,
1
,
8
,
16
,
9
,
2
,
3
,
10
,
17
,
24
,
32
,
25
,
18
,
11
,
4
,
5
,
12
,
19
,
26
,
33
,
40
,
48
,
41
,
34
,
27
,
20
,
13
,
6
,
7
,
14
,
21
,
28
,
35
,
42
,
49
,
56
,
57
,
50
,
43
,
36
,
29
,
22
,
15
,
23
,
30
,
37
,
44
,
51
,
58
,
59
,
52
,
45
,
38
,
31
,
39
,
46
,
53
,
60
,
61
,
54
,
47
,
55
,
62
,
63
};
/* inverse of dezigzag index */
static
__attribute__
((
unused
))
int
zigzag_index
[
64
];
static
const
uint16_t
dc_bias
[
16
][
32
][
2
]
=
{
{
/* DC bias table 0 */
{
0x2D
,
6
},
...
...
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