intel / libva

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

va not support private profile such as AVS,AVS2 and private interface #522

Open StarsGreen opened 3 years ago

StarsGreen commented 3 years ago

va not support private profile such as AVS,AVS2,sometimes private interface should be used to decode or encode AVS and AVS2.in addtion,why va not support extention function to support private function for chip designers and manufacturers,may be some patch should be commited.

XinfengZhang commented 3 years ago

what kind of private function? you mean user_defined_offset , such as if VAProfile value > 0x10000000 (user_defined_offset) , it is defined by user? is there a PR to descript it?

StarsGreen commented 3 years ago

Maybe it is not clear for my description.actially,I propose two questions. For one, I means if there is any posibility to add a profile to support AVS and AVS2 decoding and encoding standards because AVS and AVS2 is supported by chip designers and manufacturers in china. For two, I suggest to add some interface to support private function for chip designers and manufacturers because they have their own features in chips but maybe current VA functions do not enclude these features,because for now,I just see a private function pointer "typedef int (*VAPrivFunc)(void);" ,but it is difficut to support private function with params. waiting for your reply.

gitgjogh commented 1 year ago

see https://github.com/intel/libva/pull/738