Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
92ddb692
Commit
92ddb692
authored
Nov 12, 2002
by
Zdenek Kabelac
Browse files
* init for inv_zigzag_direct16 moved to init block
Originally committed as revision 1204 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5abd509a
Changes
1
Hide whitespace changes
Inline
Side-by-side
libavcodec/dsputil.c
View file @
92ddb692
...
...
@@ -1357,7 +1357,10 @@ void dsputil_init(DSPContext* c, unsigned mask)
for
(
i
=
0
;
i
<
512
;
i
++
)
{
squareTbl
[
i
]
=
(
i
-
256
)
*
(
i
-
256
);
}
init_done
=
1
;
for
(
i
=
0
;
i
<
64
;
i
++
)
inv_zigzag_direct16
[
ff_zigzag_direct
[
i
]]
=
i
+
1
;
init_done
=
1
;
}
c
->
get_pixels
=
get_pixels_c
;
...
...
@@ -1453,7 +1456,6 @@ void dsputil_init(DSPContext* c, unsigned mask)
dsputil_init_mmi
(
c
,
mask
);
#endif
for
(
i
=
0
;
i
<
64
;
i
++
)
inv_zigzag_direct16
[
ff_zigzag_direct
[
i
]]
=
i
+
1
;
}
/* remove any non bit exact operation (testing purpose) */
...
...
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