Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 3,083
    • Issues 3,083
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 996
    • Merge requests 996
  • 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

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • MesaMesa
  • mesamesa
  • Merge requests
  • !21109

Draft: panfrost: add hw sampling of YUV textures on bifrost

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Italo Nicola requested to merge italove/mesa:pan_yuv into main Feb 03, 2023
  • Overview 13
  • Commits 11
  • Pipelines 11
  • Changes 30

This MR adds a new texture descriptor for sampling single and multiplane YUV textures on bifrost. When sampling from YUV textures, the stride /offset alignment requirement may be smaller than the usual 64-bytes, so this MR also changes that requirement for the relevant formats.

The gallium/st patch is needed for making PIPE_FORMAT_NV21 behave similar to PIPE_FORMAT_NV12, by doing CSC in the shader but making use of the hw YUV texture sampler.

cc @cphealy @alyssa

Currently missing:

  • Support for some of the YUYV swizzled variants
  • Finish and cleanup pandecode patch
Edited Feb 03, 2023 by Italo Nicola
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: pan_yuv