intel / libva

Libva is an implementation for VA-API (Video Acceleration API)
http://intel.github.io/libva/
Other
651 stars 300 forks source link

how to make my hardware driver to support libva library and how does libva library use driver to support video acceleration #360

Open StarsGreen opened 4 years ago

XinfengZhang commented 4 years ago

please refer the implementation https://github.com/intel/media-driver/blob/master/media_driver/linux/common/ddi/media_libva.cpp#L6343 and https://github.com/intel/media-driver/blob/master/media_driver/linux/common/ddi/media_libva.cpp#L6457

StarsGreen commented 4 years ago

if we use libva in embeded env,there is a GPU and video accelerate module on soc ,what should i do to use libva to accelerate video decode or encode? I know that the answer is the drive in user mode,and i know the process in pc is libva ->drm->|drm in kernel->driver in kernel mode.but now i want run libva in embeded system,so how to make it in all process from kernel mode driver to user mode driver and libva in user mode? thanks a lot