HomeSort by relevance Sort by last modified time
    Searched refs:width (Results 526 - 550 of 10732) sorted by null

<<21222324252627282930>>

  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
h264bsdWriteMacroblock.s 27 width RN 2 label
93 LDR width, [image, #4]
101 LSL width, width, #4
103 LSR cwidth, width, #1
104 VST1 {qRow0}, [luma@128], width
106 VST1 {qRow1}, [luma@128], width
108 VST1 {qRow2}, [luma@128], width
110 VST1 {qRow3}, [luma@128], width
112 VST1 {qRow4}, [luma@128], width
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
h264bsdWriteMacroblock.S 29 #define width r2 define
95 LDR width, [image, #4]
103 LSL width, width, #4
105 LSR cwidth, width, #1
106 VST1.8 {qRow0}, [luma,:128], width
108 VST1.8 {qRow1}, [luma,:128], width
110 VST1.8 {qRow2}, [luma,:128], width
112 VST1.8 {qRow3}, [luma,:128], width
114 VST1.8 {qRow4}, [luma,:128], width
    [all...]
  /frameworks/base/core/jni/android/graphics/
YuvToJpegEncoder.h 27 * @param width Width of the the Yuv data in terms of pixels.
33 bool encode(SkWStream* stream, void* inYuv, int width,
41 void setJpegCompressStruct(jpeg_compress_struct* cinfo, int width,
55 void deinterleaveYuv(uint8_t* yuv, int width, int height,
58 int rowIndex, int width, int height);
71 uint8_t* vRows, int rowIndex, int width, int height);
YuvToJpegEncoder.cpp 26 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width,
41 setJpegCompressStruct(&cinfo, width, height, jpegQuality);
53 int width, int height, int quality) {
54 cinfo->image_width = width;
84 int width = cinfo->image_width; local
87 uint8_t* vuPlanar = yuv + offsets[1]; //width * height;
88 uint8_t* uRows = new uint8_t [8 * (width >> 1)];
89 uint8_t* vRows = new uint8_t [8 * (width >> 1)];
95 deinterleave(vuPlanar, uRows, vRows, cinfo->next_scanline, width, height);
104 // height and width are both halved because of downsamplin
160 int width = cinfo->image_width; local
    [all...]
  /frameworks/base/libs/hwui/
Texture.cpp 86 bool Texture::updateSize(uint32_t width, uint32_t height, GLint format) {
87 if (mWidth == width && mHeight == height && mFormat == format) {
90 mWidth = width;
104 void Texture::upload(GLint internalformat, uint32_t width, uint32_t height,
107 bool needsAlloc = updateSize(width, height, internalformat);
125 GLsizei width, GLsizei height, const GLvoid * data) {
127 const bool useStride = stride != width
129 if ((stride == width) || useStride) {
135 glTexImage2D(GL_TEXTURE_2D, 0, format, width, height, 0, format, type, data);
137 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, width, height, format, type, data)
    [all...]
  /frameworks/base/media/mca/filterfw/native/core/
geometry.h 72 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) {
82 this->width = width;
gl_frame.h 46 // Initialize a GL frame to the given width, height, format. Also specify
48 bool Init(int width, int height);
54 bool InitWithTexture(GLint texture_id, int width, int height);
57 bool InitWithFbo(GLint fbo_id, int width, int height);
93 bool SetViewport(int x, int y, int width, int height);
130 void InitDimensions(int width, int height);
185 // The width, height and format of the frame
  /packages/apps/Camera2/src/com/android/camera/
PanoUtil.java 45 public static void decodeYUV420SPQuarterRes(int[] rgb, byte[] yuv420sp, int width, int height) {
46 final int frameSize = width * height;
49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0;
50 for (int i = 0; i < width; i += 4, ypd++) {
51 int y = (0xff & (yuv420sp[j * width + i])) - 16;
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoUtil.java 45 public static void decodeYUV420SPQuarterRes(int[] rgb, byte[] yuv420sp, int width, int height) {
46 final int frameSize = width * height;
49 int uvp = frameSize + (j >> 1) * width, u = 0, v = 0;
50 for (int i = 0; i < width; i += 4, ypd++) {
51 int y = (0xff & ((int) yuv420sp[j * width + i])) - 16;
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_imageop.py 26 for width in VALUES:
27 strlen = abs(width * height)
35 arguments = (data, size, width, height) + extra
37 arguments = (data, width, height) + extra
80 image, width, height = getimage('test'+os.extsep+'rgb')
82 # Return the selected part of image, which should by width by height
86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1)
94 scaleimage = imageop.scale(image, 4, width, height, 1, 1)
102 videoimage = imageop.tovideo (image, 4, width, height)
107 greyimage = imageop.rgb2rgb8(image, width, height
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_imageop.py 26 for width in VALUES:
27 strlen = abs(width * height)
35 arguments = (data, size, width, height) + extra
37 arguments = (data, width, height) + extra
80 image, width, height = getimage('test'+os.extsep+'rgb')
82 # Return the selected part of image, which should by width by height
86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1)
94 scaleimage = imageop.scale(image, 4, width, height, 1, 1)
102 videoimage = imageop.tovideo (image, 4, width, height)
107 greyimage = imageop.rgb2rgb8(image, width, height
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_imageop.py 26 for width in VALUES:
27 strlen = abs(width * height)
35 arguments = (data, size, width, height) + extra
37 arguments = (data, width, height) + extra
80 image, width, height = getimage('test'+os.extsep+'rgb')
82 # Return the selected part of image, which should by width by height
86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1)
94 scaleimage = imageop.scale(image, 4, width, height, 1, 1)
102 videoimage = imageop.tovideo (image, 4, width, height)
107 greyimage = imageop.rgb2rgb8(image, width, height
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_imageop.py 26 for width in VALUES:
27 strlen = abs(width * height)
35 arguments = (data, size, width, height) + extra
37 arguments = (data, width, height) + extra
80 image, width, height = getimage('test'+os.extsep+'rgb')
82 # Return the selected part of image, which should by width by height
86 newimage = imageop.crop (image, 4, width, height, 0, 0, 1, 1)
94 scaleimage = imageop.scale(image, 4, width, height, 1, 1)
102 videoimage = imageop.tovideo (image, 4, width, height)
107 greyimage = imageop.rgb2rgb8(image, width, height
    [all...]
  /toolchain/binutils/binutils-2.25/opcodes/
aarch64-opc.h 100 int width; member in struct:aarch64_field
172 /* Return the total width of the operand *OPERAND. */
177 unsigned width = 0;
179 width += fields[operand->fields[i++]].width;
180 assert (width > 0 && width < 32);
181 return width;
214 /* Generate a mask that has WIDTH number of consecutive 1s. */
217 gen_mask (int width)
176 unsigned width = 0; local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/
TexImageTransform.java 63 * @param width width of the texture
67 GLEnum type, int xOffset, int yOffset, int width, int height) {
75 mWidth = width;
127 * Creates a texture of provided width and height. If the texture data file is provided,
131 * @param width width of texture
135 private String createTexture(File textureDataFile, int width, int height) throws IOException {
138 BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_4BYTE_ABGR);
142 img.getRaster().setDataElements(0, 0, width, height
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtils.java 136 int width = awtImage.getWidth(); local
142 new ImageData(width, height, 32, getAwtPaletteData(awtImage.getType()));
159 byte[] alphaData = new byte[height * width];
161 byte[] alphaRow = new byte[width];
162 for (int x = 0; x < width; x++) {
173 System.arraycopy(alphaRow, 0, alphaData, y * width, width);
195 new BufferedImage(swtData.width, swtData.height, BufferedImage.TYPE_INT_ARGB);
203 for (int x = 0; x < swtData.width; x++) {
215 for (int x = 0; x < swtData.width; x++)
    [all...]
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
rsAllocationCopyTest.java 29 int width = random.nextInt(512); local
30 int arr_len = width;
39 typeBuilder.setX(width);
74 int width = random.nextInt(512); local
75 int arr_len = width;
86 typeBuilder.setX(width);
121 int width = random.nextInt(512); local
122 int arr_len = width;
133 typeBuilder.setX(width);
168 int width = random.nextInt(512) local
216 int width = random.nextInt(512); local
264 int width = random.nextInt(128); local
318 int width = random.nextInt(128); local
374 int width = random.nextInt(128); local
430 int width = random.nextInt(128); local
486 int width = random.nextInt(128); local
    [all...]
  /frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
h264bsd_reconstruct.c 100 width width of the reference frame chrominance in pixels
103 chromaPartWidth width of the predicted part in pixels
115 u32 width,
137 if ((x0 < 0) || ((u32)x0+chromaPartWidth+1 > width) ||
140 h264bsdFillBlock(pRef, block, x0, y0, width, height,
142 pRef += width * height;
144 x0, y0, width, height, chromaPartWidth + 1,
150 width = chromaPartWidth+1;
159 ptrA = pRef + (comp * height + (u32)y0) * width + x0
428 u32 xFrac, yFrac, width, height, chromaPartWidth, chromaPartHeight; local
1834 u32 xFrac, yFrac, width, height; local
1983 u32 width, height; local
    [all...]
  /external/opencv/cv/src/
cvcamshift.cpp 52 // windowOut - Location, height and width of converged CAMSHIFT window
54 // width - If != NULL, return equivalent width
84 if( windowIn.height <= 0 || windowIn.width <= 0 )
87 if( windowIn.x < 0 || windowIn.x + windowIn.width > mat->cols ||
108 dx = cvRound( moments.m10 * inv_m00 - windowIn.width*0.5 );
116 else if( nx + cur_rect.width > mat->cols )
117 nx = mat->cols - cur_rect.width;
154 // windowOut - Location, height and width of converged CAMSHIFT window
157 // width - If != NULL, return equivalent widt
177 double length = 0, width = 0; local
    [all...]
cvoptflowbm.cpp 77 memcpy( dst, src, size.width );
88 // imgStep, // full width of input images in bytes
96 // velStep); // full width of velocity frames in bytes
118 int stand_accept_level = blockSize.height * blockSize.width * SMALL_DIFF;
119 int stand_escape_level = blockSize.height * blockSize.width * BIG_DIFF;
127 /* have not full width - BorderWidth */
147 int blSize = blockSize.width * blockSize.height;
178 ss = (CvPoint *) cvAlloc( (2 * maxRange.width + 1) * (2 * maxRange.height + 1) *
190 int X_shift_count = maxRange.width / shiftSize.width;
    [all...]
  /external/skia/src/core/
SkSpriteBlitter_ARGB32.cpp 35 void blitRect(int x, int y, int width, int height) override {
36 SkASSERT(width > 0 && height > 0);
45 proc(dst, src, width, alpha);
93 int width = dst.width(); variable
94 if (width > fBufferSize) {
95 fBufferSize = width;
97 fBuffer = new SkPMColor[width];
120 void blitRect(int x, int y, int width, int height) override {
121 SkASSERT(width > 0 && height > 0)
    [all...]
  /external/mesa3d/src/mesa/main/
accum.c 128 GLuint x, y, width, height; local
143 width = ctx->DrawBuffer->_Xmax - ctx->DrawBuffer->_Xmin;
146 ctx->Driver.MapRenderbuffer(ctx, accRb, x, y, width, height,
164 for (i = 0; i < width; i++) {
190 GLint xpos, GLint ypos, GLint width, GLint height,
200 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height,
215 for (i = 0; i < 4 * width; i++) {
225 for (i = 0; i < 4 * width; i++) {
248 GLint xpos, GLint ypos, GLint width, GLint height,
270 ctx->Driver.MapRenderbuffer(ctx, accRb, xpos, ypos, width, height
455 GLint xpos, ypos, width, height; local
    [all...]
  /hardware/intel/img/hwcomposer/merrifield/ips/common/
RotationBufferProvider.cpp 119 int RotationBufferProvider::getStride(bool isTarget, int width)
122 if (width <= 512)
124 else if (width <= 1024)
126 else if (width <= 1280) {
130 } else if (width <= 2048)
132 else if (width <= 4096)
135 stride = (width + 0x3f) & ~0x3f;
139 buffer_handle_t RotationBufferProvider::createWsbmBuffer(int width, int height, void **buf)
141 int size = width * height * 3 / 2; // YUV420 NV12 format
161 int width = 0, height = 0, bufferHeight = 0 local
    [all...]
  /external/deqp/framework/delibs/deimage/
deImage.c 38 int offset = ((y*image->width) + x) * deImageFormat_getBytesPerPixel(image->format);
39 DE_ASSERT(deInBounds32(x, 0, image->width));
44 deImage* deImage_create (int width, int height, deImageFormat format)
51 image->width = width;
54 image->pixels = deMalloc(width * height * bpp);
60 memset(image->pixels, 0, width * height * bpp);
98 int width = image->width; local
100 deImage* converted = deImage_create(width, height, format)
163 int width = image->width; local
    [all...]
  /external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/
PerlinNoiseGenerator.java 27 public static float[][] generateWhiteNoise (int width, int height) {
28 float[][] noise = new float[width][height];
30 for (int x = 0; x < width; x++) {
42 int width = baseNoise.length; local
44 float[][] smoothNoise = new float[width][height];
48 for (int i = 0; i < width; i++) {
50 int sample_i1 = (sample_i0 + samplePeriod) % width; // wrap around
67 int width = baseNoise.length; local
76 float[][] perlinNoise = new float[width][height]; // an array of floats initialised to 0
85 for (int i = 0; i < width; i++) {
    [all...]

Completed in 2346 milliseconds

<<21222324252627282930>>