~ppsspp/ppsspp/ffmpeg

« back to all changes in this revision

Viewing changes to libavcodec/elbg.c

  • Committer: Henrik Rydgård
  • Date: 2014-01-03 10:44:32 UTC
  • Revision ID: git-v1:87c6c126784b1718bfa448ecf2e6a9fef781eb4e
Update our ffmpeg snapshot to a clone of the official repository.

This is because Maxim's at3plus support has been officially merged!

Show diffs side-by-side

added added

removed removed

Lines of Context:
324
324
 
325
325
#define BIG_PRIME 433494437LL
326
326
 
327
 
void ff_init_elbg(int *points, int dim, int numpoints, int *codebook,
 
327
void avpriv_init_elbg(int *points, int dim, int numpoints, int *codebook,
328
328
                  int numCB, int max_steps, int *closest_cb,
329
329
                  AVLFG *rand_state)
330
330
{
339
339
            memcpy(temp_points + i*dim, points + k*dim, dim*sizeof(int));
340
340
        }
341
341
 
342
 
        ff_init_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state);
343
 
        ff_do_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state);
 
342
        avpriv_init_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state);
 
343
        avpriv_do_elbg(temp_points, dim, numpoints/8, codebook, numCB, 2*max_steps, closest_cb, rand_state);
344
344
 
345
345
        av_free(temp_points);
346
346
 
351
351
 
352
352
}
353
353
 
354
 
void ff_do_elbg(int *points, int dim, int numpoints, int *codebook,
 
354
void avpriv_do_elbg(int *points, int dim, int numpoints, int *codebook,
355
355
                int numCB, int max_steps, int *closest_cb,
356
356
                AVLFG *rand_state)
357
357
{