Disable two simple motion related features at speed 2 - #5353
Conversation
|
@chengchen-google : two questions: See: https://github.com/AOMediaCodec/avm/blob/av2-enc/av2/encoder/speed_features.c#L1134 It may be worth testing if this is still effective or not. |
(1) Yes. I have tested each speed feature. See the following.
None of the two features have good tradeoffs for speed 2. (2) Yes. The speed feature should still have impact on speed 1. Since speed 1 is now in a good shape, I haven't tested them at speed 1. I also updated the commit message and description. |
@chengchen-google : I'm confused. |
|
The |
Thanks for catching that. Do you want me to run the test on the more recent commit too? |
Oh OK. No need to test again, as breakdown seems clear. |
478ada3 to
c818703
Compare
|
Question: this change only affect speed 2 (but not speed > 2)? |
Yes. It only affects speed 2. |
…_split at speed 2 The speed feature's performance at different speeds are shown below: (base commit: b8f0795) Speed Set BD-YUV EncTime (% Base) Speedup Ratio Speed_2 A1 -0.22% 106.02% +5.68% 25.8 Speed_2 A2 -0.99% 122.19% +18.16% 18.3 Speed_3 A1 -0.20% 104.29% +4.11% 20.6 Speed_3 A2 -0.18% 107.92% +7.34% 40.8 Speed_4 A1 -0.32% 106.05% +5.70% 17.8 Speed_4 A2 -0.24% 107.78% +7.22% 30.1 We turn these features off for speed 2 since they are below the bar. With this change, we recover -0.22% (A1), -0.99% (A2) coding gains, with 5.68% (A1), 18.16% (A2) encoder slowdown. The current encoder performance before and after the change is: Configuration Set BD-YUV EncTime (% Spd 0) Speed 1 Base A1 +1.70% 31.67% Speed 1 Base A2 +2.80% 22.22% Speed 2 Before A1 +5.33% 11.06% Speed 2 Before A2 +5.62% 9.63% Speed 2 After A1 +5.10% 11.73% Speed 2 After A2 +4.57% 11.77% STATS_CHANGED for speed 2. Change-Id: I357a45112b3eccd595352cf95f5e9d36e372ed37
c818703 to
b9a6825
Compare
|
After the merge, the commit message was messed up. Should we fix it, @urvangjoshi? |
|
I think you can add ``` before and after the table. Then, the Markdown style of the GitHub commit message won’t mess up that. |
I edit the commit message. Hopefully it looks better now. |
|
Since this PR has already been merged, how should we proceed to address the issue with the messed commit message? @urvangjoshi, do you have any thoughts on this? |
Yes, the only option to fix commit message is to revert that commit and recreate a new PR with proper commit message. |
The speed feature's performance at different speeds are shown below: (base commit: b8f0795)
The breakdown of the two features is: (on an older commit cc53250)
We turn these features off for speed 2 since they are below the bar.
With this change, we recover -0.22% (A1), -0.99% (A2) coding gains, with 6% (A1), 22% (A2) encoder slowdown.
The current encoder performance before and after the change is:
STATS_CHANGED for speed 2.