Skip to content

Add back vbr operations - #5523

Merged
urvangjoshi merged 4 commits into
AOMediaCodec:av2-encfrom
jingninghan:vbr2
Oct 14, 2026
Merged

urvangjoshi merged 4 commits into
AOMediaCodec:av2-encfrom
jingninghan:vbr2

Conversation

@jingninghan

Copy link
Copy Markdown
Contributor

No description provided.

@urvangjoshi urvangjoshi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be good to add back some unit tests with ::libaom_test::kTwoPassGood similar to what we originally had before https://aomedia-review.git.corp.google.com/c/aom/+/120601

That way, the 2-pass code is exercised and tested.

Comment thread CMakeLists.txt
Comment thread apps/avmenc.c Outdated
Comment thread av2/encoder/encoder.c Outdated
Comment thread av2/encoder/encoder.c
Comment thread av2/encoder/pass2_strategy.c Outdated
@jingninghan

Copy link
Copy Markdown
Contributor Author

It will be good to add back some unit tests with ::libaom_test::kTwoPassGood similar to what we originally had before https://aomedia-review.git.corp.google.com/c/aom/+/120601

That way, the 2-pass code is exercised and tested.

Done

Comment thread apps/avmenc.c
Comment thread apps/avmenc.c
Comment thread av2/encoder/pass2_strategy.c
Comment thread av2/encoder/pass2_strategy.c

@yeqing-wu yeqing-wu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks. One question: should we run tests to ensure that these changes won’t break the existing one-pass (VCWG CTC) pipeline?

@jingninghan

Copy link
Copy Markdown
Contributor Author

LGTM, thanks. One question: should we run tests to ensure that these changes won’t break the existing one-pass (VCWG CTC) pipeline?

Yes, we will run a ctc test shortly. Still have a few unit test failure cases to resolve.

@jingninghan
jingninghan force-pushed the vbr2 branch 2 times, most recently from d75058a to 534b17b Compare October 14, 2026 18:42
Comment thread test/av2_encoder_parms_get_to_decoder.cc Outdated
@jingninghan

Copy link
Copy Markdown
Contributor Author

LGTM, thanks. One question: should we run tests to ensure that these changes won’t break the existing one-pass (VCWG CTC) pipeline?

Yes, we will run a ctc test shortly. Still have a few unit test failure cases to resolve.

Tested in speed 1, before and after the 1-pass q mode results are identical.

@urvangjoshi
urvangjoshi merged commit 8c5cdf1 into AOMediaCodec:av2-enc Oct 14, 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.

4 participants