Searched defs:width (Results 1 - 25 of 47) sorted by relevance

12

/system/core/toolbox/
H A Dr.c15 int width = 4, set = 0, fd; local
24 width = 1;
28 width = 2;
41 endaddr = addr + width - 1;
72 switch(width){
92 addr += width;
H A Dnotify.c22 int width = 80; local
47 width = atoi(optarg);
82 buf = malloc(width + 2);
115 buflen = width - strlen(display_name);
/system/media/mca/effect/java/android/media/effect/
H A DEffect.java55 * <p>The input texture must be a valid texture name with the given width and height and must be
70 * @param width The width of the input texture in pixels.
74 public abstract void apply(int inputTexId, int width, int height, int outputTexId); argument
H A DFilterEffect.java88 protected Frame frameFromTexture(int texId, int width, int height) { argument
90 FrameFormat format = ImageFormat.create(width, height,
H A DSizeChangeEffect.java47 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
50 Frame inputFrame = frameFromTexture(inputTexId, width, height);
H A DFilterGraphEffect.java87 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
92 src.setInputValue("width", width);
H A DSingleFilterEffect.java70 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
73 Frame inputFrame = frameFromTexture(inputTexId, width, height);
74 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/system/media/mca/effect/java/android/media/effect/effects/
H A DIdentityEffect.java34 public void apply(int inputTexId, int width, int height, int outputTexId) { argument
37 Frame inputFrame = frameFromTexture(inputTexId, width, height);
38 Frame outputFrame = frameFromTexture(outputTexId, width, height);
/system/media/mca/filterfw/java/android/filterfw/format/
H A DImageFormat.java36 public static MutableFrameFormat create(int width, argument
42 result.setDimensions(width, height);
51 public static MutableFrameFormat create(int width, argument
55 return create(width,
/system/core/adb/
H A Dframebuffer_service.c40 unsigned int width; member in struct:fbinfo
89 fbinfo.width = w;
103 fbinfo.width = w;
117 fbinfo.width = w;
131 fbinfo.width = w;
145 fbinfo.width = w;
/system/media/mca/filterfw/java/android/filterfw/core/
H A DMutableFrameFormat.java64 public void setDimensions(int width, int height) { argument
66 dimensions[0] = width;
72 public void setDimensions(int width, int height, int depth) { argument
74 dimensions[0] = width;
H A DFilterSurfaceView.java117 int width,
121 mWidth = width;
127 mListener.surfaceChanged(holder, format, width, height);
115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/system/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java31 public Rectangle(float x, float y, float width, float height) { argument
33 new Point(x + width, y),
35 new Point(x + width, y + height));
/system/media/mca/filterfw/native/core/
H A Dgeometry.h72 float x, y, width, height; member in struct:android::filterfw::Rect
76 width = height = 1.0f;
79 Rect(float x, float y, float width, float height) { argument
82 this->width = width;
/system/media/mca/filterpacks/base/native/
H A Dgeometry.h80 float width() const { return width_; } function in class:android::filterfw::SlantedRect
89 float x, y, width, height; member in struct:android::filterfw::Rect
93 width = height = 1.0f;
96 Rect(float x, float y, float width, float height) { argument
99 this->width = width;
/system/media/mca/filterpacks/imageproc/java/
H A DCropRectFilter.java44 @GenerateFieldPort(name = "width")
124 void updateSourceRect(int width, int height) { argument
125 mWidth = width;
H A DFisheyeFilter.java147 private void updateFrameSize(int width, int height) { argument
148 float center[] = {0.5f * width, 0.5f * height};
151 mProgram.setHostValue("inv_width", 1.0f / width);
154 mWidth = width;
H A DSharpenFilter.java132 private void updateFrameSize(int width, int height) { argument
133 mWidth = width;
H A DAutoFixFilter.java272 private void createHistogramFrame(FilterContext context, int width, int height, int[] data) { argument
278 int x_border_thickness = (int) (width * border_thickness_ratio);
279 int pixels = (width - 2 * x_border_thickness) * (height - 2 * y_border_thickness);
283 for (int x = x_border_thickness; x < width - x_border_thickness; ++x) {
284 int index = y * width + x;
H A DGrainFilter.java112 private void updateFrameSize(int width, int height) { argument
113 mWidth = width;
/system/media/mca/filterpacks/ui/java/
H A DSurfaceRenderFilter.java140 // will update our screen width and height.
224 int width,
229 mScreenWidth = width;
222 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
/system/media/wilhelm/src/itf/
H A DI3DMacroscopic.c23 SLmillimeter width, SLmillimeter height, SLmillimeter depth)
27 if (!((0 <= width) && (width <= SL_MILLIMETER_MAX) &&
34 thiz->mSize.mWidth = width;
55 SLmillimeter width = thiz->mSize.mWidth; local
59 *pWidth = width;
22 I3DMacroscopic_SetSize(SL3DMacroscopicItf self, SLmillimeter width, SLmillimeter height, SLmillimeter depth) argument
/system/core/init/
H A Dutil.c253 int width; local
258 width = slash - pathname;
260 if (width < 0)
262 if (width == 0)
264 if ((unsigned int)width > sizeof(buf) - 1) {
268 memcpy(buf, pathname, width);
269 buf[width] = 0;
295 int width; local
300 width = slash - newpath;
301 if (width <
[all...]
/system/core/libpixelflinger/
H A Draster.cpp30 GGLsizei width, GGLsizei height, GGLenum type);
54 GGLsizei width, GGLsizei height, GGLenum type)
62 if (uint32_t(xs) > cb->width)
66 if (uint32_t(xs + width) > cb->width)
80 width -= offset;
88 if ((xd + width) > GGLint(c->state.scissor.right)) {
89 width = GGLint(c->state.scissor.right) - xd;
95 if (width<=0 || height<=0) {
111 const size_t rowsize = width * f
53 ggl_copyPixels(void* con, GGLint xs, GGLint ys, GGLsizei width, GGLsizei height, GGLenum type) argument
[all...]
/system/extras/tests/framebuffer/
H A Dfb_test.c33 int width; member in struct:simple_fb
96 fb->width = vi.xres;
104 fb->width = vi.xres;
187 return gr_fbs[0].width;

Completed in 4117 milliseconds

12