~ubuntu-branches/ubuntu/edgy/djvulibre/edgy

« back to all changes in this revision

Viewing changes to tools/jb2tune.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-07-03 11:38:23 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060703113823-un2te7742kk04c63
Tags: 3.5.17-1ubuntu1
* Sync with Debian
* debian/rules:
  - use dh_iconcache.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
//C- | MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
52
52
//C- +------------------------------------------------------------------
53
53
// 
54
 
// $Id: jb2tune.cpp,v 1.10 2005/03/13 19:17:32 leonb Exp $
 
54
// $Id: jb2tune.cpp,v 1.11 2006/03/23 01:41:15 leonb Exp $
55
55
 
56
56
#ifdef HAVE_CONFIG_H
57
57
# include "config.h"
372
372
tune_jb2image_lossless(JB2Image *jimg)
373
373
{
374
374
  int nshapes = jimg->get_shape_count();
375
 
  GTArray<MatchData> lib(nshapes);
 
375
  GArray<MatchData> lib(nshapes);
376
376
  compute_matchdata_lossless(jimg, lib);
377
377
  tune_jb2image(jimg, lib, false);
378
378
}
386
386
tune_jb2image_lossy(JB2Image *jimg, int dpi, int aggression)
387
387
{
388
388
  int nshapes = jimg->get_shape_count();
389
 
  GTArray<MatchData> lib(nshapes);
 
389
  GArray<MatchData> lib(nshapes);
390
390
 
391
391
  mdjvu_matcher_options_t options = mdjvu_matcher_options_create();
392
392
  mdjvu_set_aggression(options, aggression);