VirtualBox

Changeset 24942 in vbox for trunk/src


Ignore:
Timestamp:
Nov 25, 2009 11:33:35 AM (15 years ago)
Author:
vboxsync
Message:

Main: fix header for image resampling code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/DisplayResampleImage.cpp

    r24373 r24942  
     1/** @file
     2 *
     3 * Image resampling code, used for snapshot thumbnails.
     4 */
     5
     6/*
     7 * Copyright (C) 2009 Sun Microsystems, Inc.
     8 *
     9 * This file is part of VirtualBox Open Source Edition (OSE), as
     10 * available from http://www.virtualbox.org. This file is free software;
     11 * you can redistribute it and/or modify it under the terms of the GNU
     12 * General Public License (GPL) as published by the Free Software
     13 * Foundation, in version 2 as it comes in the "COPYING" file of the
     14 * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
     15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
     16 *
     17 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
     18 * Clara, CA 95054 USA or visit http://www.sun.com if you need
     19 * additional information or have any questions.
     20 */
     21
    122/*
    223 * Based on gdImageCopyResampled from libgd.
    3  * Original copyright notice follow:
     24 * Original copyright notice follows:
    425
    526     Portions copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
    6                 Pierre-Alain Joye ([email protected]).
     27    Pierre-Alain Joye ([email protected]).
    728
    829     Permission has been granted to copy, distribute and modify gd in
     
    1132     documentation.
    1233
    13      This does not affect your ownership of the derived work itself, and 
     34     This does not affect your ownership of the derived work itself, and
    1435     the intent is to assure proper credit for the authors of gd, not to
    1536     interfere with your productive use of gd. If you have questions,
    16      ask. "Derived works" includes all programs that utilize the   
     37     ask. "Derived works" includes all programs that utilize the
    1738     library. Credit must be given in user-accessible documentation.
    1839
    19      This software is provided "AS IS." The copyright holders disclaim 
     40     This software is provided "AS IS." The copyright holders disclaim
    2041     all warranties, either express or implied, including but not
    2142     limited to implied warranties of merchantability and fitness for a
    22      particular purpose, with respect to this code and accompanying 
     43     particular purpose, with respect to this code and accompanying
    2344     documentation.
    2445 */
     
    3253#include <iprt/types.h>
    3354
    34 /* 2.0.10: cast instead of floor() yields 35% performance improvement. 
     55/* 2.0.10: cast instead of floor() yields 35% performance improvement.
    3556        Thanks to John Buckman. */
    3657
     
    130151                    }
    131152                  pcontribution = xportion * yportion;
    132                   /* 2.08: previously srcX and srcY were ignored. 
     153                  /* 2.08: previously srcX and srcY were ignored.
    133154                     Andrew Pattison */
    134155                  p = gdImageGetTrueColorPixel (src,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette