Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ffmpeg-vaapi] add b_depth test options for h264 encode #673

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

Hangjie22Coder
Copy link
Contributor

No description provided.

@Hangjie22Coder Hangjie22Coder force-pushed the b_depth branch 3 times, most recently from 6af14d0 to 934603b Compare August 20, 2024 05:22
@Hangjie22Coder Hangjie22Coder changed the title [ffmpeg-vaapi] add b_depth test options for h264 and h265 encode [ffmpeg-vaapi] add b_depth test options for h264 cqp encode Aug 20, 2024
@Hangjie22Coder Hangjie22Coder marked this pull request as ready for review August 20, 2024 05:24
Copy link
Contributor

@uartie uartie left a comment

Choose a reason for hiding this comment

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

We can't just add a new parameter to an existing test. The test case name is derived from the test function signature and is tracked in history by that name. If you add a new parameter, then the test case names change and we lose history.

Also, every middleware test of the same name must use the same test function signature. That is, every test that uses this parameter generator must match their function signature that takes the parameters. Otherwise, they will be broken.

lib/parameters.py Outdated Show resolved Hide resolved
@uartie
Copy link
Contributor

uartie commented Aug 26, 2024

Maybe better to just create a new test function (e.g. test_bdepth)

@Hangjie22Coder Hangjie22Coder changed the title [ffmpeg-vaapi] add b_depth test options for h264 cqp encode [ffmpeg-vaapi] add b_depth test options for h264 encode Aug 28, 2024
@Hangjie22Coder Hangjie22Coder force-pushed the b_depth branch 2 times, most recently from ea16a4c to 57e3bda Compare August 29, 2024 08:02
test/ffmpeg-vaapi/encode/avc.py Outdated Show resolved Hide resolved
lib/parameters.py Outdated Show resolved Hide resolved
test/ffmpeg-vaapi/encode/avc.py Show resolved Hide resolved
test/ffmpeg-vaapi/encode/avc.py Show resolved Hide resolved
@uartie
Copy link
Contributor

uartie commented Aug 30, 2024

Also, please fix conflicts

@Hangjie22Coder
Copy link
Contributor Author

Also, please fix conflicts

fixed

@uartie uartie merged commit 5e78756 into intel:master Sep 3, 2024
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants