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

Remove RGB support in VP9 profile #1782

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jluiI
Copy link
Contributor

@jluiI jluiI commented Mar 21, 2024

Since RGB is not supported yet, media driver should not display this capability to the framework.

Running gst-inspect-1.0 vavp9enc

Results before

video/x-raw(memory:VAMemory)
width: [ 128, 8192 ]
height: [ 96, 8192 ]
format: { (string)NV12, (string)VUYA, (string)P010_10LE, (string)Y410, (string)ARGB, (string)ABGR }
video/x-raw(memory:DMABuf)
width: [ 128, 8192 ]
height: [ 96, 8192 ]
format: DMA_DRM
drm-format: { (string)NV12:0x0100000000000009, (string)AYUV:0x0100000000000009, (string)P010:0x0100000000000009, (string)Y410:0x0100000000000009, (string)AR24:0x0100000000000009, (string)AB24:0x0100000000000009 }
video/x-raw
width: [ 128, 8192 ]
height: [ 96, 8192 ]
format: { (string)NV12, (string)VUYA, (string)P010_10LE, (string)Y410, (string)ARGB, (string)ABGR }

Results after

Capabilities:
video/x-raw(memory:VAMemory)
width: [ 128, 8192 ]
height: [ 96, 8192 ]
format: { (string)NV12, (string)VUYA, (string)P010_10LE, (string)Y410 }
video/x-raw(memory:DMABuf)
width: [ 128, 8192 ]
height: [ 96, 8192 ]
format: DMA_DRM
drm-format: { (string)NV12:0x0100000000000009, (string)AYUV:0x0100000000000009, (string)P010:0x0100000000000009, (string)Y410:0x0100000000000009 }
video/x-raw
width: [ 128, 8192 ]
height: [ 96, 8192 ]
format: { (string)NV12, (string)VUYA, (string)P010_10LE, (string)Y410 }

Since RGB is not supported yet, media driver
should not display this capability to the
framework
@leyu-yao
Copy link
Contributor

Hi @jluiI
May I ask more background of this PR?
Did you encounter any vp9 encoding failure?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants