[FFmpeg-cvslog] avcodec/proresenc_aw : use qp close to the official encoder

Martin Vignali git at videolan.org
Thu Oct 18 22:42:59 EEST 2018


ffmpeg | branch: master | Martin Vignali <martin.vignali at gmail.com> | Mon Oct  8 15:50:23 2018 +0200| [cea5e90bde4a407d54aa365ca865468185f8b92b] | committer: Martin Vignali

avcodec/proresenc_aw : use qp close to the official encoder

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cea5e90bde4a407d54aa365ca865468185f8b92b
---

 libavcodec/proresenc_anatoliy.c | 4 ++--
 tests/ref/vsynth/vsynth2-prores | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c
index 91b9a17947..7ad69c670f 100644
--- a/libavcodec/proresenc_anatoliy.c
+++ b/libavcodec/proresenc_anatoliy.c
@@ -49,8 +49,8 @@ static const AVProfile profiles[] = {
     { FF_PROFILE_UNKNOWN }
 };
 
-static const int qp_start_table[4] = { 4, 1, 1, 1 };
-static const int qp_end_table[4]   = { 8, 9, 6, 6 };
+static const int qp_start_table[4] = { 8, 3, 2, 1 };
+static const int qp_end_table[4]   = { 13, 9, 6, 6 };
 static const int bitrate_table[5]  = { 1000, 2100, 3500, 5400 };
 
 static const uint8_t QMAT_LUMA[4][64] = {
diff --git a/tests/ref/vsynth/vsynth2-prores b/tests/ref/vsynth/vsynth2-prores
index 86b773dda4..aed9e3e3f5 100644
--- a/tests/ref/vsynth/vsynth2-prores
+++ b/tests/ref/vsynth/vsynth2-prores
@@ -1,4 +1,4 @@
-dc972bd57cec42786abddb79552b2654 *tests/data/fate/vsynth2-prores.mov
-3265056 tests/data/fate/vsynth2-prores.mov
-537b0ff66d7c8c3c12faa89d042e6a49 *tests/data/fate/vsynth2-prores.out.rawvideo
+71d83e64060c122f440b288a042f7c0b *tests/data/fate/vsynth2-prores.mov
+3260123 tests/data/fate/vsynth2-prores.mov
+416fa8773615889c70491452428d6710 *tests/data/fate/vsynth2-prores.out.rawvideo
 stddev:    1.38 PSNR: 45.29 MAXDIFF:   12 bytes:  7603200/  7603200



More information about the ffmpeg-cvslog mailing list