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

1 2 3 4 5

  /device/generic/goldfish-opengl/system/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);
  /external/skia/third_party/etc1/
etc1.h 70 // pixel (x,y) is at pIn + pixelSize * x + stride * y;
72 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.
76 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
81 // pixel (x,y) is at pIn + pixelSize * x + stride * y. Must be
83 // pixelSize can be 2 or 3. 2 is an GL_UNSIGNED_SHORT_5_6_5 image, 3 is a GL_BYTE RGB image.
88 etc1_uint32 pixelSize, etc1_uint32 stride);
etc1.cpp 517 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset;
521 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) {
522 if (pixelSize < 2 || pixelSize > 3) {
548 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy);
549 if (pixelSize == 3) {
557 p += pixelSize;
572 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset. Must be
578 etc1_uint32 pixelSize, etc1_uint32 stride) {
579 if (pixelSize < 2 || pixelSize > 3)
    [all...]
  /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);
  /hardware/interfaces/automotive/evs/1.0/vts/functional/
FormatConvert.h 58 unsigned pixelSize);
FormatConvert.cpp 164 unsigned pixelSize) {
167 memcpy(dst, src, width * pixelSize);
170 src = (uint8_t*)src + srcStridePixels * pixelSize;
171 dst = (uint8_t*)dst + dstStridePixels * pixelSize;
  /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
TJ.java 221 return pixelSize[pixelFormat];
224 private static final int[] pixelSize = {
  /hardware/interfaces/automotive/evs/1.0/
types.hal 62 uint32_t pixelSize; // Units of bytes
  /external/deqp/modules/gles2/functional/
es2fReadPixelsTests.cpp 66 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize);
144 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize)
157 pixelSize = format.getPixelSize();
162 pixelSize = 1 * 4;
177 int pixelSize;
181 getFormatInfo(format, glFormat, glType, pixelSize);
208 const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * width) / (float)m_alignment);
  /external/deqp/framework/opengl/
gluPixelTransfer.cpp 38 int pixelSize = format.getPixelSize();
39 if (deIsPowerOfTwo32(pixelSize))
40 return de::min(pixelSize, 8);
  /external/libvncserver/common/
turbojpeg.h 510 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf,
518 int width, int pitch, int height, int pixelSize, int flags);
  /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...]
  /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...]
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktDrawImageObjectUtil.cpp 43 void MemoryOp::pack (int pixelSize,
56 rowPitch = width * pixelSize;
70 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) &&
82 vk::VkDeviceSize offsetDepthSrc = d * (pixelSize * width * height);
88 srcRow += pixelSize * width;
95 void MemoryOp::unpack (int pixelSize,
108 rowPitch = width * pixelSize;
122 if (rowPitch == static_cast<vk::VkDeviceSize>(width * pixelSize) &&
132 vk::VkDeviceSize offsetDepthDst = d * (pixelSize * width * height);
138 deMemcpy(dstRow, srcRow, static_cast<size_t>(pixelSize * width))
    [all...]
  /external/skia/src/core/
SkMipMap.h 80 static size_t AllocLevelsSize(int levelCount, size_t pixelSize);
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
StreamUtils.java 67 public static int pixelSize(int format) {
  /prebuilts/gdb/darwin-x86/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):
  /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/libjpeg-turbo/
turbojpeg.h     [all...]
  /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/deqp/modules/gles3/functional/
es3fReadPixelsTests.cpp 88 void getFormatInfo (tcu::TextureFormat& format, int& pixelSize);
89 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize);
204 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, int& pixelSize)
218 pixelSize = format.getPixelSize();
221 void ReadPixelsTest::clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, int pixelSize)
314 const int rowPitch = m_alignment * deCeilFloatToInt32(float(pixelSize * rowWidth) / (float)m_alignment);
330 int pixelSize;
332 getFormatInfo(format, pixelSize);
353 clearColor(reference, pixelData, pixelSize);
356 const int rowPitch = m_alignment * deCeilFloatToInt32((float)(pixelSize * rowWidth) / (float)m_alignment)
    [all...]
  /frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
AnimatorInflaterCompat.java 338 * @param pixelSize The relative pixel size, used to calculate the
342 TypedArray arrayAnimator, TypedArray arrayObjectAnimator, float pixelSize,
375 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize, parser);
385 * @param pixelSize The relative pixel size, used to calculate the
388 int valueType, float pixelSize, XmlPullParser parser) {
418 setupPathMotion(path, oa, 0.5f * pixelSize, propertyXName, propertyYName);
499 float pixelSize)
502 0, pixelSize);
507 AttributeSet attrs, AnimatorSet parent, int sequenceOrdering, float pixelSize)
527 anim = loadObjectAnimator(context, res, theme, attrs, pixelSize, parser)
    [all...]
  /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;

Completed in 269 milliseconds

1 2 3 4 5