Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-good gst-plugins-good
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 72
    • Merge requests 72
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-plugins-goodgst-plugins-good
  • Merge requests
  • !46

cairooverlay: Optimize premultiplication/unpremultiplication loops

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sebastian Dröge requested to merge slomo/gst-plugins-good:cairooverlay-premultiply into master Dec 07, 2018
  • Overview 4
  • Commits 1
  • Pipelines 2
  • Changes 1

Pull in video frame fields into local variables. Without this the compiler must assume that they could've changed on every use and read them from memory again.

This reduces the inner loop from 6 memory reads per pixels to 4, and the number of writes stays at 3.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: cairooverlay-premultiply