libva icon indicating copy to clipboard operation
libva copied to clipboard

private interface with parameters in va

Open StarsGreen opened this issue 3 years ago • 2 comments

I want to add a private interface in standard libva but vaGetLibFunc only return a pointer that has no prarameters ,so how can I get a private function with parameters

StarsGreen avatar Mar 05 '21 08:03 StarsGreen

may be

typedef int (*VAPrivFunc)(void) VAPrivFunc vaGetLibFunc ( VADisplay dpy, const char *func );

To

typedef int (VAPrivFunc pointer)(void pointer)

VAPrivFunc vaGetLibFunc ( VADisplay dpy, const char *func );

is better

StarsGreen avatar Mar 05 '21 08:03 StarsGreen

why pointer symbol can not be showed

StarsGreen avatar Mar 05 '21 08:03 StarsGreen