libva
libva copied to clipboard
gpu copy/transform of va surfaces
Hello, Is it possible to gpu copy/transform the data of a NV12 va_surface to another RGBA va_surface that has been setup with external buffer attributes ?
I am new to libva API, and if this is possible, an example would be greatly appreciated. Thanks, Angelo
@angelo-p , you should use VPP to do the color space covert, please refer to https://github.com/intel/libva-utils/blob/master/videoprocess/vppscaling_csc.cpp
Thanks a lot for the pointer!, I'll take a look.