Searched refs:width (Results 1 - 25 of 1274) sorted by relevance

1234567891011>>

/frameworks/av/cmds/stagefright/
H A Djpeg.h4 int writeJpegFile(const char *filename, uint8_t *frame, int width, int height);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DColorSpace.java31 * The input data is expected to be laid out in 3 planes. The width x height Y plane, followed
38 * @param width the width of the image (must be a multiple of 2)
42 ByteBuffer input, ByteBuffer output, int width, int height) {
43 expectInputSize(input, (3 * width * height) / 2);
44 expectOutputSize(output, width * height * 4);
45 nativeYuv420pToRgba8888(input, output, width, height);
57 * @param width the width of the image
61 ByteBuffer input, ByteBuffer output, int width, in
41 convertYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
60 convertArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
79 convertRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
98 convertRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
121 nativeYuv420pToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
124 nativeArgb8888ToRgba8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
127 nativeRgba8888ToHsva8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
130 nativeRgba8888ToYcbcra8888( ByteBuffer input, ByteBuffer output, int width, int height) argument
[all...]
H A DPixelUtils.java38 * @param width The width of the input image.
46 int width,
57 } else if ((width * height * 4) != input.remaining()) {
60 } else if ((width * height * 4) != output.remaining()) {
64 nativeCopyPixels(input, output, width, height, offset, pixStride, rowStride);
69 int width,
44 copyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
67 nativeCopyPixels(ByteBuffer input, ByteBuffer output, int width, int height, int offset, int pixStride, int rowStride) argument
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_utils.cpp25 void PutSKIPPED_MB(uint8 *comp, uint8 *prev, int width) argument
42 comp += width;
43 prev += width;
53 comp += width;
54 prev += width;
64 comp += width;
65 prev += width;
74 comp += width;
75 prev += width;
86 void PutSKIPPED_B(uint8 *comp, uint8 *prev, int width) argument
[all...]
H A Didct.h48 void idctrow0(int16 *blk, uint8 *pred, uint8 *dst, int width);
49 void idctrow1(int16 *blk, uint8 *pred, uint8 *dst, int width);
50 void idctrow2(int16 *blk, uint8 *pred, uint8 *dst, int width);
51 void idctrow3(int16 *blk, uint8 *pred, uint8 *dst, int width);
52 void idctrow4(int16 *blk, uint8 *pred, uint8 *dst, int width);
59 void idctrow0_intra(int16 *blk, PIXEL *comp, int width);
60 void idctrow1_intra(int16 *blk, PIXEL *comp, int width);
61 void idctrow2_intra(int16 *blk, PIXEL *comp, int width);
62 void idctrow3_intra(int16 *blk, PIXEL *comp, int width);
63 void idctrow4_intra(int16 *blk, PIXEL *comp, int width);
[all...]
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNILib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfLib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualLib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLPaint.java33 public void setLineWidth(float width) { argument
34 Assert.assertTrue(width >= 0);
35 mLineWidth = width;
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java35 * Returns the width of the Shape.
61 * @param width the width of the shape (in pixels)
64 public final void resize(float width, float height) { argument
65 if (width < 0) {
66 width = 0;
71 if (mWidth != width || mHeight != height) {
72 mWidth = width;
74 onResize(width, height);
91 * @param width th
94 onResize(float width, float height) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DBitmapMeshActivity.java48 final float width = mBitmap1.getWidth() / 3.0f;
52 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.0f,
53 0.0f, height, width, height, width * 2, height, width * 4, height,
54 0.0f, height * 2, width, height * 2, width * 2, height * 2, width *
[all...]
H A DBitmapMeshLayerActivity.java49 final float width = mBitmap1.getWidth() / 3.0f;
53 0.0f, 0.0f, width, 0.0f, width * 2, 0.0f, width * 3, 0.0f,
54 0.0f, height, width, height, width * 2, height, width * 4, height,
55 0.0f, height * 2, width, height * 2, width * 2, height * 2, width *
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DPrimitive.java27 // Box and Glue have width only.
28 // Penalty has both width and penalty.
30 public final float width; field in class:Primitive
36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { argument
39 this.width = width;
45 * Something with a constant width that is to be typeset - like a character.
49 * Blank space with fixed width.
61 * For tabs - variable width space.
83 public Primitive getNewPrimitive(int location, float width, floa argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_InterpolateLuma.c48 * srcStep -reference frame step, in bytes; must be a multiple of roi.width
50 * roi.width
55 * roi -Dimension of the interpolation region; the parameters roi.width and
60 * pDst -Pointer to the destination frame buffer if roi.width==4, 4-byte
61 * alignment required if roi.width==8, 8-byte alignment required
62 * if roi.width==16, 16-byte alignment required
69 * srcStep or dstStep < roi.width.
71 * roi.width or roi.height is out of range {4, 8, 16}.
72 * roi.width is equal to 4, but pDst is not 4 byte aligned.
73 * roi.width i
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java28 * region by left, top, width and height.
56 * The width of the image.
71 * @param width The width of the YuvImage.
75 * padding and derives the row bytes by format and width itself.
76 * @throws IllegalArgumentException if format is not support; width or height <= 0; or yuv is
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
87 if (width <= 0 || height <= 0) {
89 "width and height must large than 0");
97 mStrides = calculateStrides(width, forma
199 calculateStrides(int width, int format) argument
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]
H A DAtlas.java78 * @param width The width of the atlas in pixels
83 public Atlas(Type type, int width, int height) { argument
84 this(type, width, height, FLAG_DEFAULTS);
93 * @param width The width of the atlas in pixels
100 public Atlas(Type type, int width, int height, int flags) { argument
101 mPolicy = findPolicy(type, width, height, flags);
107 * @param width The width o
115 pack(int width, int height) argument
132 pack(int width, int height, Entry entry) argument
137 findPolicy(Type type, int width, int height, int flags) argument
159 pack(int width, int height, Entry entry) argument
248 int width; field in class:Atlas.SlicePolicy.Cell
259 SlicePolicy(int width, int height, int flags, SplitDecision splitDecision) argument
273 pack(int width, int height, Entry entry) argument
356 insert(Cell cell, Cell prev, int width, int height, Entry entry) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDropTarget.java26 * RecentsView, and the width/height are of the RecentsView.
28 boolean acceptsDrop(int x, int y, int width, int height, boolean isCurrentTarget); argument
/frameworks/native/opengl/tests/angeles/
H A Dapp.h43 extern void appRender(long tick, int width, int height);
/frameworks/native/opengl/tests/gl_jni/src/com/android/gljni/
H A DGLJNILib.java28 * @param width the current view width
31 public static native void init(int width, int height); argument
/frameworks/base/libs/hwui/renderstate/
H A DScissor.cpp46 bool Scissor::set(GLint x, GLint y, GLint width, GLint height) { argument
48 || width != mScissorWidth || height != mScissorHeight)) {
51 width += x;
58 if (width < 0) {
59 width = 0;
64 glScissor(x, y, width, height);
68 mScissorWidth = width;
80 GLint width = std::max(0, ((int)clip.right) - x); local
85 || width != mScissorWidth
87 glScissor(x, y, width, heigh
[all...]
/frameworks/native/opengl/libagl/
H A Ddxt.h27 bool DXT1HasAlpha(const GLvoid *data, int width, int height);
28 void decodeDXT(const GLvoid *data, int width, int height,
/frameworks/base/media/mca/filterfw/native/core/
H A Dgeometry.cpp73 if (width <= 0.0f || height <= 0.0f || ratio <= 0.0f) {
77 const float current_ratio = width / height;
79 const float dx = width * (ratio / current_ratio - 1.0f);
81 width += dx;
91 if (width <= 0.0f || height <= 0.0f || length <= 0.0f) {
95 const float current_length = width > height ? width : height;
97 const float dx = width * (length / current_length - 1.0f);
99 width += dx;
108 if (width <
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DSizeAreaComparator.java30 * <p>This comparator totally orders by rectangle area. Tie-breaks on width.</p>
46 long width = size.width;
47 long width2 = size2.width;
48 long area = width * size.height;
52 return (width > width2) ? 1 : -1;
/frameworks/base/core/tests/coretests/src/android/text/
H A DPackedIntVectorTest.java27 for (int width = 0; width < 10; width++) {
28 PackedIntVector p = new PackedIntVector(width);
29 int[] ins = new int[width];
31 for (int height = width * 2; height < width * 4; height++) {
32 assertEquals(p.width(), width);
45 for (int j = 0; j < width;
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DActionBarPolicy.java49 final int width = config.screenWidthDp;
52 if (smallest > 600 || (width > 960 && height > 720) || (width > 720 && height > 960)) {
55 } else if (width >= 500 || (width > 640 && height > 480) || (width > 480 && height > 640)) {
58 } else if (width >= 360) {
82 final int width = configuration.screenWidthDp;
85 width >= 480 || (width >
[all...]

Completed in 824 milliseconds

1234567891011>>