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

HwAccel Decode Issues #14

Open
w136111526 opened this issue May 9, 2019 · 1 comment
Open

HwAccel Decode Issues #14

w136111526 opened this issue May 9, 2019 · 1 comment

Comments

@w136111526
Copy link

Hello,I have some questions I 'd like to ask you,

  1. After hard decoding, why is the Surface image data only yuv420, and nv12, can you set RGB?
    2, D3d Surface after hard decoding, can it be displayed directly to the SDL window without data conversion?
@aliakseis
Copy link
Owner

It looks like RGB format is not decoder friendly.
For now, IFrameDecoder::SetFrameFormat(IFrameDecoder::PIX_FMT_RGB24, false) can be invoked to set up RGB output. Hardware decoding will still be used.

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

No branches or pull requests

2 participants