HomeSort by relevance Sort by last modified time
    Searched refs:pixelSize (Results 1 - 25 of 62) sorted by null

1 2 3

  /frameworks/base/opengl/java/android/opengl/
ETC1.java 91 * pixel (x,y) is at pIn + pixelSize * x + stride * y;
94 * @param pixelSize must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image,
98 int pixelSize, int stride, Buffer out);
104 * pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
106 * @param pixelSize must be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image,
110 int width, int height, int pixelSize, int stride);
ETC1Util.java 83 int pixelSize = useShorts ? 2 : 3;
84 int stride = pixelSize * width;
87 ETC1.decodeImage(data, decodedData, width, height, pixelSize, stride);
188 * @param pixelSize the size of a pixel in bytes (2 or 3)
192 public static ETC1Texture compressTexture(Buffer input, int width, int height, int pixelSize, int stride){
196 ETC1.encodeImage(input, width, height, pixelSize, stride, compressedImage);
  /frameworks/native/opengl/include/ETC1/
etc1.h 62 // pixel (x,y) is at pIn + pixelSize * x + stride * y;
64 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.
68 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
73 // pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
75 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.
80 etc1_uint32 pixelSize, etc1_uint32 stride);
  /sdk/emulator/opengl/host/libs/Translator/include/GLcommon/
etc1.h 64 // pixel (x,y) is at pIn + pixelSize * x + stride * y;
66 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.
70 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
75 // pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
77 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.
82 etc1_uint32 pixelSize, etc1_uint32 stride);
  /external/chromium_org/third_party/skia/src/core/
SkMipMap.h 40 static Level* AllocLevels(int levelCount, size_t pixelSize);
SkMipMap.cpp 116 SkMipMap::Level* SkMipMap::AllocLevels(int levelCount, size_t pixelSize) {
122 size.add(SkToS32(pixelSize));
  /external/skia/src/core/
SkMipMap.h 40 static Level* AllocLevels(int levelCount, size_t pixelSize);
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
VDMXParser.cpp 180 uint16_t pixelSize;
181 if (!buf.readU16(&pixelSize))
184 if (pixelSize > targetPixelSize)
187 if (pixelSize == targetPixelSize) {
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/cpu/arm/
GraphicsContext3DNEON.h 120 unsigned pixelSize = pixelsPerRow - tailPixels;
123 for (unsigned i = 0; i < pixelSize; i += 8) {
141 source += pixelSize;
176 unsigned pixelSize = pixelsPerRow - tailPixels;
183 for (unsigned i = 0; i < pixelSize; i += 8) {
201 source += pixelSize;
240 unsigned pixelSize = pixelsPerRow - tailPixels;
249 for (unsigned i = 0; i < pixelSize; i += 8) {
265 source += pixelSize;
  /frameworks/native/opengl/libs/ETC1/
etc1.cpp 509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) {
514 if (pixelSize < 2 || pixelSize > 3) {
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy);
541 if (pixelSize == 3) {
549 p += pixelSize;
564 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be
570 etc1_uint32 pixelSize, etc1_uint32 stride) {
571 if (pixelSize < 2 || pixelSize > 3)
    [all...]
  /sdk/emulator/opengl/host/libs/Translator/GLcommon/
etc1.cpp 509 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
513 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) {
514 if (pixelSize < 2 || pixelSize > 3) {
540 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy);
541 if (pixelSize == 3) {
549 p += pixelSize;
564 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be
570 etc1_uint32 pixelSize, etc1_uint32 stride) {
571 if (pixelSize < 2 || pixelSize > 3)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/swrast/
s_blit.c 138 GLint pixelSize;
154 pixelSize = _mesa_get_format_bytes(readRb->Format);
157 pixelSize = 16;
175 pixelSize = 4;
181 pixelSize = 1;
189 switch (pixelSize) {
207 pixelSize);
268 srcBuffer = malloc(pixelSize * srcWidth);
273 dstBuffer = malloc(pixelSize * dstWidth);
297 memcpy(srcBuffer, srcRowStart, pixelSize * srcWidth)
    [all...]
s_clear.c 50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format);
136 switch (pixelSize) {
  /external/mesa3d/src/mesa/swrast/
s_blit.c 138 GLint pixelSize;
154 pixelSize = _mesa_get_format_bytes(readRb->Format);
157 pixelSize = 16;
175 pixelSize = 4;
181 pixelSize = 1;
189 switch (pixelSize) {
207 pixelSize);
268 srcBuffer = malloc(pixelSize * srcWidth);
273 dstBuffer = malloc(pixelSize * dstWidth);
297 memcpy(srcBuffer, srcRowStart, pixelSize * srcWidth)
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
StreamUtils.java 67 public static int pixelSize(int format) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
PixMapWrapper.py 34 'pixelSize':'h', # bits per pixel
57 'pixelSize':32,
80 16, # pixelSize
174 self.pixelSize = 32
177 self.pixelSize = 16
179 self.rowBytes = width*self.pixelSize/8
184 if (format == imgformat.macrgb and self.pixelSize == 32) or \
185 (format == imgformat.macrgb16 and self.pixelsize == 16):
  /external/jmonkeyengine/engine/src/core/com/jme3/post/
HDRRenderer.java 174 Vector2f pixelSize = new Vector2f(1f / srcW, 1f / srcH);
179 pixelSize.multLocal(2);
180 blocks.set(blockSize.x / pixelSize.x,
181 blockSize.y / pixelSize.y);
185 blocks.set(blockSize.x / pixelSize.x,
186 blockSize.y / pixelSize.y);
199 mat.setVector2("PixelSize", pixelSize);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGTextLayoutEngineSpacing.cpp 87 kerning = kerningLength.valueAsPercentage() * m_font.pixelSize();
  /system/core/libpixelflinger/
buffer.cpp 191 int32_t pixelSize = pixel->s[i];
192 if (pixelSize < (h-l)) {
193 u = expand(u, pixelSize, h-l);
194 pixelSize = h-l;
196 v = downshift_component(v, u, pixelSize, 0, h, l, 0, 0, dither);
  /external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/
pending_changes.js 100 chrome.fontSettings.setDefaultFontSize({pixelSize: size});
104 chrome.fontSettings.setDefaultFixedFontSize({pixelSize: size});
108 chrome.fontSettings.setMinimumFontSize({pixelSize: size});
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderCombineText.cpp 72 textOrigin.move(boxRect.height() / 2 - ceilf(m_combinedTextWidth) / 2, style()->font().pixelSize());
  /bootable/recovery/minui/
resources.c 111 size_t pixelSize = stride * height;
113 surface = malloc(sizeof(GGLSurface) + pixelSize);
  /development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoThumbnailFragment.java 152 int pixelSize = getResources().getDimensionPixelSize(R.dimen.thumbSize);
158 int widthScale = localDisplayMetrics.widthPixels / pixelSize;
  /external/chromium_org/third_party/WebKit/Source/platform/exported/linux/
WebFontInfo.cpp 129 int pixelSize = sizeAndStyle >> 2;
151 fcvalue.u.d = pixelSize;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
SimpleFontDataSkia.cpp 71 int pixelSize = m_platformData.size() + 0.5;
80 && parseVDMX(&vdmxAscent, &vdmxDescent, vdmxTable, vdmxSize, pixelSize))

Completed in 965 milliseconds

1 2 3