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

video encode: Fix tests for implementations with detection of insufficient bitstream buffer range #487

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

Commits on Sep 12, 2024

  1. video: Fix missing flag in VkVideoEncodeCapabilityFlagsKHR

    Tests dEQP-VK.video.capabilities.*_encode_capabilities_query failed
    if the implementation supports
    VK_VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHR.
    This adds this as a valid flag.
    
    Affects:
    dEQP-VK.video.capabilities.h264_encode_capabilities_query
    dEQP-VK.video.capabilities.h265_encode_capabilities_query
    clemy committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    ff1e101 View commit details
    Browse the repository at this point in the history
  2. video: correctly set dstBufferRange in VkVideoEncodeInfoKHR

    According spec:
    "dstBufferRange is the maximum bitstream size in bytes that
    can be written to dstBuffer, starting from dstBufferOffset."
    This member was set to 0 and so no bitstream could be written.
    
    Affects:
    dEQP-VK.video.encode.*
    clemy committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    03b76c5 View commit details
    Browse the repository at this point in the history