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

1234

/external/clang/test/CodeGen/
H A D2009-08-14-vararray-crash.c5 typedef imgrow img[rb]; typedef
7 const img *br;
/external/chromium/chrome/browser/history/
H A Dpage_usage_data.cc27 void PageUsageData::SetThumbnail(SkBitmap* img) { argument
28 if (thumbnail_ && thumbnail_ != img)
31 thumbnail_ = img;
35 void PageUsageData::SetFavicon(SkBitmap* img) { argument
36 if (favicon_ && favicon_ != img)
38 favicon_ = img;
H A Dtop_sites_cache.cc30 Images& img = images_[GetCanonicalURL(url)]; local
31 img.thumbnail = thumbnail;
32 img.thumbnail_score = score;
/external/compiler-rt/lib/tsan/go/
H A Dtest.c30 int __tsan_symbolize(void *pc, char **img, char **rtn, char **file, int *l) { argument
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/
H A DImageFlipper.java48 public static void flipImage(Image img, int index){ argument
49 if (img.getFormat().isCompressed())
53 int w = img.getWidth();
54 int h = img.getHeight();
58 int bpp = img.getFormat().getBitsPerPixel() / 8;
61 ByteBuffer data = img.getData(index);
H A DDXTFlipper.java199 public static ByteBuffer flipDXT(ByteBuffer img, int w, int h, Format format){ argument
232 retImg.put(img);
241 img.position(blockByteOffset);
242 img.limit(blockByteOffset + bpb);
244 img.get(colorBlock);
255 img.get(alphaBlock);
278 img.position(blockByteOffset);
279 img.limit(blockByteOffset + bpb);
288 img.get(alphaBlock);
301 img
[all...]
/external/webkit/Source/WebCore/platform/graphics/efl/
H A DImageEfl.cpp63 RefPtr<BitmapImage> img = BitmapImage::create(); local
65 img->setData(buffer.release(), true);
66 return img.release();
/external/webkit/Source/WebCore/platform/graphics/win/
H A DImageWin.cpp48 RefPtr<BitmapImage> img = BitmapImage::create(); local
49 img->setData(buffer.release(), true);
50 return img.release();
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/renderer/lwjgl/
H A DTextureUtil.java168 public static void uploadTexture(Image img, argument
173 Image.Format fmt = img.getFormat();
178 if (index >= 0 && img.getData() != null && img.getData().size() > 0){
179 data = img.getData(index);
184 int width = img.getWidth();
185 int height = img.getHeight();
186 int depth = img.getDepth();
401 int[] mipSizes = img.getMipMapSizes();
412 int samples = img
[all...]
/external/jmonkeyengine/engine/src/android/com/jme3/renderer/android/
H A DTextureUtil.java114 Image img,
122 if (img.getEfficentData() instanceof AndroidImageInfo){
124 AndroidImageInfo imageInfo = (AndroidImageInfo) img.getEfficentData();
132 Image.Format fmt = img.getFormat();
134 if (index >= 0 || img.getData() != null && img.getData().size() > 0){
135 data = img.getData(index);
140 int width = img.getWidth();
141 int height = img.getHeight();
142 int depth = img
113 uploadTexture( Image img, int target, int index, int border, boolean tdc, boolean generateMips, boolean powerOf2) argument
[all...]
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/
H A DAWTLoader.java66 private Object extractImageData(BufferedImage img){ argument
67 DataBuffer buf = img.getRaster().getDataBuffer();
79 private void flipImage(byte[] img, int width, int height, int bpp){ argument
85 System.arraycopy(img, y1 * scSz, sln, 0, scSz);
86 System.arraycopy(img, y2 * scSz, img, y1 * scSz, scSz);
87 System.arraycopy(sln, 0, img, y2 * scSz, scSz);
91 private void flipImage(short[] img, int width, int height, int bpp){ argument
98 System.arraycopy(img, y1 * scSz, sln, 0, scSz);
99 System.arraycopy(img, y
104 load(BufferedImage img, boolean flipY) argument
[all...]
/external/chromium/chrome/common/net/gaia/
H A Dgoogle_service_auth_error.cc14 const std::string& t, const GURL& img, const GURL& unlock)
15 : token(t), image_url(img), unlock_url(unlock) {}
13 Captcha( const std::string& t, const GURL& img, const GURL& unlock) argument
/external/jmonkeyengine/engine/src/core/com/jme3/texture/
H A DTexture2D.java58 * @param img The image to use.
60 public Texture2D(Image img){ argument
62 setImage(img);
63 if (img.getFormat().isDepthFormat()){
H A DTexture3D.java58 * @param img The image to use.
60 public Texture3D(Image img) { argument
62 setImage(img);
63 if (img.getFormat().isDepthFormat()) {
H A DTextureCubeMap.java74 public TextureCubeMap(Image img){ argument
76 setImage(img);
/external/libvpx/examples/
H A Ddecoder_tmpl.c76 vpx_image_t *img; local
H A Dencoder_tmpl.c53 static int read_frame(FILE *f, vpx_image_t *img) { argument
57 to_read = img->w*img->h*3/2;
58 nbytes = fread(img->planes[0], 1, to_read, f);
/external/libvpx/vpx/src/
H A Dvpx_decoder.c147 vpx_image_t *img; local
150 img = NULL;
152 img = ctx->iface->dec.get_frame(ctx->priv->alg_priv, iter);
154 return img;
H A Dvpx_image.c16 static vpx_image_t *img_alloc_helper(vpx_image_t *img, argument
104 if (!img)
106 img = (vpx_image_t *)calloc(1, sizeof(vpx_image_t));
108 if (!img)
111 img->self_allocd = 1;
115 memset(img, 0, sizeof(vpx_image_t));
118 img->img_data = img_data;
122 img->img_data = malloc((fmt & VPX_IMG_FMT_PLANAR) ? h * w * bps / 8 : h * s);
123 img->img_data_owner = 1;
126 if (!img
149 vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, unsigned int stride_align) argument
158 vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, unsigned int stride_align, unsigned char *img_data) argument
168 vpx_img_set_rect(vpx_image_t *img, unsigned int x, unsigned int y, unsigned int w, unsigned int h) argument
229 vpx_img_flip(vpx_image_t *img) argument
252 vpx_img_free(vpx_image_t *img) argument
[all...]
H A Dvpx_encoder.c116 const vpx_image_t *img,
124 if (!ctx || (img && !duration))
136 res = ctx->iface->enc.encode(ctx->priv->alg_priv, img, pts,
227 vpx_image_t *img = NULL; local
238 img = ctx->iface->enc.get_preview(ctx->priv->alg_priv);
241 return img;
115 vpx_codec_encode(vpx_codec_ctx_t *ctx, const vpx_image_t *img, vpx_codec_pts_t pts, unsigned long duration, vpx_enc_frame_flags_t flags, unsigned long deadline) argument
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
H A DImagesManager.cpp58 SkBitmap* img = 0; local
74 img = ImageTexture::convertBitmap(bitmap);
75 image = new ImageTexture(img, crc);
/external/webkit/Source/WebCore/platform/graphics/gtk/
H A DImageGtk.cpp126 RefPtr<BitmapImage> img = BitmapImage::create(); local
129 img->setData(buffer.release(), true);
131 return img.release();
/external/webkit/Source/WebCore/platform/win/
H A DDragImageCGWin.cpp123 DragImageRef createDragImageFromImage(Image* img) argument
132 hbmp = allocImage(workingDC, img->size(), &drawContext);
142 CGImageRef srcImage = img->getCGImageRef();
144 rect.size = img->size();
H A DDragImageCairoWin.cpp153 DragImageRef createDragImageFromImage(Image* img) argument
162 hbmp = allocImage(workingDC, img->size(), &drawContext);
175 cairo_surface_t* srcImage = img->nativeImageForCurrentFrame();
/external/webkit/Source/WebKit/qt/tests/hybridPixmap/
H A Dwidget.cpp68 void Widget::setImage(const QImage& img) argument
70 ui->lbl4->setPixmap(QPixmap::fromImage(img));
75 QImage img(ui->lbl2->size(), QImage::Format_ARGB32);
77 QPainter p(&img);
80 return img;
104 void Widget::imageSlot(const QImage& img) argument
106 QCOMPARE(img.size(), ui->lbl3->size());
107 emit pixmapSignal(QPixmap::fromImage(img));

Completed in 1335 milliseconds

1234