projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5abd509
)
* init for inv_zigzag_direct16 moved to init block
author
Zdenek Kabelac
<kabi@informatics.muni.cz>
Tue, 12 Nov 2002 10:05:21 +0000
(10:05 +0000)
committer
Zdenek Kabelac
<kabi@informatics.muni.cz>
Tue, 12 Nov 2002 10:05:21 +0000
(10:05 +0000)
Originally committed as revision 1204 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dsputil.c
patch
|
blob
|
history
diff --git
a/libavcodec/dsputil.c
b/libavcodec/dsputil.c
index
62051e4
..
affdfc5
100644
(file)
--- a/
libavcodec/dsputil.c
+++ b/
libavcodec/dsputil.c
@@
-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) */