Repository navigation
AV1: add new sample and fix the display of this sample - #250
Merged
Merged
Conversation
crmurillo
reviewed
Sep 28, 2026
dabrain34
force-pushed
the
dab_add_new_av1_sample
branch
2 times, most recently
from
September 29, 2026 07:58
321f47f to
1000a59
Compare
AV1 ParseByteStream memcpy'd each new frame onto the same mapped buffer while a prior picture's shared_ptr still fed in-flight vkCmdDecodeVideoKHR (VIDEO_DECODE_READ). That host WAR emptied OPTIMAL/LINEAR under async multi- frame dump; H.264/VP9 already swapped buffers. Match their GetBitstreamBuffer pattern so each decode keeps stable bitstream bytes until completion. Signed-off-by: Tymur Boiko <tboiko@nvidia.com>
…per frame As the VP9 parser, the requested buffer might be greater than the previous one, so try to rezise it if it is expected instead of failing silently.
dabrain34
force-pushed
the
dab_add_new_av1_sample
branch
2 times, most recently
from
September 29, 2026 08:53
ed9247c to
f6a3e53
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
A new sample named
video/av1/av1-bbb-1280x720-60f.mp4has been added to demonstrate a parser issue leading to decoding issue with nvidia driver on both Windows and Linux.The decode is still failing with AMD on Windows, see #251
Type of change
bug fix
Issue (optional)
Tests
Intel(R) Iris(R) Xe Graphics (ADL GT2) (8086:46a6) / Intel open-source Mesa driver Mesa 26.3.0-devel (git-48126c4905) / Ubuntu 24.04.5 LTS
Total Tests: 86
Passed: 59
Crashed: 0
Failed: 0
Not Supported: 24
Skipped: 3 (in skip list)
Success Rate: 100.0%
Additional Details (optional)