Skip to content

Restrict the search of drl idx to 0-2 in speed >= 2 - #5279

Draft
kslu-aom wants to merge 1 commit into
AOMediaCodec:av2-encfrom
kslu-aom:av2enc-reddrlmv
Draft

Restrict the search of drl idx to 0-2 in speed >= 2#5279
kslu-aom wants to merge 1 commit into
AOMediaCodec:av2-encfrom
kslu-aom:av2enc-reddrlmv

Conversation

@kslu-aom

Copy link
Copy Markdown
Contributor

This restricts the default encoder behavior. The existing encode flag --max-drl-refmvs can still overwrite the search range.

Evaluation based on fe1bfde with 33 frames at speed 2:

+---------+--------+--------+--------+--------+----------+----------+
| Summary |   Y    |   U    |   V    |  YUV   | Enc-time | Dec-time |
+---------+--------+--------+--------+--------+----------+----------+
| A1      | +0.16% | -0.01% | +0.14% | +0.15% |  95.2%   | 100.1%   |
| A2      | +0.18% | -0.16% | -0.11% | +0.16% |  92.7%   |  97.8%   |
+---------+--------+--------+--------+--------+----------+----------+

This restricts the default encoder behavior. The existing encode
flag --max-drl-refmvs can still overwrite the search range.
@kslu-aom
kslu-aom marked this pull request as draft August 18, 2026 17:03
@kslu-aom

kslu-aom commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

The speedup-loss tradeoff is not good after rebase due to conflicts with recently added speed features. Marked as draft. I will rework this patch.

@yeqing-wu

Copy link
Copy Markdown
Contributor

@kslu-aom, I’ve done this before, and at that time, the tradeoff wasn’t good either. However, it appears to be acceptable after the commit of this PR, but it’s not good again on the latest ToT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants