From 785a84bcd39fe4e96784d83153953f9c67e6ec78 Mon Sep 17 00:00:00 2001
From: Xiang Li <xlxiangli@tencent.com>
Date: Tue, 1 Feb 2022 20:10:09 -0800
Subject: [PATCH] Update the cfg for RA GOP16

---
 cfg/encoder_randomaccess_vtm_gop16.cfg | 46 +++++++++++++-------------
 1 file changed, 23 insertions(+), 23 deletions(-)

diff --git a/cfg/encoder_randomaccess_vtm_gop16.cfg b/cfg/encoder_randomaccess_vtm_gop16.cfg
index cfb254258..907cc4310 100644
--- a/cfg/encoder_randomaccess_vtm_gop16.cfg
+++ b/cfg/encoder_randomaccess_vtm_gop16.cfg
@@ -17,22 +17,22 @@ GOPSize                       : 16          # GOP Size (number of B slice = GOPS
 IntraQPOffset                 : -3
 LambdaFromQpEnable            : 1           # see JCTVC-X0038 for suitable parameters for IntraQPOffset, QPoffset, QPOffsetModelOff, QPOffsetModelScale when enabled
 #        Type POC QPoffset QPOffsetModelOff QPOffsetModelScale CbQPoffset CrQPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 CbTcOffsetDiv2 CbBetaOffsetDiv2 CrTcOffsetDiv2 CrBetaOffsetDiv2 temporal_id #ref_pics_active_L0 #ref_pics_L0   reference_pictures_L0 #ref_pics_active_L1 #ref_pics_L1   reference_pictures_L1
-Frame1:   B   16   1        0.0                      0.0            0          0          1.0      0            0                0             0                0               0              0             2                3          16 32 24                    2                2           16 32
-Frame2:   B    8   1       -4.8848                   0.2061         0          0          1.0      0            0                0             0                0               0              1             2                2          8 16                        2                2           -8 8
-Frame3:   B    4   4       -5.7476                   0.2286         0          0          1.0      0            0                0             0                0               0              2             2                2          4 12                        2                2           -4 -12
-Frame4:   B    2   5       -5.90                     0.2333         0          0          1.0      0            0                0             0                0               0              3             2                2          2 10                        2                3           -2 -6 -14
-Frame5:   B    1   6       -7.1444                   0.3            0          0          1.0      0            0                0             0                0               0              4             2                2          1 -1                        2                4           -1 -3 -7 -15
-Frame6:   B    3   6       -7.1444                   0.3            0          0          1.0      0            0                0             0                0               0              4             2                2          1 3                         2                3           -1 -5 -13
-Frame7:   B    6   5       -5.90                     0.2333         0          0          1.0      0            0                0             0                0               0              3             2                2          2 6                         2                2           -2 -10
-Frame8:   B    5   6       -7.1444                   0.3            0          0          1.0      0            0                0             0                0               0              4             2                2          1 5                         2                3           -1 -3 -11
-Frame9:   B    7   6       -7.1444                   0.3            0          0          1.0      0            0                0             0                0               0              4             2                3          1 3 7                       2                2           -1 -9
-Frame10:  B   12   4       -5.7476                   0.2286         0          0          1.0      0            0                0             0                0               0              2             2                2          4 12                        2                2           -4 4
-Frame11:  B   10   5       -5.90                     0.2333         0          0          1.0      0            0                0             0                0               0              3             2                2          2 10                        2                2           -2 -6
-Frame12:  B    9   6       -7.1444                   0.3            0          0          1.0      0            0                0             0                0               0              4             2                2          1 9                         2                3           -1 -3 -7
-Frame13:  B   11   6       -7.1444                   0.3            0          0          1.0      0            0                0             0                0               0              4             2                3          1 3 11                      2                2           -1 -5
-Frame14:  B   14   5       -5.90                     0.2333         0          0          1.0      0            0                0             0                0               0              3             2                3          2 6 14                      2                2           -2 2
-Frame15:  B   13   6       -7.1444                   0.3            0          0          1.0      0            0                0             0                0               0              4             2                3          1 5 13                      2                2           -1 -3
-Frame16:  B   15   6       -7.1444                   0.3            0          0          1.0      0            0                0             0                0               0              4             2                4          1 3 7 15                    2                2           -1 1
+Frame1:   B   16   1        0.0                      0.0            0          0          1.0      1            0                1             0                1               0              0             2                3          16 32 24                    2                2           16 32
+Frame2:   B    8   1       -4.8848                   0.2061         0          0          1.0      2            0                2             0                2               0              1             2                2          8 16                        2                2           -8 8
+Frame3:   B    4   4       -5.7476                   0.2286         0          0          1.0      3            0                3             0                3               0              2             2                2          4 12                        2                2           -4 -12
+Frame4:   B    2   5       -5.90                     0.2333         0          0          1.0      4            0                4             0                4               0              3             2                2          2 10                        2                3           -2 -6 -14
+Frame5:   B    1   6       -7.1444                   0.3            0          0          1.0      5            0                5             0                5               0              4             2                2          1 -1                        2                4           -1 -3 -7 -15
+Frame6:   B    3   6       -7.1444                   0.3            0          0          1.0      5            0                5             0                5               0              4             2                2          1 3                         2                3           -1 -5 -13
+Frame7:   B    6   5       -5.90                     0.2333         0          0          1.0      4            0                4             0                4               0              3             2                2          2 6                         2                2           -2 -10
+Frame8:   B    5   6       -7.1444                   0.3            0          0          1.0      5            0                5             0                5               0              4             2                2          1 5                         2                3           -1 -3 -11
+Frame9:   B    7   6       -7.1444                   0.3            0          0          1.0      5            0                5             0                5               0              4             2                3          1 3 7                       2                2           -1 -9
+Frame10:  B   12   4       -5.7476                   0.2286         0          0          1.0      3            0                3             0                3               0              2             2                2          4 12                        2                2           -4 4
+Frame11:  B   10   5       -5.90                     0.2333         0          0          1.0      4            0                4             0                4               0              3             2                2          2 10                        2                2           -2 -6
+Frame12:  B    9   6       -7.1444                   0.3            0          0          1.0      5            0                5             0                5               0              4             2                2          1 9                         2                3           -1 -3 -7
+Frame13:  B   11   6       -7.1444                   0.3            0          0          1.0      5            0                5             0                5               0              4             2                3          1 3 11                      2                2           -1 -5
+Frame14:  B   14   5       -5.90                     0.2333         0          0          1.0      4            0                4             0                4               0              3             2                3          2 6 14                      2                2           -2 2
+Frame15:  B   13   6       -7.1444                   0.3            0          0          1.0      5            0                5             0                5               0              4             2                3          1 5 13                      2                2           -1 -3
+Frame16:  B   15   6       -7.1444                   0.3            0          0          1.0      5            0                5             0                5               0              4             2                4          1 3 7 15                    2                2           -1 1
 
 #=========== Motion Search =============
 FastSearch                    : 1           # 0:Full search  1:TZ search
