/system/media/mca/filterpacks/imageproc/java/ |
H A D | FixedRotationFilter.java | 73 int width = inputFormat.getWidth(); 83 outputFormat.setDimensions(height, width); 90 outputFormat.setDimensions(height, width);
|
H A D | FisheyeFilter.java | 147 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 D | AutoFixFilter.java | 272 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 D | CropRectFilter.java | 44 @GenerateFieldPort(name = "width") 124 void updateSourceRect(int width, int height) { argument 125 mWidth = width;
|
H A D | FlipFilter.java | 115 float width = (mHorizontal) ? -1.0f : 1.0f; 118 ((ShaderProgram) mProgram).setSourceRect(x_origin, y_origin, width, height);
|
H A D | SharpenFilter.java | 132 private void updateFrameSize(int width, int height) { argument 133 mWidth = width;
|
H A D | GrainFilter.java | 112 private void updateFrameSize(int width, int height) { argument 113 mWidth = width;
|
/system/core/toolbox/ |
H A D | notify.c | 22 int width = 80; local 47 width = atoi(optarg); 82 buf = malloc(width + 2); 115 buflen = width - strlen(display_name);
|
/system/media/mca/filterfw/jni/ |
H A D | jni_gl_frame.h | 30 jint width, 38 jint width, 46 jint width, 93 jint width,
|
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
|
H A D | jni_gl_environment.h | 65 jint width,
|
/system/media/mca/effect/java/android/media/effect/ |
H A D | FilterGraphEffect.java | 87 public void apply(int inputTexId, int width, int height, int outputTexId) { argument 92 src.setInputValue("width", width);
|
/system/media/mca/filterfw/java/android/filterfw/core/ |
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/wilhelm/src/itf/ |
H A D | I3DMacroscopic.c | 23 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/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Rectangle.java | 31 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/extras/tests/framebuffer/ |
H A D | fb_test.c | 33 int width; member in struct:simple_fb 96 fb->width = vi.xres; 104 fb->width = vi.xres; 187 return gr_fbs[0].width;
|
H A D | refresh.c | 77 float xdpi = (info.xres * 25.4f) / info.width; 103 printf( "width = %d mm (%f dpi)\n" 106 info.width, xdpi,
|
/system/core/libpixelflinger/ |
H A D | buffer.cpp | 60 dst->width = src->width; 93 gen.width = s.width; 114 assert((x < s->width) && (y < s->height)); 165 assert((x < s->width) && (y < s->height));
|
/system/media/mca/filterpacks/videosrc/java/ |
H A D | MediaSource.java | 510 public void onVideoSizeChanged(MediaPlayer mp, int width, int height) { 511 if (mLogVerbose) Log.v(TAG, "MediaPlayer sent dimensions: " + width + " x " + height); 514 mOutputFormat.setDimensions(width, height); 516 mOutputFormat.setDimensions(height, width); 518 mWidth = width; 521 if (mOutputFormat.getWidth() != width ||
|
/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/media/mca/filterpacks/videosink/java/ |
H A D | MediaEncoderFilter.java | 106 * settings to width, height, framerate, outputFormat, and videoEncoder. 111 /** Frame width to be encoded, defaults to 320. 113 @GenerateFieldPort(name = "width", hasDefault = true) 300 int width, height; 302 width = mProfile.videoFrameWidth; 305 width = mWidth; 308 screenFormat.setDimensions(width, height);
|
/system/core/libpixelflinger/codeflinger/ |
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/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;
|
/system/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 132 // the origin (x, y) and dimensions (width, height). Values are considered 135 void SetSourceRect(float x, float y, float width, float height) ; 146 // the origin (x, y) and dimensions (width, height). Values are considered 149 void SetTargetRect(float x, float y, float width, float height);
|
/system/media/mca/filterpacks/ui/java/ |
H A D | SurfaceRenderFilter.java | 140 // will update our screen width and height. 224 int width, 229 mScreenWidth = width; 222 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
|