From 206ad139a11269be3e0ece6cc3e68e6e0de4f63a Mon Sep 17 00:00:00 2001
From: Martin Vignali <martin.vignali@gmail.com>
Date: Mon, 8 Oct 2018 15:50:23 +0200
Subject: [PATCH 3/6] avcodec/proresenc_aw : use qp close to the official 
 encoder

---
 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
-- 
2.14.3 (Apple Git-98)

