Commit 6486ad57 authored by Michael Niedermayer's avatar Michael Niedermayer

test more (i)dcts

Originally committed as revision 2917 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 8fe2c60e
......@@ -5,6 +5,9 @@ stddev: 7.66 PSNR:30.43 bytes:7602176
d407d83f6fa7c98468a6f69a40bdc6a0 *./data/a-mpeg2.mpg
d2421f070ffc974735cb53d3cac687c7 *./data/out.yuv
stddev: 7.68 PSNR:30.41 bytes:7602176
b7d78c9f045e063707ad51d71f597885 *./data/a-mpeg2.mpg
4ea5aada565f1ef35cdf1d461fc5534d *./data/out.yuv
stddev: 7.68 PSNR:30.40 bytes:7602176
d295328b9860a8daf49e783e7644b566 *./data/a-mpeg2i.mpg
4acf1008a49f18b9ab632d2470bdc22a *./data/out.yuv
stddev: 7.70 PSNR:30.39 bytes:7602176
......
......@@ -150,6 +150,13 @@ do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1v
# mpeg2 decoding
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
# mpeg2 encoding
file=${outfile}mpeg2.mpg
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -idct_algo 1 -dct_algo 2 -f mpeg1video $file
# mpeg2 decoding
do_ffmpeg $raw_dst -y -idct_algo 1 -i $file -f rawvideo $raw_dst
# mpeg2 encoding interlaced
file=${outfile}mpeg2i.mpg
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video -ildct -ilme $file
......
......@@ -5,6 +5,9 @@ stddev: 5.03 PSNR:34.07 bytes:7602176
8a7a3b90f1fac5e207f3e9e3cdf11197 *./data/a-mpeg2.mpg
686d5937aec5c8ffd3a7be5363580b79 *./data/out.yuv
stddev: 5.05 PSNR:34.04 bytes:7602176
7b9333730f9a1ca89134b9b1c55700d3 *./data/a-mpeg2.mpg
acd0d0f73b95d5a4ed5da34e567e4a6e *./data/out.yuv
stddev: 5.05 PSNR:34.04 bytes:7602176
3f5ee459440c4bc5f9fd8f53e2591073 *./data/a-mpeg2i.mpg
07f678cfa5f1c81657dadbc820d20841 *./data/out.yuv
stddev: 5.06 PSNR:34.02 bytes:7602176
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment