Searched defs:img (Results 1 - 25 of 88) sorted by relevance

1234

/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...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageRowTable.h37 static void *mlib_ImageGetRowTable(mlib_image *img) argument
39 return img->state;
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...]
H A Dmlib_ImageConvClearEdge_Bit.c33 * mlib_status mlib_ImageConvClearEdge_Bit(mlib_image *img,
42 * img Pointer to an image.
57 * img can have 1 channels of MLIB_BIT data type.
70 mlib_status mlib_ImageConvClearEdge_Bit(mlib_image *img, argument
78 mlib_u8 *pimg = mlib_ImageGetData(img), *pd;
79 mlib_s32 img_height = mlib_ImageGetHeight(img);
80 mlib_s32 img_width = mlib_ImageGetWidth(img);
81 mlib_s32 img_stride = mlib_ImageGetStride(img);
82 mlib_s32 bitoff = mlib_ImageGetBitOffset(img);
88 if ((mlib_ImageGetType(img) !
[all...]
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...]
/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/share/classes/javax/swing/
H A DDebugGraphicsObserver.java47 public synchronized boolean imageUpdate(Image img, int infoflags, argument
/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/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...]
H A DEncodeSubImageTest.java74 BufferedImage img; field in class:EncodeSubImageTest
76 public EncodeSubImageTest(BufferedImage img) { argument
77 this.img = img;
110 checkPixel(dst, img.getWidth() / 2, img.getHeight() / 2, isSubsampled);
118 int src_rgb = img.getRGB(x, y);
157 writer.write(null, new IIOImage(img, null, null), p);
/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;
H A DWritingInterruptionTest.java49 static BufferedImage img; field in class:WritingInterruptionTest
52 img = createTestImage();
133 w.write(img);
194 BufferedImage img = new
196 Graphics2D g = img.createGraphics();
207 return img;
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DHeadlessGraphicsEnvironment.java88 public Graphics2D createGraphics(BufferedImage img) { argument
89 return ge.createGraphics(img); }
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRDrawImage.java41 protected void renderImageXform(SunGraphics2D sg, Image img, argument
45 SurfaceData srcData = dstData.getSourceSurfaceData(img,
64 super.renderImageXform(sg, img, tx, interpType, sx1, sy1, sx2, sy2,
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DImageObserver.java41 * getWidth(ImageObserver) and drawImage(img, x, y, ImageObserver)
46 * drawImage(img, x, y, [w, h,] ImageObserver) call).
51 * tracked is passed in using the img argument. Various constants
63 * @param img the image being observed.
88 public boolean imageUpdate(Image img, int infoflags, argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DImageDataContentHandler.java150 private BufferedImage render(Image img) throws InterruptedException { argument
153 tracker.addImage(img, 0);
155 BufferedImage bufImage = new BufferedImage(img.getWidth(null),
156 img.getHeight(null), BufferedImage.TYPE_INT_RGB);
158 g.drawImage(img, 0, 0, null);
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImageWatched.java81 public boolean newInfo(Image img, int info, argument
123 public boolean newInfo(Image img, int info, argument
127 boolean ret = next.newInfo(img, info, x, y, w, h);
132 } else if (myiw.imageUpdate(img, info, x, y, w, h) == false) {
169 public void newInfo(Image img, int info, int x, int y, int w, int h) { argument
170 if (watcherList.newInfo(img, info, x, y, w, h)) {
/openjdk7/jdk/src/share/classes/java/awt/
H A DGraphicsEnvironment.java254 * @param img the specified <code>BufferedImage</code>
257 * @throws NullPointerException if <code>img</code> is null
259 public abstract Graphics2D createGraphics(BufferedImage img); argument
/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/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/soap/
H A DImageDataContentHandler.java150 log.severe("SAAJ0525.soap.cannot.encode.img");
157 private BufferedImage render(Image img) throws InterruptedException { argument
160 tracker.addImage(img, 0);
162 BufferedImage bufImage = new BufferedImage(img.getWidth(null),
163 img.getHeight(null), BufferedImage.TYPE_INT_RGB);
165 g.drawImage(img, 0, 0, null);
/openjdk7/jdk/test/sun/awt/image/ImageRepresentation/
H A DLUTCompareTest.java61 Image img = createTestImage();
65 LUTCompareTest o = new LUTCompareTest(img);
67 tk.prepareImage(img, -1, -1, o);
78 checkResults(img);
87 public LUTCompareTest(Image img) { argument
88 this.image = img;
175 BufferedImage img = new BufferedImage(icm, wr, false, null);
176 return img;
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXIconWindow.java216 void replaceImage(Image img) argument
225 if (img != null && iconWidth != 0 && iconHeight != 0) {
239 g.drawImage(img, 0, 0, iconWidth, iconHeight, null);
337 void replaceMask(Image img) { argument
343 if (img != null && iconWidth != 0 && iconHeight != 0) {
347 g.drawImage(img, 0, 0, iconWidth, iconHeight, null);
427 void setIconImage(Image img) { argument
428 if (img == null) {
436 if (img instanceof ToolkitImage) {
437 ImageRepresentation ir = ((ToolkitImage)img)
[all...]

Completed in 150 milliseconds

1234