patch for flv deblocking by (Garrick Meeker <gmeeker at theoryllc dot com>)
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Jul 2003 09:58:47 +0000 (09:58 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 29 Jul 2003 09:58:47 +0000 (09:58 +0000)
Originally committed as revision 2095 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263.c
tests/ffmpeg.regression.ref
tests/libav.regression.ref
tests/rotozoom.regression.ref

index 67321cf3f82e4649aaf480e5e036fbd97cccdd10..9d1f5992a1b2ae670a0bcd6896c2e31f91951045 100644 (file)
@@ -51,8 +51,6 @@
 #ifdef CONFIG_ENCODERS
 static void h263_encode_block(MpegEncContext * s, DCTELEM * block,
                               int n);
-static void h263_flv_encode_block(MpegEncContext * s, DCTELEM * block,
-                                  int n);
 static void h263_encode_motion(MpegEncContext * s, int val, int fcode);
 static void h263p_encode_umotion(MpegEncContext * s, int val);
 static inline void mpeg4_encode_block(MpegEncContext * s, DCTELEM * block,
@@ -185,7 +183,7 @@ void ff_flv_encode_picture_header(MpegEncContext * s, int picture_number)
         put_bits(&s->pb, 16, s->height);
       }
       put_bits(&s->pb, 2, s->pict_type == P_TYPE); /* PictureType */
-      put_bits(&s->pb, 1, 0); /* DeblockingFlag: off */
+      put_bits(&s->pb, 1, 1); /* DeblockingFlag: on */
       put_bits(&s->pb, 5, s->qscale); /* Quantizer */
       put_bits(&s->pb, 1, 0); /* ExtraInformation */
 
index b5a7705771616786b9d1042bed3f8a6cca1f75fd..de33c3a38cc8cc11e6e1f8d219d40f238b8e18f9 100644 (file)
@@ -47,7 +47,7 @@ stddev: 13.42 bytes:7602176
 89ad858355f9b0a92d024c5ba6e369dd *./data/a-asv1.avi
 b3e1696d73071c8f7f0ff4e10c1677ca *./data/out.yuv
 stddev: 19.19 bytes:7602176
-4a516d78139d521847fdba64a1123aea *./data/a-flv.flv
+37a528aa9efc28c5c3cc8191da90e012 *./data/a-flv.flv
 57ea0821ec4377e96647adc22717a4ba *./data/out.yuv
 stddev:  8.19 bytes:7602176
 21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2
index 20035b9f3639d84b2968b4cafc009d7cf411e958..a87a5fc5f786cf9d6d7fabae9ba3cda089071604 100644 (file)
@@ -10,7 +10,7 @@ f34176ef4f8577c93d51d7c403c8776d *./data/b-libav.asf
 ./data/b-libav.swf CRC=d813a4a6
 3d0ea8f9cc0f9c4ed096381de3ab7d53 *./data/b-libav.ffm
 ./data/b-libav.ffm CRC=2a4bfa20
-b2c9ee08b47bc840e29f2e9fdffe9825 *./data/b-libav.flv
+964bf9fc730fa66e449b6670b705a56f *./data/b-libav.flv
 ./data/b-libav.flv CRC=e2e5bc81
 9a9da315747599f7718cc9a9a09c21ff *./data/b-libav.pbm
 ./data/b-libav.pbm CRC=a1057fd1
index 7a3d4b6fa6fb08374d99ab5a7ffaa9d64bf76fb0..af1ab41b5f1054cc04bed7a3b8eaf662701ef3f0 100644 (file)
@@ -47,7 +47,7 @@ stddev: 13.18 bytes:7602176
 9c4f5a4613a5595c90c6b99bf143b6a9 *./data/a-asv1.avi
 4251d7f496bbf362251b065e840a1b73 *./data/out.yuv
 stddev:  9.80 bytes:7602176
-c91bf4595136dfea764db37edfe5173b *./data/a-flv.flv
+bee27a404ab6a1b7ab1d3551eb4f1877 *./data/a-flv.flv
 86da6ee46d2df190b4a0d72523b14a25 *./data/out.yuv
 stddev:  5.29 bytes:7602176
 21f8ff9f1daacd9133683bb4ea0f50a4 *./data/a-mp2.mp2