Skip to content

Allow MV precision based on last frame MV data for < 4K resolution. - #5280

Merged
leolzhao merged 1 commit into
AOMediaCodec:av2-encfrom
urvangjoshi:mg__fhd_also_use_last_mv_data_but_qtr_for_4k
Aug 18, 2026
Merged

Allow MV precision based on last frame MV data for < 4K resolution.#5280
leolzhao merged 1 commit into
AOMediaCodec:av2-encfrom
urvangjoshi:mg__fhd_also_use_last_mv_data_but_qtr_for_4k

Conversation

@urvangjoshi

@urvangjoshi urvangjoshi commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

In particular, use last frame MV data for 1080p resolution that was NOT used before.

Only exception are:

  • screen content at 1080p+ resolution will use QTR_ONLY MV precision mode
  • 4k or larger: will also use QTR_ONLY MV precision mode

In CTC, affects A2 and B1 sets only.

Results for anchor: 2abcfff

  • RA CTC 33 frames, speed 4:
+---------+--------+----------+
| Summary |  YUV   | Enc-time |
+---------+--------+----------+
| A2      | -0.11% |  98.35%  |
| B1      |  0.01% |  97.89%  |
+---------+--------+----------+
  • RA CTC 33 frames, speed 1:
+---------+--------+----------+
| Summary |  YUV   | Enc-time |
+---------+--------+----------+
| A2      | -0.03% |  98.61%  |
| B1      |  0.01% |  99.72%  |
+---------+--------+----------+

STATS_CHANGED

In particular, use last frame MV data for 1080p resolution that was NOT
used before.

Only exception are:
- screen content at 1080p+ resolution will use QTR_ONLY MV precision mode
- 4k or larger:  will also use QTR_ONLY MV precision mode

In CTC, affects A2 and B1 sets only.

- RA CTC 33 frames, speed 4:

```
+---------+--------+----------+
| Summary |  YUV   | Enc-time |
+---------+--------+----------+
| A2      | -0.11% |  98.35%  |
| B1      |  0.01% |  97.89%  |
+---------+--------+----------+
```

- RA CTC 33 frames, speed 1:

```
+---------+--------+----------+
| Summary |  YUV   | Enc-time |
+---------+--------+----------+
| A2      | -0.03% |  98.61%  |
| B1      |  0.01% |  99.72%  |
+---------+--------+----------+
```

STATS_CHANGED
@leolzhao
leolzhao force-pushed the mg__fhd_also_use_last_mv_data_but_qtr_for_4k branch from 1f6a92f to 5ca7095 Compare August 18, 2026 21:03
@leolzhao
leolzhao merged commit bc6e51d into AOMediaCodec:av2-enc Aug 18, 2026
8 checks passed
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