MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


mediaLib Library Functions           mlibImageZoomIn2XFp(3MLIB)



NAME
     mlibImageZoomIn2XFp - 2X zoom

SYNOPSIS
     cc [ flag... ] file... -lmlib [ library... ]
     #include 

     mlibstatus mlibImageZoomIn2XFp(mlibimage *dst, const mlibimage *src,
          mlibfilter filter, mlibedge edge);


DESCRIPTION
     The mlibImageZoomIn2XFp() function enlarges the  floating-
     point  source image by a factor of two. It uses the interpo-
     lation method as described by the resampling filter.


     The center of the upper-left corner pixel  of  an  image  is
     located at (0.5, 0.5).


     The width and height of the destination image  can  be  dif-
     ferent from those of the source image.


     The center of the source image is mapped onto the center  of
     the destination image.

PARAMETERS
     The function takes the following arguments:

     dst       Pointer to destination image.


     src       Pointer to source image.


     filter    Type of resampling filter. It can be  one  of  the
               following:

                 MLIBNEAREST
                 MLIBILINEAR
                 MLIBICUBIC
                 MLIBICUBIC2



     edge      Type of edge condition. It can be one of the  fol-
               lowing:

                 MLIBEDGEDSTNOWRITE
                 MLIBEDGEDSTFILZERO



SunOS 5.11           Last change: 2 Mar 2007                    1






mediaLib Library Functions           mlibImageZoomIn2XFp(3MLIB)



                 MLIBEDGEOPNEAREST
                 MLIBEDGESRCEXTEND
                 MLIBEDGESRCPADED



RETURN VALUES
     The function returns MLIBSUCES if  successful.  Otherwise
     it returns MLIBFAILURE.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    
     MT-Level                     MT-Safe                     
    


SEE ALSO
     mlibImageZoom(3MLIB),             mlibImageZoomFp(3MLIB),
     mlibImageZoomIn2X(3MLIB),   mlibImageZoomIn2XIndex(3MLIB),
     mlibImageZoomIndex(3MLIB),      mlibImageZoomOut2X(3MLIB),
     mlibImageZoomOut2XFp(3MLIB),
     mlibImageZoomOut2XIndex(3MLIB), attributes(5)
























SunOS 5.11           Last change: 2 Mar 2007                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™