This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
fixed block permutation in encoder (not optimal - should move it in forward DCT code)
Originally committed as revision 51 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard
24 years ago
parent
689b775b85
commit
4f1c7e3c92
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
libavcodec/mpegvideo.c
+ 4
- 0
libavcodec/mpegvideo.c
View File
@@ -1068,6 +1068,10 @@ static int dct_quantize_mmx(MpegEncContext *s,
const int *qmat;
av_fdct (block);
/* we need this permutation so that we correct the IDCT
permutation. will be moved into DCT code */
block_permute(block);
if (s->mb_intra) {
if (n < 4)
Write
Preview
Loading…
Cancel
Save