/system/extras/tests/framebuffer/ |
H A D | mdp_test.c | 95 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 D | GLEnvironment.java | 106 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 D | GLFrame.java | 127 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 D | ShaderProgram.java | 184 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 D | jni_gl_environment.cpp | 196 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 D | jni_gl_frame.cpp | 47 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 D | gl_frame.cpp | 56 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 D | shader_program.cpp | 230 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 D | CameraSource.java | 57 /** 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 D | MyGLSurfaceView.java | 138 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument 141 GLES20.glViewport(0, 0, width, height); 142 mRatio = (float) width / height;
|
H A D | NativeMedia.java | 86 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 D | ARMAssemblerProxy.cpp | 202 void ARMAssemblerProxy::UBFX(int cc, int Rd, int Rn, int lsb, int width) { argument 203 mTarget->UBFX(cc, Rd, Rn, lsb, width);
|
H A D | ARMAssembler.cpp | 442 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 D | texturing.cpp | 470 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 D | window.h | 90 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 D | devices.c | 332 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 D | pixelflinger.cpp | 115 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 D | scanline.cpp | 686 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 D | trap.cpp | 348 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 D | pixelflinger.h | 189 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 D | ggl_context.h | 326 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 D | OpenMAXAL.h | 435 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_
|