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

EncoderConfig: introduce GetMaxBFrameCount #103

Merged
merged 1 commit into from
Nov 9, 2024

Conversation

dabrain34
Copy link
Contributor

@dabrain34 dabrain34 commented Oct 28, 2024

The default value for B Frame count is 3 but some
implementation does not support B Frames.
Set the value to the max B Frame count supported
by the implementation if it exceeds the value.

@dabrain34 dabrain34 force-pushed the dab_encode_b_frame_limit branch 2 times, most recently from 31ebbe1 to d50734d Compare October 28, 2024 14:06
The default value for B Frame count is 3 but some
implementation does not support B frames.
Set the value to the max B Frame count supported
by the implementation if it exceeds the value.

Signed-off-by: Stéphane Cerveau <scerveau@igalia.com>
@dabrain34 dabrain34 force-pushed the dab_encode_b_frame_limit branch from d50734d to c2cea14 Compare October 28, 2024 14:08
@dabrain34
Copy link
Contributor Author

This patch avoids a GPU hang with RADV driver which does not support B-Frames

Copy link
Contributor

@zlatinski zlatinski left a comment

Choose a reason for hiding this comment

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

The change looks good. Thank you, Stephan!

@zlatinski zlatinski merged commit e68feea into nvpro-samples:main Nov 9, 2024
1 check passed
dabrain34 added a commit to dabrain34/vk_video_samples that referenced this pull request Nov 27, 2024
To support driver which does not support B Frame,
GetMaxBFrameCount has been introduced in
nvpro-samples#103
but AV1 was not supported yet.
dabrain34 added a commit to dabrain34/vk_video_samples that referenced this pull request Nov 27, 2024
To support driver which does not support B Frame,
GetMaxBFrameCount has been introduced in
nvpro-samples#103
but AV1 was not supported yet.

Signed-off-by: Stéphane Cerveau <scerveau@igalia.com>
zlatinski pushed a commit that referenced this pull request Nov 27, 2024
To support driver which does not support B Frame,
GetMaxBFrameCount has been introduced in
#103
but AV1 was not supported yet.

Signed-off-by: Stéphane Cerveau <scerveau@igalia.com>
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