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

12

/system/extras/tests/framebuffer/
H A Dmdp_test.c95 static int get_framebuffer(int *fd, char **fb, int *width, int *height) argument
122 *width = vi.xres;
174 int fb_fd, width, height; local
273 if (get_framebuffer(&fb_fd, &fb, &width, &height)) {
281 src_imgw = width;
286 dst_imgw = width;
295 req->src.width = src_imgw;
305 req->dst.width = dst_imgw;
/system/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java106 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { argument
107 int result = nativeAddSurfaceTexture(surfaceTexture, width, height);
167 private native int nativeAddSurfaceTexture(SurfaceTexture surface, int width, int height); argument
H A DGLFrame.java127 int width = getFormat().getWidth();
129 if (!nativeAllocateWithTexture(mGLEnvironment, texId, width, height)) {
137 int width = getFormat().getWidth();
139 if (!nativeAllocateWithFbo(mGLEnvironment, fboId, width, height)) {
276 public void setViewport(int x, int y, int width, int height) { argument
278 setNativeViewport(x, y, width, height);
364 private native boolean nativeAllocate(GLEnvironment env, int width, int height); argument
368 int width,
373 int width,
396 private native boolean setNativeViewport(int x, int y, int width, in argument
366 nativeAllocateWithTexture(GLEnvironment env, int textureId, int width, int height) argument
371 nativeAllocateWithFbo(GLEnvironment env, int fboId, int width, int height) argument
[all...]
H A DShaderProgram.java184 public void setSourceRect(float x, float y, float width, float height) { argument
185 setSourceRegion(x, y, x + width, y, x, y + height, x + width, y + height);
188 public void setTargetRect(float x, float y, float width, float height) { argument
189 setTargetRegion(x, y, x + width, y, x, y + height, x + width, y + height);
/system/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp196 jint width,
211 // anyway), but do care about width and height
215 ANativeWindow_setBuffersGeometry(window, width, height, 0);
193 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceTexture(JNIEnv* env, jobject thiz, jobject surfaceTexture, jint width, jint height) argument
H A Djni_gl_frame.cpp47 jint width,
52 if (frame->Init(width, height)) {
64 jint width,
69 if (frame->InitWithTexture(tex_id, width, height)) {
81 jint width,
86 if (frame->InitWithFbo(fbo_id, width, height)) {
252 jint width,
255 return frame ? ToJBool(frame->SetViewport(x, y, width, height)) : JNI_FALSE;
44 Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, jobject thiz, jobject gl_env, jint width, jint height) argument
60 Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, jobject thiz, jobject gl_env, jint tex_id, jint width, jint height) argument
77 Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, jobject thiz, jobject gl_env, jint fbo_id, jint width, jint height) argument
248 Java_android_filterfw_core_GLFrame_setNativeViewport(JNIEnv* env, jobject thiz, jint x, jint y, jint width, jint height) argument
/system/media/mca/filterfw/native/core/
H A Dgl_frame.cpp56 bool GLFrame::Init(int width, int height) { argument
59 InitDimensions(width, height);
65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { argument
68 InitDimensions(width, height);
72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { argument
76 InitDimensions(width, height);
87 void GLFrame::InitDimensions(int width, int height) { argument
88 width_ = width;
90 vp_width_ = width;
187 bool GLFrame::SetViewport(int x, int y, int width, in argument
[all...]
H A Dshader_program.cpp230 void ShaderProgram::SetSourceRect(float x, float y, float width, float height) { argument
232 Point(x + width, y),
234 Point(x + width, y + height));
246 void ShaderProgram::SetTargetRect(float x, float y, float width, float height) { argument
248 Point(x + width, y),
250 Point(x + width, y + height));
/system/media/mca/filterpacks/videosrc/java/
H A DCameraSource.java57 /** Frame width to request from camera. Actual size may not match requested. */
58 @GenerateFieldPort(name = "width", hasDefault = true)
283 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument
287 int smallestWidth = previewSizes.get(0).width;
294 if ( size.width <= width &&
296 size.width >= closestWidth &&
298 closestWidth = size.width;
301 if ( size.width < smallestWidth &&
303 smallestWidth = size.width;
[all...]
/system/media/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument
141 GLES20.glViewport(0, 0, width, height);
142 mRatio = (float) width / height;
H A DNativeMedia.java86 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
87 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + height);
107 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) {
108 Log.v(TAG, "surfaceChanged format=" + format + ", width=" + width + ", height=" + height);
129 int width = mediaPlayer.getVideoWidth();
131 Log.v(TAG, "onPrepared width=" + width + ", height=" + height);
132 if (width !
344 setFixedSize(int width, int height) argument
358 setFixedSize(int width, int height) argument
380 setFixedSize(int width, int height) argument
[all...]
/system/core/libpixelflinger/codeflinger/
H A DARMAssemblerProxy.cpp202 void ARMAssemblerProxy::UBFX(int cc, int Rd, int Rn, int lsb, int width) { argument
203 mTarget->UBFX(cc, Rd, Rn, lsb, width);
H A DARMAssembler.cpp442 void ARMAssembler::UBFX(int cc, int Rd, int Rn, int lsb, int width) argument
444 *mPC++ = (cc<<28) | 0x7E00000 | ((width-1)<<16) | (Rd<<12) | (lsb<<7) | 0x50 | Rn;
H A Dtexturing.cpp470 int width = scratches.obtain(); local
475 CONTEXT_LOAD(width, generated_vars.texture[i].width);
503 wrapping(u, s.reg, width, tmu.swrap, FRAC_BITS);
521 // compute width-1 and height-1
522 SUB(AL, 0, width, width, imm(1));
530 MOV(MI, 0, u, width);
531 CMP(AL, u, width);
532 MOV(LT, 0, width, im
[all...]
/system/core/include/system/
H A Dwindow.h90 int width; member in struct:ANativeWindowBuffer
159 * Default width and height of the ANativeWindow, these are the dimensions
181 * 2. The GL driver overrides the width and height of the ANW to
/system/core/init/
H A Ddevices.c332 int width; local
357 width = slash - parent;
358 if (width <= 0)
361 if (asprintf(&links[link_num], "/dev/usb/%s%.*s", uevent->subsystem, width, parent) > 0)
382 int width; local
/system/core/libpixelflinger/
H A Dpixelflinger.cpp115 if (surface->width > c->state.buffers.coverageBufferSize) {
118 c->state.buffers.coverage = (int16_t*)malloc(surface->width * 2);
120 c->state.buffers.coverage ? surface->width : 0;
147 GGLsizei width, GGLsizei height)
152 c->state.scissor.user_right = x + width;
604 c->state.scissor.right = min(c->state.buffers.color.width, r);
610 c->state.scissor.right = c->state.buffers.color.width;
146 ggl_scissor(void* con, GGLint x, GGLint y, GGLsizei width, GGLsizei height) argument
H A Dscanline.cpp686 const int w = tx.surface.width;
710 const int w = tx.surface.width;
969 m_width_m1 = tx.surface.width - 1;
1057 m_width_m1 = tx.surface.width-1;
1395 const int width = c->iterators.xr - x; local
1398 count = width;
1696 gen.width = t.surface.width;
H A Dtrap.cpp348 static void linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) argument
361 GGLcoord halfWidth = TRI_ROUND(width) >> 1;
376 static void aa_linex(void *con, const GGLcoord* v0, const GGLcoord* v1, GGLcoord width) argument
391 const GGLfixed norm = gglMulx(width, gglSqrtRecipx(nx*nx+ny*ny), 4);
/system/core/include/pixelflinger/
H A Dpixelflinger.h189 GGLuint width; // width in pixels member in struct:__anon309
208 const GGLcoord* v0, const GGLcoord* v1, GGLcoord width);
214 void (*scissor)(void* c, GGLint x, GGLint y, GGLsizei width, GGLsizei height);
303 GGLsizei width, GGLsizei height, GGLenum type);
/system/core/include/private/pixelflinger/
H A Dggl_context.h326 uint32_t width; member in struct:android::surface_t::__anon313::__anon314
460 uint32_t width; member in struct:android::generated_tex_vars_t
/system/media/wilhelm/include/OMXAL/
H A DOpenMAXAL.h435 XAuint32 width; member in struct:XADataFormat_RawImage_
1041 XAuint32 width; member in struct:XARectangle_
1586 XAuint32 width; member in struct:XAFocusPointPosition_
2823 XAuint32 width; member in struct:XAImageSettings_
3002 XAuint32 width; member in struct:XAVideoSettings_
3093 XAuint32 width; member in struct:XAVideoStreamInformation_
3111 XAuint32 width; member in struct:XAImageStreamInformation_
3118 XAuint32 width; member in struct:XATimedTextStreamInformation_

Completed in 219 milliseconds

12