~ubuntu-branches/ubuntu/trusty/gmic/trusty

« back to all changes in this revision

Viewing changes to src/gmic_use_lib.cpp

  • Committer: Package Import Robot
  • Author(s): Bernd Zeimetz, 223f8c2f
  • Date: 2013-10-13 14:34:39 UTC
  • mfrom: (21.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20131013143439-jzaedfn51l6pkja9
Tags: 1.5.7.1-4
[223f8c2f] Simplyfy optimization setting selection.
Low memory always results in -O0 now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 #  Description : Show how to call the G'MIC interpreter from a C++ source code.
7
7
 #
8
8
 #  Copyright   : David Tschumperle
9
 
 #                ( http://www.greyc.ensicaen.fr/~dtschump/ )
 
9
 #                ( http://tschumperle.users.greyc.fr/ )
10
10
 #
11
11
 #  License     : CeCILL v2.0
12
12
 #                ( http://www.cecill.info/licences/Licence_CeCILL_V2-en.html )
98
98
 
99
99
  // Third step : get back modified image data.
100
100
  //-------------------------------------------
101
 
  std::fprintf(stderr,"\n- 3st step : Returned %d output images.\n",images._width);
 
101
  std::fprintf(stderr,"\n- 3st step : Returned %u output images.\n",images._width);
102
102
  for (unsigned int i = 0; i<images._width; ++i) {
103
103
    std::fprintf(stderr,"   Output image %u = %ux%ux%ux%u, buffer : %p\n",i,
104
104
                 images._data[i]._width,