AMF
AMF copied to clipboard
[Question]: NV12 to RGBA conversion
Hello,
I'm integrating AMF encoder and decoder into a screen-sharing app. Currently I'm decoding to NV12
format via amf and converting to RGBA
in RAM/software and blitting everything to screen via QImage
.
Is there any way to accelerate this - get RGBA directly from the decoder, converting or displaying via directx? Writing a converter ( amf::AMF_SURFACE_NV12
-> amf::AMF_SURFACE_RGBA
) gives me AMF_INVALID_FORMAT
when calling converter->Init
.