Skip to content
Snippets Groups Projects

gl: add support for A420 conversion

Merged Daniel Almeida requested to merge dwlsalmeida/gst-plugins-base:a420-gl into master

A420 is a four planar format similar to I420 but with an extra buffer for alpha values.

A common use of the gl stack is for GPU format conversions using shaders, in which case one can use glupload, glcolorconvert and gldownload elements to upload their buffer to the GPU context, perform the conversion on the GPU itself and then retrieve the data to CPU context.

A420 was not supported. This patch adds said support mainly by adding the corresponding shader to perform the conversion and updating the supported caps.

Both A420->RGBA and RGBA->A420 conversions are supported.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading