shshankjain / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

Provide function getters for vpx_codec_vp8_cx_algo and friends #169

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
vpx_codec_vp8_cx_algo is defined as extern const struct which makes it harder 
to access when using dlopen() and dlsym().

In Chromium code we use the libvpx inside FFmpeg and have to export symbols 
from FFmpeg to use libvpx. It mostly works except vpx_codec_vp8_cx_algo since 
it is an extern struct, we have to use dlsym() in the vpx client code which is 
ugly.

Can we have a vpx_codec_vp8_cx_algo_addr() method that provides the pointer?

Original issue reported on code.google.com by hc...@chromium.org on 1 Sep 2010 at 7:00

GoogleCodeExporter commented 9 years ago
Please review the approach taken in https://review.webmproject.org/570 and let 
me know if it works for you.

Original comment by jkoles...@google.com on 21 Sep 2010 at 2:41

GoogleCodeExporter commented 9 years ago

Original comment by jkoles...@google.com on 25 Oct 2010 at 5:24