Mercurial > libavcodec.hg
comparison elbg.h @ 8628:e49a2e1f0020 libavcodec
Replace calls to the deprecated function av_init_random() with
corresponding calls to av_random_init().
author | stefano |
---|---|
date | Sun, 18 Jan 2009 23:04:33 +0000 |
parents | c4a4495715dd |
children | aa459306ee59 |
comparison
equal
deleted
inserted
replaced
8627:d6bab465b82c | 8628:e49a2e1f0020 |
---|---|
33 * @param numpoints Num of points in **points. | 33 * @param numpoints Num of points in **points. |
34 * @param codebook Pointer to the output codebook. Must be allocated. | 34 * @param codebook Pointer to the output codebook. Must be allocated. |
35 * @param numCB Number of points in the codebook. | 35 * @param numCB Number of points in the codebook. |
36 * @param num_steps The maximum number of steps. One step is already a good compromise between time and quality. | 36 * @param num_steps The maximum number of steps. One step is already a good compromise between time and quality. |
37 * @param closest_cb Return the closest codebook to each point. Must be allocated. | 37 * @param closest_cb Return the closest codebook to each point. Must be allocated. |
38 * @param rand_state A random number generator state. Should be already initialised by av_init_random. | 38 * @param rand_state A random number generator state. Should be already initialised by av_random_init. |
39 */ | 39 */ |
40 void ff_do_elbg(int *points, int dim, int numpoints, int *codebook, | 40 void ff_do_elbg(int *points, int dim, int numpoints, int *codebook, |
41 int numCB, int num_steps, int *closest_cb, | 41 int numCB, int num_steps, int *closest_cb, |
42 AVRandomState *rand_state); | 42 AVRandomState *rand_state); |
43 | 43 |