/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
H A D | FileDescriptorBitmapDecoder.java | 30 public Resource<Bitmap> decode(ParcelFileDescriptor source, int width, int height) throws IOException { argument 31 Bitmap bitmap = bitmapDecoder.decode(source, bitmapPool, width, height, decodeFormat);
|
H A D | ImageVideoBitmapDecoder.java | 25 public Resource<Bitmap> decode(ImageVideoWrapper source, int width, int height) throws IOException { argument 30 result = streamDecoder.decode(source.getStream(), width, height); 41 result = fileDescriptorDecoder.decode(source.getFileDescriptor(), width, height);
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
H A D | GifFrameResourceDecoder.java | 20 public Resource<Bitmap> decode(GifDecoder source, int width, int height) throws IOException { argument
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/ |
H A D | GifBitmapWrapperResourceDecoder.java | 27 public Resource<GifBitmapWrapper> decode(ImageVideoWrapper source, int width, int height) throws IOException { argument 40 Resource<GifData> gifResource = gifDecoder.decode(bis, width, height); 46 Resource<Bitmap> bitmapResource = bitmapDecoder.decode(source, width, height);
|
H A D | GifBitmapWrapperStreamResourceDecoder.java | 18 public Resource<GifBitmapWrapper> decode(InputStream source, int width, int height) throws IOException { argument 19 return gifBitmapDecoder.decode(new ImageVideoWrapper(source, null), width, height);
|
/external/harfbuzz_ng/util/ |
H A D | helper-cairo-ansi.cc | 39 unsigned int height = cairo_image_surface_get_height (surface); local 41 cairo_surface_t *new_surface = cairo_image_surface_create (CAIRO_FORMAT_RGB24, width, height); 69 while (height) 78 height--; 82 unsigned int orig_height = height; 83 while (height) 85 const uint32_t *row = data + (height - 1) * stride / 4; 92 height--; 94 if (height < orig_height) 95 height [all...] |
/external/icu/icu4c/source/samples/layout/ |
H A D | Surface.cpp | 16 le_int32 x, le_int32 y, le_int32 width, le_int32 height) 22 clip.bottom = height; 15 drawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx, le_int32 x, le_int32 y, le_int32 width, le_int32 height) argument
|
H A D | rsurface.cpp | 17 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) 21 rs->drawGlyphs((const LEFontInstance *) font, glyphs, count, positions, x, y, width, height); 16 rs_drawGlyphs(rs_surface *surface, const le_font *font, const LEGlyphID *glyphs, le_int32 count, const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height) argument
|
/external/libpng/contrib/libtests/ |
H A D | readpng.c | 72 png_uint_32 height = png_get_image_height(png_ptr, info_ptr); local 80 png_uint_32 y = height;
|
/external/mesa3d/src/egl/wayland/wayland-egl/ |
H A D | wayland-egl-priv.h | 21 int height; member in struct:wl_egl_window
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_framebuffer.c | 55 dst->height != src->height) 86 dst->height = src->height; 111 fb->width = fb->height = 0; 117 * minimum width and height of all bound surfaces. 122 unsigned *height) 130 h = MIN2(h, fb->cbufs[i]->height); 135 h = MIN2(h, fb->zsbuf->height); 140 *height 120 util_framebuffer_min_size(const struct pipe_framebuffer_state *fb, unsigned *width, unsigned *height) argument [all...] |
H A D | u_linear.h | 47 /** Block height in pixels */ 48 unsigned height; member in struct:u_linear_format_block 83 * @tile_height the height of the tile in pixels
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_decoder.c | 52 unsigned width, unsigned height, unsigned max_references, 59 assert(width > 0 && height > 0); 69 buffer_height = pot_buffers ? util_next_power_of_two(height) : align(height, VL_MACROBLOCK_HEIGHT); 48 vl_create_decoder(struct pipe_context *pipe, enum pipe_video_profile profile, enum pipe_video_entrypoint entrypoint, enum pipe_video_chroma_format chroma_format, unsigned width, unsigned height, unsigned max_references, bool expect_chunked_decode) argument
|
/external/mesa3d/src/gallium/drivers/nv50/ |
H A D | nv50_transfer.h | 14 uint32_t height; member in struct:nv50_m2mf_rect
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
H A D | native_modeset.h | 41 int width, height; member in struct:native_mode 72 uint width, uint height);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | image.h | 42 VGint width, height; member in struct:vg_image 53 VGint width, VGint height); 57 VGint x, VGint y, VGint width, VGint height); 64 VGint width, VGint height); 71 VGint width, VGint height); 75 VGint width, VGint height); 79 VGint width, VGint height, 86 VGint width, VGint height); 89 VGint width, VGint height); 102 VGint width, VGint height); [all...] |
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/ |
H A D | test_context.c | 34 const unsigned int width = 16, height = 16; local 50 height, 72 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, NULL) == XvMCBadContext); 75 assert(XvMCCreateContext(display, -1, surface_type_id, width, height, XVMC_DIRECT, &context) == XvBadPort); 77 assert(XvMCCreateContext(display, port_num, -1, width, height, XVMC_DIRECT, &context) == BadMatch); 79 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, -1, &context) == BadValue); 81 assert(XvMCCreateContext(display, port_num, surface_type_id, 16384, height, XVMC_DIRECT, &context) == BadValue); 82 /* Test huge height */ 84 /* Test huge width & height */ 87 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIREC [all...] |
H A D | test_surface.c | 34 const unsigned int width = 16, height = 16; local 51 height, 71 assert(XvMCCreateContext(display, port_num, surface_type_id, width, height, XVMC_DIRECT, &context) == Success); 85 /* Test width & height assigned and correct */ 86 assert(surface.width == width && surface.height == height);
|
/external/mesa3d/src/glx/ |
H A D | compsize.c | 140 __glImageSize(GLsizei width, GLsizei height, GLsizei depth, argument 162 if (width < 0 || height < 0 || depth < 0) { 182 return bytes_per_row * height * depth * components;
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_surface.c | 37 unsigned width, unsigned height) 48 .height = height, 70 get_format_blocksy(format, height) * s->pitch, 84 dst->height = src->height; 34 nouveau_surface_alloc(struct gl_context *ctx, struct nouveau_surface *s, enum nouveau_surface_layout layout, unsigned flags, unsigned format, unsigned width, unsigned height) argument
|
H A D | nouveau_surface.h | 45 unsigned width, height; member in struct:nouveau_surface 52 unsigned width, unsigned height);
|
/external/mesa3d/src/mesa/main/ |
H A D | drawtex.c | 36 GLfloat width, GLfloat height) 43 if (width <= 0.0f || height <= 0.0f) { 44 _mesa_error(ctx, GL_INVALID_VALUE, "glDrawTex(width or height <= 0)"); 54 ctx->Driver.DrawTex(ctx, x, y, z, width, height); 61 _mesa_DrawTexf(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) argument 64 draw_texture(ctx, x, y, z, width, height); 77 _mesa_DrawTexi(GLint x, GLint y, GLint z, GLint width, GLint height) argument 81 (GLfloat) width, (GLfloat) height); 95 _mesa_DrawTexs(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) argument 99 (GLfloat) width, (GLfloat) height); 35 draw_texture(struct gl_context *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) argument 113 _mesa_DrawTexx(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) argument [all...] |
H A D | viewport.c | 46 _mesa_Viewport(GLint x, GLint y, GLsizei width, GLsizei height) argument 50 _mesa_set_viewport(ctx, x, y, width, height); 61 * \param height height of the viewport rectangle. 65 GLsizei width, GLsizei height) 68 _mesa_debug(ctx, "glViewport %d %d %d %d\n", x, y, width, height); 70 if (width < 0 || height < 0) { 72 "glViewport(%d, %d, %d, %d)", x, y, width, height); 76 /* clamp width and height to the implementation dependent range */ 78 height 64 _mesa_set_viewport(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height) argument [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_cb_readpixels.c | 45 GLsizei width, GLsizei height, 54 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, dest); 44 st_readpixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid *dest) argument
|
H A D | st_cb_viewport.c | 52 GLsizei width, GLsizei height) 51 st_viewport(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height) argument
|