@@ -53,14 +53,14 @@ RDOQ                          : 1           # RDOQ
 RDOQTS                        : 1           # RDOQ for transform skip
 
 #=========== Deblock Filter ============
-DeblockingFilterOffsetInPPS         : 1           # Dbl params: 0=varying params in SliceHeader, param = base_param + GOP_offset_param; 1 (default) =constant params in PPS, param = base_param)
+DeblockingFilterOffsetInPPS         : 0           # Dbl params: 0=varying params in SliceHeader, param = base_param + GOP_offset_param; 1 (default) =constant params in PPS, param = base_param)
 DeblockingFilterDisable             : 0           # Disable deblocking filter (0=Filter, 1=No Filter)
-DeblockingFilterBetaOffset_div2     : 0           # base_param: -12 ~ 12
-DeblockingFilterTcOffset_div2       : 0           # base_param: -12 ~ 12
-DeblockingFilterCbBetaOffset_div2   : 0           # base_param: -12 ~ 12
-DeblockingFilterCbTcOffset_div2     : 0           # base_param: -12 ~ 12
-DeblockingFilterCrBetaOffset_div2   : 0           # base_param: -12 ~ 12
-DeblockingFilterCrTcOffset_div2     : 0           # base_param: -12 ~ 12
+DeblockingFilterBetaOffset_div2     : -2           # base_param: -12 ~ 12
+DeblockingFilterTcOffset_div2       : -5           # base_param: -12 ~ 12
+DeblockingFilterCbBetaOffset_div2   : -2           # base_param: -12 ~ 12
+DeblockingFilterCbTcOffset_div2     : -5           # base_param: -12 ~ 12
+DeblockingFilterCrBetaOffset_div2   : -2           # base_param: -12 ~ 12
+DeblockingFilterCrTcOffset_div2     : -5           # base_param: -12 ~ 12
 DeblockingFilterMetric        : 0           # blockiness metric (automatically configures deblocking parameters in bitstream). Applies slice-level loop filter offsets (DeblockingFilterOffsetInPPS and DeblockingFilterDisable must be 0)
 
 #=========== Misc. ============
-- 
GitLab