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

Add -Wconversion and fix the related conversion issues #7

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

dabrain34
Copy link
Contributor

No description provided.

@dabrain34
Copy link
Contributor Author

dabrain34 commented Dec 17, 2024

@zlatinski Can you give a glance to this PR. It allows to avoid non regression when we change something in vulkan-video-samples. I had the issue today again with CTS bots failing because of Vulkan-Video-Samples.

This is quite a big change but necessary.

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.

Thank you, Stephane, for these changes. These look good in general, but I would like to request a bit more improvements. If you want, you can change the VP9 types to concrete, but you don't have to at this point because we are updating the parser based on the latest Vulkan VP9 spec, anyway.

@dabrain34 dabrain34 force-pushed the dab_fix_conversion branch 2 times, most recently from b184ffc to c18a749 Compare December 19, 2024 10:21
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.

Thank you, Stephane. Your change has exposed some issues, which are indeed good to address. Thank you for doing that! Unfortunately, there are more fixes needed :( sorry!

common/libs/VkCodecUtils/VulkanFrame.cpp Outdated Show resolved Hide resolved
common/libs/VkCodecUtils/VulkanFrame.cpp Show resolved Hide resolved
common/libs/VkCodecUtils/VulkanVideoUtils.cpp Outdated Show resolved Hide resolved
common/libs/VkCodecUtils/crcgenerator.cpp Outdated Show resolved Hide resolved
vk_video_decoder/libs/VkVideoParser/VulkanVideoParser.cpp Outdated Show resolved Hide resolved
vk_video_decoder/libs/VkVideoParser/VulkanVideoParser.cpp Outdated Show resolved Hide resolved
vk_video_decoder/libs/VkVideoParser/VulkanVideoParser.cpp Outdated Show resolved Hide resolved
vk_video_decoder/libs/VkVideoParser/VulkanVideoParser.cpp Outdated Show resolved Hide resolved
@dabrain34 dabrain34 changed the title Add -Wconversion and fix the releated conversion issues Add -Wconversion and fix the related conversion issues Dec 19, 2024
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