Searched refs:width (Results 201 - 225 of 2975) sorted by relevance

1234567891011>>

/external/mesa3d/src/mesa/main/
H A Dreadpix.c56 GLsizei width, GLsizei height,
78 ctx->Driver.MapRenderbuffer(ctx, rb, x, y, width, height, GL_MAP_READ_BIT,
86 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONENT, type);
87 dst = (GLubyte *) _mesa_image_address2d(packing, pixels, width, height,
92 _mesa_unpack_uint_z_row(rb->Format, width, map, (GLuint *)dst);
95 memcpy(dst, map, width * 2);
112 GLsizei width, GLsizei height,
129 ASSERT(x + width <= (GLint) rb->Width);
132 if (fast_read_depth_pixels(ctx, x, y, width, height, type, pixels, packing))
135 dstStride = _mesa_image_row_stride(packing, width, GL_DEPTH_COMPONEN
54 fast_read_depth_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument
110 read_depth_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument
172 read_stencil_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument
225 fast_read_rgba_pixels_memcpy( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLbitfield transferOps ) argument
318 slow_read_rgba_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing, GLbitfield transferOps ) argument
382 read_rgba_pixels( struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument
416 fast_read_depth_stencil_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLubyte *dst, int dstStride) argument
460 fast_read_depth_stencil_pixels_separate(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, uint32_t *dst, int dstStride) argument
519 slow_read_depth_stencil_pixels_separate(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, const struct gl_pixelstore_attrib *packing, GLubyte *dst, int dstStride) argument
597 read_depth_stencil_pixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum type, GLvoid *pixels, const struct gl_pixelstore_attrib *packing ) argument
641 _mesa_readpixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *packing, GLvoid *pixels) argument
684 _mesa_ReadnPixelsARB( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels ) argument
805 _mesa_ReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ) argument
[all...]
/external/opencv/otherlibs/highgui/
H A Dcvcap_socket.cpp75 width = 0;
96 int width; // the width of the images received over the socket member in class:CVCapture_Socket
115 width = _width;
117 if (width <= 0 || height <= 0)
119 LOGV("Invalid width or height!");
141 readBufSize = width * height * sizeof(int);
158 width = 0;
187 static IplImage* loadPixels(char* pixels, int width, int height) { argument
190 IplImage *img = cvCreateImage(cvSize(width, heigh
294 cvCreateCameraCapture_Socket( const char *address, const char *port, int width, int height ) argument
[all...]
/external/skia/src/images/
H A Dtransform_scanline.h21 * Transform 'width' pixels from 'src' buffer into 'dst' buffer,
25 int width, char* SK_RESTRICT dst);
30 static void transform_scanline_memcpy(const char* SK_RESTRICT src, int width, argument
32 memcpy(dst, src, width);
40 static void transform_scanline_565(const char* SK_RESTRICT src, int width, argument
43 for (int i = 0; i < width; i++) {
55 static void transform_scanline_888(const char* SK_RESTRICT src, int width, argument
58 for (int i = 0; i < width; i++) {
70 static void transform_scanline_444(const char* SK_RESTRICT src, int width, argument
73 for (int i = 0; i < width;
86 transform_scanline_8888(const char* SK_RESTRICT src, int width, char* SK_RESTRICT dst) argument
116 transform_scanline_4444(const char* SK_RESTRICT src, int width, char* SK_RESTRICT dst) argument
[all...]
/external/skia/tools/skpdiff/
H A DSkDifferentPixelsMetric_cpu.cpp23 if (baseline->width() != test->width() || baseline->height() != test->height() ||
24 baseline->width() <= 0 || baseline->height() <= 0 ||
26 SkASSERT(baseline->width() == test->width());
28 SkASSERT(baseline->width() > 0);
34 int width = baseline->width(); local
42 result->poiAlphaMask.allocPixels(SkImageInfo::MakeA8(width, height));
46 result->rgbDiffBitmap.allocPixels(SkImageInfo::Make(width, heigh
[all...]
/external/deqp/framework/opengl/simplereference/
H A DsglrContextWrapper.cpp59 void ContextWrapper::glViewport (int x, int y, int width, int height) argument
61 m_curCtx->viewport(x, y, width, height);
119 void ContextWrapper::glTexImage1D (deUint32 target, int level, int internalFormat, int width, int border, deUint32 format, deUint32 type, const void* data) argument
121 m_curCtx->texImage1D(target, level, (deUint32)internalFormat, width, border, format, type, data);
124 void ContextWrapper::glTexImage2D (deUint32 target, int level, int internalFormat, int width, int height, int border, deUint32 format, deUint32 type, const void* data) argument
126 m_curCtx->texImage2D(target, level, (deUint32)internalFormat, width, height, border, format, type, data);
129 void ContextWrapper::glTexImage3D (deUint32 target, int level, int internalFormat, int width, int height, int depth, int border, deUint32 format, deUint32 type, const void* data) argument
131 m_curCtx->texImage3D(target, level, (deUint32)internalFormat, width, height, depth, border, format, type, data);
134 void ContextWrapper::glTexSubImage1D (deUint32 target, int level, int xoffset, int width, deUint32 format, deUint32 type, const void* data) argument
136 m_curCtx->texSubImage1D(target, level, xoffset, width, forma
139 glTexSubImage2D(deUint32 target, int level, int xoffset, int yoffset, int width, int height, deUint32 format, deUint32 type, const void* data) argument
144 glTexSubImage3D(deUint32 target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, deUint32 format, deUint32 type, const void* data) argument
149 glCopyTexImage1D(deUint32 target, int level, deUint32 internalFormat, int x, int y, int width, int border) argument
154 glCopyTexImage2D(deUint32 target, int level, deUint32 internalFormat, int x, int y, int width, int height, int border) argument
159 glCopyTexSubImage1D(deUint32 target, int level, int xoffset, int x, int y, int width) argument
164 glCopyTexSubImage2D(deUint32 target, int level, int xoffset, int yoffset, int x, int y, int width, int height) argument
169 glTexStorage2D(deUint32 target, int levels, deUint32 internalFormat, int width, int height) argument
174 glTexStorage3D(deUint32 target, int levels, deUint32 internalFormat, int width, int height, int depth) argument
214 glRenderbufferStorage(deUint32 target, deUint32 internalformat, int width, int height) argument
219 glRenderbufferStorageMultisample(deUint32 target, int samples, deUint32 internalformat, int width, int height) argument
289 glScissor(int x, int y, int width, int height) argument
364 glInvalidateSubFramebuffer(deUint32 target, int numAttachments, const deUint32* attachments, int x, int y, int width, int height) argument
374 glReadPixels(int x, int y, int width, int height, deUint32 format, deUint32 type, void* data) argument
[all...]
/external/mesa3d/src/gallium/drivers/radeon/
H A DAMDGPUAsmPrinter.cpp72 unsigned width = 0; local
89 width = 1;
92 width = 1;
95 width = 2;
98 width = 2;
101 width = 4;
104 width = 4;
107 width = 8;
112 maxUsed = hwReg + width - 1;
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/
H A Dd3d11x11main.cpp8 unsigned width, height; variable
29 width = 512;
31 Window win = XCreateWindow(dpy, RootWindow(dpy, DefaultScreen(dpy)), 0, 0, width, height, 0, CopyFromParent, InputOutput, visual, CWBorderPixel | CWColormap| CWEventMask, &swa);
38 swap_chain_desc.BufferDesc.Width = width;
88 width = event.xconfigure.width;
90 swap_chain->ResizeBuffers(3, width, height, format, 0);
94 else if(width && height)
103 app->draw(ctx, rtv, width, height, ctime);
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_pixel_read.c72 GLint x, GLint y, GLsizei width, GLsizei height,
113 rowLength = width;
125 dst_offset += _mesa_image_offset(2, pack, width, height,
131 &width, &height)) {
139 all = (width * height * src->cpp == dst->Base.Size &&
158 width, height,
170 GLint x, GLint y, GLsizei width, GLsizei height,
182 (ctx, x, y, width, height, format, type, pack, pixels))
201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
71 do_blit_readpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
169 intelReadPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_pixel_read.c72 GLint x, GLint y, GLsizei width, GLsizei height,
113 rowLength = width;
125 dst_offset += _mesa_image_offset(2, pack, width, height,
131 &width, &height)) {
139 all = (width * height * src->cpp == dst->Base.Size &&
158 width, height,
170 GLint x, GLint y, GLsizei width, GLsizei height,
182 (ctx, x, y, width, height, format, type, pack, pixels))
201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
71 do_blit_readpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
169 intelReadPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_pixel_read.c72 GLint x, GLint y, GLsizei width, GLsizei height,
113 rowLength = width;
125 dst_offset += _mesa_image_offset(2, pack, width, height,
131 &width, &height)) {
139 all = (width * height * src->cpp == dst->Base.Size &&
158 width, height,
170 GLint x, GLint y, GLsizei width, GLsizei height,
182 (ctx, x, y, width, height, format, type, pack, pixels))
201 _mesa_readpixels(ctx, x, y, width, height, format, type, pack, pixels);
71 do_blit_readpixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
169 intelReadPixels(struct gl_context * ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, GLvoid * pixels) argument
/external/clang/test/CodeGen/
H A Dvla.c55 void function(short width, int data[][width]) {} // expected-note {{passing argument to parameter 'data' here}} argument
67 void function1(short width, int data[][width][width]) {} argument
/external/libdrm/libkms/
H A Dapi.c65 unsigned width = 0; local
76 width = value;
89 if (width == 0 || height == 0)
95 (width != 64 || height != 64))
98 return kms->bo_create(kms, width, height, type, attr, out);
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
H A Dcompare.h33 int width, int height);
43 int width, int height);
52 int width, int height);
57 int width, int height);
66 int width, int height);
H A Dformat_conversion.h27 int width, int height);
34 int width, int height);
41 int width, int height);
48 int width, int height);
59 int width, int height,
68 int width, int height);
75 int width, int height);
82 int width, int height);
89 int width, int height);
100 int width, in
[all...]
/external/libyuv/files/include/libyuv/
H A Dcompare.h33 int width, int height);
43 int width, int height);
52 int width, int height);
57 int width, int height);
66 int width, int height);
H A Dconvert.h36 int width, int height);
46 int width, int height);
56 int width, int height);
66 int width, int height);
74 int width, int height);
83 int width, int height);
91 int width, int height);
100 int width, int height);
108 int width, int height);
116 int width, in
[all...]
H A Dformat_conversion.h27 int width, int height);
34 int width, int height);
41 int width, int height);
48 int width, int height);
59 int width, int height,
68 int width, int height);
75 int width, int height);
82 int width, int height);
89 int width, int height);
100 int width, in
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_box.h14 box->width = w;
29 box->width = w;
42 box->width = w;
58 box->width = w;
75 box->width = w;
/external/mesa3d/src/gallium/state_trackers/xvmc/tests/
H A Dtest_surface.c34 const unsigned int width = 16, height = 16; local
50 width,
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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
H A DTrackMetaData.java28 private double width; field in class:TrackMetaData
76 return width;
79 public void setWidth(double width) { argument
80 this.width = width;
/external/skia/src/utils/
H A DSkTextureCompressor.h52 // Returns the size of the compressed data given the width, height, and
53 // desired compression format. If the width and height are not an appropriate
55 int GetCompressedDataSize(Format fmt, int width, int height);
64 // large enough to hold width*height pixels. The dst data is expected to
67 int width, int height, size_t rowBytes, Format format,
71 // destination buffer. The width and height of the data passed corresponds
72 // to the width and height of the uncompressed image. The destination buffer (dst)
82 int width, int height, Format format);
88 int width, int height, size_t rowBytes);
106 SkBlitter* CreateBlitterForFormat(int width, in
[all...]
/external/skia/tools/
H A DiOSShell.cpp37 int w = SkScalarRoundToInt(this->width());
53 view->setSize(this->width(), this->height());
80 void get_preferred_size(int* x, int* y, int* width, int* height);
81 void get_preferred_size(int* x, int* y, int* width, int* height) { argument
84 *width = 640;
/external/toybox/kconfig/lxdialog/
H A Dinputbox.c29 static void print_buttons(WINDOW * dialog, int height, int width, int selected) argument
31 int x = width / 2 - 11;
44 int dialog_inputbox(const char *title, const char *prompt, int height, int width, argument
60 if (getmaxx(stdscr) <= (width - 2))
64 x = (COLS - width) / 2;
67 draw_shadow(stdscr, y, x, height, width);
69 dialog = newwin(height, width, y, x);
72 draw_box(dialog, 0, 0, height, width,
76 for (i = 0; i < width - 2; i++)
81 print_title(dialog, title, width);
[all...]
/external/libvpx/libvpx/third_party/libyuv/source/
H A Dformat_conversion.cc65 int width, int height,
80 if (TestCpuFlag(kCpuHasSSSE3) && width >= 8 &&
83 if (IS_ALIGNED(width, 8)) {
88 if (TestCpuFlag(kCpuHasNEON) && width >= 8) {
90 if (IS_ALIGNED(width, 8)) {
101 ARGBToBayerRow(src_argb, dst_bayer, index_map[y & 1], width);
242 int width, int height,
276 BayerRow0(src_bayer, src_stride_bayer, dst_argb, width);
278 dst_argb + dst_stride_argb, width);
283 BayerRow0(src_bayer, src_stride_bayer, dst_argb, width);
63 ARGBToBayer(const uint8* src_argb, int src_stride_argb, uint8* dst_bayer, int dst_stride_bayer, int width, int height, uint32 dst_fourcc_bayer) argument
240 BayerToARGB(const uint8* src_bayer, int src_stride_bayer, uint8* dst_argb, int dst_stride_argb, int width, int height, uint32 src_fourcc_bayer) argument
290 BayerToI420(const uint8* src_bayer, int src_stride_bayer, uint8* dst_y, int dst_stride_y, uint8* dst_u, int dst_stride_u, uint8* dst_v, int dst_stride_v, int width, int height, uint32 src_fourcc_bayer) argument
394 I420ToBayer(const uint8* src_y, int src_stride_y, const uint8* src_u, int src_stride_u, const uint8* src_v, int src_stride_v, uint8* dst_bayer, int dst_stride_bayer, int width, int height, uint32 dst_fourcc_bayer) argument
[all...]
/external/linux-tools-perf/src/tools/perf/util/
H A Dvalues.c145 int width; local
147 width = snprintf(NULL, 0, "%d", values->pid[i]);
148 if (width > pidwidth)
149 pidwidth = width;
150 width = snprintf(NULL, 0, "%d", values->tid[i]);
151 if (width > tidwidth)
152 tidwidth = width;
154 width = snprintf(NULL, 0, "%" PRIu64, values->value[i][j]);
155 if (width > counterwidth[j])
156 counterwidth[j] = width;
179 int width, pidwidth, tidwidth, namewidth, rawwidth, countwidth; local
[all...]

Completed in 812 milliseconds

1234567891011>>