aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/elbg.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-11-12 12:58:21 +0100
committerStefano Sabatini <stefasab@gmail.com>2013-11-13 11:21:46 +0100
commitfe55c3197698e60753ed4ba78a588481bb975e20 (patch)
tree443d102fa8fee09a881b2fa12fa96b96b48aa337 /libavcodec/elbg.h
parent255302da7019753bae84d809c6d603c4cd0a41ca (diff)
downloadffmpeg-fe55c3197698e60753ed4ba78a588481bb975e20.tar.gz
lavc/elbg: rename ff_ symbols to avpriv_, so they can be used in shared libs
In particular, allows the use of elbg in other FFmpeg libraries, required by the pending elbg filter.
Diffstat (limited to 'libavcodec/elbg.h')
-rw-r--r--libavcodec/elbg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/elbg.h b/libavcodec/elbg.h
index e6f577e3e5..22fb53f2c3 100644
--- a/libavcodec/elbg.h
+++ b/libavcodec/elbg.h
@@ -37,7 +37,7 @@
* @param closest_cb Return the closest codebook to each point. Must be allocated.
* @param rand_state A random number generator state. Should be already initialized by av_lfg_init().
*/
-void ff_do_elbg(int *points, int dim, int numpoints, int *codebook,
+void avpriv_do_elbg(int *points, int dim, int numpoints, int *codebook,
int numCB, int num_steps, int *closest_cb,
AVLFG *rand_state);
@@ -45,10 +45,10 @@ void ff_do_elbg(int *points, int dim, int numpoints, int *codebook,
* Initialize the **codebook vector for the elbg algorithm. If you have already
* a codebook and you want to refine it, you shouldn't call this function.
* If numpoints < 8*numCB this function fills **codebook with random numbers.
- * If not, it calls ff_do_elbg for a (smaller) random sample of the points in
- * **points. Get the same parameters as ff_do_elbg.
+ * If not, it calls avpriv_do_elbg for a (smaller) random sample of the points in
+ * **points. Get the same parameters as avpriv_do_elbg.
*/
-void ff_init_elbg(int *points, int dim, int numpoints, int *codebook,
+void avpriv_init_elbg(int *points, int dim, int numpoints, int *codebook,
int numCB, int num_steps, int *closest_cb,
AVLFG *rand_state);