jdk/src/share/native/sun/awt/image/cvutils/img_replscale.h
changeset 21278 ef8a3a2a72f2
parent 5506 202f599c92aa
child 23010 6dadb192ad81
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
    33  * The input pixels will be replicated when scaling larger than the
    33  * The input pixels will be replicated when scaling larger than the
    34  * original image size since the same input pixel will be chosen for
    34  * original image size since the same input pixel will be chosen for
    35  * more than one output pixel.  Conversely, when scaling smaller than
    35  * more than one output pixel.  Conversely, when scaling smaller than
    36  * the original image size, the input pixels will be omitted as needed
    36  * the original image size, the input pixels will be omitted as needed
    37  * to pare them down to the required number of samples for the output
    37  * to pare them down to the required number of samples for the output
    38  * image.  If there is no scaling occuring in one or both directions
    38  * image.  If there is no scaling occurring in one or both directions
    39  * the macros attempt to short-circuit most of the more complicated
    39  * the macros attempt to short-circuit most of the more complicated
    40  * calculations in an attempt to impose little cost for using this
    40  * calculations in an attempt to impose little cost for using this
    41  * implementation in the general case.  The calculations also do not
    41  * implementation in the general case.  The calculations also do not
    42  * impose any restrictions on the order of delivery of the pixels.
    42  * impose any restrictions on the order of delivery of the pixels.
    43  *
    43  *