Searched refs:img (Results 1 - 25 of 154) sorted by relevance

1234567

/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_image_get.h35 static mlib_type mlib_ImageGetType(const mlib_image *img) argument
37 return img->type;
40 static mlib_s32 mlib_ImageGetChannels(const mlib_image *img) argument
42 return img->channels;
45 static mlib_s32 mlib_ImageGetWidth(const mlib_image *img) argument
47 return img->width;
50 static mlib_s32 mlib_ImageGetHeight(const mlib_image *img) argument
52 return img->height;
55 static mlib_s32 mlib_ImageGetStride(const mlib_image *img) argument
57 return img
60 mlib_ImageGetData(const mlib_image *img) argument
65 mlib_ImageGetFlags(const mlib_image *img) argument
70 mlib_ImageGetPaddings(const mlib_image *img) argument
75 mlib_ImageGetBitOffset(const mlib_image *img) argument
80 mlib_ImageGetFormat(const mlib_image *img) argument
86 mlib_ImageTestFlags(const mlib_image *img, mlib_s32 flags) argument
92 mlib_ImageIsNotAligned64(const mlib_image *img) argument
98 mlib_ImageIsNotAligned8(const mlib_image *img) argument
104 mlib_ImageIsNotAligned4(const mlib_image *img) argument
110 mlib_ImageIsNotAligned2(const mlib_image *img) argument
116 mlib_ImageIsNotWidth8X(const mlib_image *img) argument
122 mlib_ImageIsNotWidth4X(const mlib_image *img) argument
128 mlib_ImageIsNotWidth2X(const mlib_image *img) argument
134 mlib_ImageIsNotHeight8X(const mlib_image *img) argument
140 mlib_ImageIsNotHeight4X(const mlib_image *img) argument
146 mlib_ImageIsNotHeight2X(const mlib_image *img) argument
152 mlib_ImageIsNotStride8X(const mlib_image *img) argument
158 mlib_ImageIsNotOneDvector(const mlib_image *img) argument
164 mlib_ImageIsUserAllocated(const mlib_image *img) argument
[all...]
H A Dmlib_ImageRowTable.h37 static void *mlib_ImageGetRowTable(mlib_image *img) argument
39 return img->state;
H A Dmlib_ImageCreate.c55 * void mlib_ImageDelete(mlib_image *img)
57 * mlib_image *mlib_ImageCreateSubimage(mlib_image *img,
63 * void *mlib_ImageCreateRowTable(mlib_image *img)
65 * void mlib_ImageDeleteRowTable(mlib_image *img)
67 * mlib_status mlib_ImageSetPaddings(mlib_image *img,
73 * mlib_status mlib_ImageSetFormat(mlib_image *img,
76 * img pointer to image data structure
355 void mlib_ImageDelete(mlib_image *img) argument
357 if (img == NULL) return;
358 if ((img
367 mlib_ImageCreateSubimage(mlib_image *img, mlib_s32 x, mlib_s32 y, mlib_s32 w, mlib_s32 h) argument
511 mlib_ImageCreateRowTable(mlib_image *img) argument
539 mlib_ImageDeleteRowTable(mlib_image *img) argument
553 mlib_ImageSetPaddings(mlib_image *img, mlib_u8 left, mlib_u8 top, mlib_u8 right, mlib_u8 bottom) argument
573 mlib_ImageSetFormat(mlib_image *img, mlib_format format) argument
[all...]
H A Dmlib_ImageConvClearEdge_Fp.c33 * mlib_status mlib_c_ImageConvClearEdge_Fp(mlib_image *img,
42 * img Pointer to an image.
57 * img can have 1, 2, 3 or 4 channels of MLIB_FLOAT or MLIB_DOUBLE
73 type *pimg = (type *) mlib_ImageGetData(img); \
75 mlib_s32 img_stride = mlib_ImageGetStride(img) / sizeof(type); \
111 mlib_status mlib_ImageConvClearEdge_Fp(mlib_image *img, argument
119 mlib_s32 img_width = mlib_ImageGetWidth(img);
120 mlib_s32 img_height = mlib_ImageGetHeight(img);
121 mlib_s32 channel = mlib_ImageGetChannels(img);
135 switch (mlib_ImageGetType(img)) {
[all...]
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dmlib_v_ImageClear.c32 * mlib_status mlib_ImageClear(mlib_image *img,
36 * img Pointer to an image.
40 * img can have 1, 2, 3 or 4 channels of MLIB_BIT, MLIB_BYTE,
71 mlib_status __mlib_ImageClear(mlib_image *img, argument
74 MLIB_IMAGE_CHECK(img);
76 switch (mlib_ImageGetType(img)) {
79 switch (mlib_ImageGetChannels(img)) {
82 mlib_v_ImageClear_BIT_1(img, color);
86 mlib_v_ImageClear_BIT_2(img, color);
90 mlib_v_ImageClear_BIT_3(img, colo
[all...]
H A Dmlib_v_ImageClear_f.h37 void mlib_v_ImageClear_BIT_1(mlib_image *img,
40 void mlib_v_ImageClear_BIT_2(mlib_image *img,
43 void mlib_v_ImageClear_BIT_3(mlib_image *img,
46 void mlib_v_ImageClear_BIT_4(mlib_image *img,
49 void mlib_v_ImageClear_U8_1(mlib_image *img,
52 void mlib_v_ImageClear_U8_2(mlib_image *img,
55 void mlib_v_ImageClear_U8_3(mlib_image *img,
58 void mlib_v_ImageClear_U8_4(mlib_image *img,
61 void mlib_v_ImageClear_S16_1(mlib_image *img,
64 void mlib_v_ImageClear_S16_2(mlib_image *img,
[all...]
/openjdk7/jdk/test/java/awt/Component/PrintAllXcheckJNI/
H A DPrintAllXcheckJNI.java42 BufferedImage img = new BufferedImage(frame.getWidth(),
45 Graphics2D g = img.createGraphics();
50 img.flush();
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DTableScrollPaneCorner.java58 BufferedImage img = new BufferedImage(getWidth(),getHeight(),
60 Graphics2D g2 = (Graphics2D)img.getGraphics();
63 g.drawImage(img,0,0,null);
64 img = null;
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletImageRef.java51 Image img = Toolkit.getDefaultToolkit().createImage(new URLImageSource(url));
52 return img;
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DBufImgOps.java50 static boolean renderImageWithOp(SunGraphics2D sg, BufferedImage img, argument
60 if (!isRescaleOpValid((RescaleOp)biop, img)) {
64 if (!isLookupOpValid((LookupOp)biop, img)) {
81 dstData.getSourceSurfaceData(img, sg.TRANSFORM_ISIDENT,
86 dstData.getSourceSurfaceData(img, sg.TRANSFORM_ISIDENT,
104 int sw = img.getWidth();
105 int sh = img.getHeight();
107 img, biop,
H A DD3DDrawImage.java43 protected void renderImageXform(SunGraphics2D sg, Image img, argument
55 dstData.getSourceSurfaceData(img,
77 super.renderImageXform(sg, img, tx, interpType,
82 public void transformImage(SunGraphics2D sg, BufferedImage img, argument
88 transformImage(sg, img, x, y,
93 if (D3DBufImgOps.renderImageWithOp(sg, img, op, x, y)) {
97 img = op.filter(img, null);
99 copyImage(sg, img, x, y, null);
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLBufImgOps.java50 static boolean renderImageWithOp(SunGraphics2D sg, BufferedImage img, argument
60 if (!isRescaleOpValid((RescaleOp)biop, img)) {
64 if (!isLookupOpValid((LookupOp)biop, img)) {
81 dstData.getSourceSurfaceData(img, sg.TRANSFORM_ISIDENT,
86 dstData.getSourceSurfaceData(img, sg.TRANSFORM_ISIDENT,
103 int sw = img.getWidth();
104 int sh = img.getHeight();
106 img, biop,
H A DOGLDrawImage.java43 protected void renderImageXform(SunGraphics2D sg, Image img, argument
62 dstData.getSourceSurfaceData(img,
89 super.renderImageXform(sg, img, tx, interpType,
94 public void transformImage(SunGraphics2D sg, BufferedImage img, argument
100 transformImage(sg, img, x, y,
105 if (OGLBufImgOps.renderImageWithOp(sg, img, op, x, y)) {
109 img = op.filter(img, null);
111 copyImage(sg, img, x, y, null);
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterGraphics.java46 public boolean drawImage(Image img, int x, int y, argument
52 return getDelegate().drawImage(img, x, y, bgcolor, observer);
55 public boolean drawImage(Image img, int x, int y, argument
62 return getDelegate().drawImage(img, x, y, width, height, bgcolor, observer);
65 public boolean drawImage(Image img, argument
73 return getDelegate().drawImage(img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, bgcolor, observer);
/openjdk7/jdk/test/java/awt/geom/Path2D/
H A DFillPPathTest.java58 BufferedImage img = new BufferedImage(IMG_WIDTH, IMG_HEIGHT,
60 Graphics2D g2d = img.createGraphics();
66 if (img.getRGB(60, 20) != Color.BLACK.getRGB()) {
70 img = createCustomImage();
72 g2d = img.createGraphics();
78 if (img.getRGB(60, 20) != Color.BLACK.getRGB()) {
/openjdk7/jdk/test/sun/java2d/
H A DXRenderBlitsTest.java54 BufferedImage img = new BufferedImage(w, h, type++);
55 Graphics2D g2d = img.createGraphics();
60 images.add(img);
74 for (BufferedImage img : images) {
75 System.out.println("Draw image " + img.getType());
76 g.drawImage(img, x, 0, this);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DDrawImagePipe.java57 public boolean copyImage(SunGraphics2D sg, Image img, argument
62 public boolean copyImage(SunGraphics2D sg, Image img, argument
67 public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, argument
72 public boolean scaleImage(SunGraphics2D sg, Image img, argument
78 public boolean transformImage(SunGraphics2D sg, Image img, argument
82 public void transformImage(SunGraphics2D sg, BufferedImage img, argument
H A DDrawImage.java60 public boolean copyImage(SunGraphics2D sg, Image img, argument
64 int imgw = img.getWidth(null);
65 int imgh = img.getHeight(null);
67 return renderImageCopy(sg, img, bgColor,
76 transformImage(sg, img, atfm, sg.interpolationType,
81 public boolean copyImage(SunGraphics2D sg, Image img, argument
86 return renderImageCopy(sg, img, bgColor,
90 scaleImage(sg, img, dx, dy, (dx + w), (dy + h),
95 public boolean scaleImage(SunGraphics2D sg, Image img, int x, int y, argument
99 int imgw = img
137 transformImage(SunGraphics2D sg, Image img, int x, int y, AffineTransform extraAT, int interpType) argument
229 transformImage(SunGraphics2D sg, Image img, AffineTransform tx, int interpType, int sx1, int sy1, int sx2, int sy2, Color bgColor) argument
274 tryCopyOrScale(SunGraphics2D sg, Image img, int sx1, int sy1, int sx2, int sy2, Color bgColor, int interpType, double coords[]) argument
319 makeBufferedImage(Image img, Color bgColor, int type, int sx1, int sy1, int sx2, int sy2) argument
337 renderImageXform(SunGraphics2D sg, Image img, AffineTransform tx, int interpType, int sx1, int sy1, int sx2, int sy2, Color bgColor) argument
550 renderImageCopy(SunGraphics2D sg, Image img, Color bgColor, int dx, int dy, int sx, int sy, int w, int h) argument
606 renderImageScale(SunGraphics2D sg, Image img, Color bgColor, int interpType, int sx1, int sy1, int sx2, int sy2, double dx1, double dy1, double dx2, double dy2) argument
667 scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor) argument
825 getBufferedImage(Image img) argument
1005 copyImage(SunGraphics2D sg, Image img, int x, int y, Color bgColor, ImageObserver observer) argument
1021 copyImage(SunGraphics2D sg, Image img, int dx, int dy, int sx, int sy, int w, int h, Color bgColor, ImageObserver observer) argument
1040 scaleImage(SunGraphics2D sg, Image img, int x, int y, int width, int height, Color bgColor, ImageObserver observer) argument
1058 scaleImage(SunGraphics2D sg, Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgColor, ImageObserver observer) argument
1077 transformImage(SunGraphics2D sg, Image img, AffineTransform atfm, ImageObserver observer) argument
1093 transformImage(SunGraphics2D sg, BufferedImage img, BufferedImageOp op, int x, int y) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DSurfaceManager.java55 public abstract SurfaceManager getSurfaceManager(Image img); argument
56 public abstract void setSurfaceManager(Image img, SurfaceManager mgr); argument
71 public static SurfaceManager getManager(Image img) { argument
72 SurfaceManager sMgr = imgaccessor.getSurfaceManager(img);
78 BufferedImage bi = (BufferedImage) img;
88 public static void setManager(Image img, SurfaceManager mgr) { argument
89 imgaccessor.setSurfaceManager(img, mgr);
197 // Note that when img.getAccelerationPriority() gets set to 0
298 public static int getImageScale(final Image img) { argument
299 if (!(img instanceo
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DPeekGraphics.java937 * @param img the specified image to be drawn.
947 public boolean drawImage(Image img, int x, int y, argument
950 if (img == null) {
957 ImageWaiter dim = new ImageWaiter(img);
960 mPrintMetrics.drawImage(this, img);
962 return mGraphics.drawImage(img, x, y, observer);
988 * @param img the specified image to be drawn.
1000 public boolean drawImage(Image img, int x, int y, argument
1004 if (img == null) {
1008 mPrintMetrics.drawImage(this, img);
1045 drawImage(Image img, int x, int y, Color bgcolor, ImageObserver observer) argument
1104 drawImage(Image img, int x, int y, int width, int height, Color bgcolor, ImageObserver observer) argument
1167 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, ImageObserver observer) argument
1241 drawImage(Image img, int dx1, int dy1, int dx2, int dy2, int sx1, int sy1, int sx2, int sy2, Color bgcolor, ImageObserver observer) argument
1281 drawRenderedImage(RenderedImage img, AffineTransform xform) argument
1293 drawRenderableImage(RenderableImage img, AffineTransform xform) argument
1384 drawImage(Image img, AffineTransform xform, ImageObserver obs) argument
1431 drawImage(BufferedImage img, BufferedImageOp op, int x, int y) argument
1822 imageUpdate(Image img, int infoFlags, int x, int y, int width, int height) argument
1836 getImageWidth(Image img) argument
1852 getImageHeight(Image img) argument
1878 ImageWaiter(Image img) argument
1890 waitForDimensions(Image img) argument
[all...]
/openjdk7/jdk/test/javax/imageio/plugins/gif/
H A DGifTransparencyTest.java127 BufferedImage img; field in class:GifTransparencyTest.ImageComponent
129 public ImageComponent(BufferedImage img) { argument
130 this.img = img;
134 return new Dimension(img.getWidth() + 2, img.getHeight() + 2);
138 g.drawImage(img, 1, 1, this);
143 BufferedImage img = new BufferedImage(200, 200,
145 Graphics g = img.createGraphics();
151 return img;
[all...]
/openjdk7/jdk/test/sun/awt/image/ImageWatched/
H A DAddNoLeak.java41 Image img = cont.createImage(new DummyImageSource());
43 img.getWidth(new ImageObserver() {
44 public boolean imageUpdate(Image img, int infoflags, int x, int y, int width, int height) {return false;}
/openjdk7/jdk/test/javax/imageio/plugins/jpeg/
H A DConcurrentWritingTest.java47 static BufferedImage img; field in class:ConcurrentWritingTest
54 img = createTestImage();
78 w.write(img);
99 BufferedImage img = new
101 Graphics2D g = img.createGraphics();
112 return img;
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/
H A DIconManager.java42 private static ImageIcon getImage(String img) { argument
43 return new ImageIcon(JConsole.class.getResource("resources/" + img));
/openjdk7/jdk/test/javax/swing/plaf/nimbus/
H A DTest6741426.java45 BufferedImage img =
48 tf.paint(img.getGraphics());

Completed in 126 milliseconds

1234567