Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3.1k
    • Issues 3.1k
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1k
    • Merge requests 1k
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MesaMesa
  • mesamesa
  • Issues
  • #8285
Closed
Open
Issue created Feb 14, 2023 by melvyn2@melvyn2

Support VA_RT_FORMAT_RGB32_10 in VAAPI frontend

In a few areas, the gallium VA-API frontend limits the pixel formats supported to a hard-coded list:

https://gitlab.freedesktop.org/mesa/mesa/-/blob/f2a4ea530078e11a98792509a5429a55aaa53879/src/gallium/frontends/va/surface.c#L1083

https://gitlab.freedesktop.org/mesa/mesa/-/blob/f2a4ea530078e11a98792509a5429a55aaa53879/src/gallium/frontends/va/config.c#L388

It would be useful to expand this list to support 10-bit-depth RGB formats (VA_RT_FORMAT_RGB32_10). One use case is in the encoding of desktop frames, as KDE for example uses this pixel format for desktop framebuffers when the display supports deep color.

I also noticed that the 10BPP-suffix formats are deprecated, so using their replacements would also be a good idea.

Edited Apr 27, 2023 by melvyn2
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking