/external/chromium_org/third_party/angle/tests/angle_tests/ |
H A D | UnpackAlignmentTest.cpp | 109 unsigned int pixelSize; local 110 getPixelSize(format, type, &pixelSize); 111 for (unsigned int i = 0; i < pixelSize; i++)
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_clear.c | 50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); local 136 switch (pixelSize) {
|
H A D | s_zoom.c | 304 const GLint pixelSize = local 309 rgbaSave = malloc(zoomed.end * pixelSize); 315 memcpy(rgbaSave, zoomed.array->rgba, zoomed.end * pixelSize); 322 memcpy(zoomed.array->rgba, rgbaSave, zoomed.end * pixelSize);
|
H A D | s_blit.c | 138 GLint pixelSize; local 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 * srcWidt 511 GLint pixelSize; local [all...] |
/external/deqp/framework/opengl/ |
H A D | gluPixelTransfer.cpp | 38 int pixelSize = format.getPixelSize(); local 39 if (deIsPowerOfTwo32(pixelSize)) 40 return de::min(pixelSize, 8);
|
H A D | gluTexture.cpp | 43 int pixelSize = format.getPixelSize(); local 44 if (deIsPowerOfTwo32(pixelSize)) 45 return de::min(pixelSize, 8);
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_clear.c | 50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); local 136 switch (pixelSize) {
|
H A D | s_zoom.c | 304 const GLint pixelSize = local 309 rgbaSave = malloc(zoomed.end * pixelSize); 315 memcpy(rgbaSave, zoomed.array->rgba, zoomed.end * pixelSize); 322 memcpy(zoomed.array->rgba, rgbaSave, zoomed.end * pixelSize);
|
H A D | s_blit.c | 138 GLint pixelSize; local 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 * srcWidt 511 GLint pixelSize; local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
H A D | VDMXParser.cpp | 180 uint16_t pixelSize; local 181 if (!buf.readU16(&pixelSize)) 184 if (pixelSize > targetPixelSize) 187 if (pixelSize == targetPixelSize) {
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
H A D | SimpleFontDataSkia.cpp | 77 int pixelSize = m_platformData.size() + 0.5; local 87 && parseVDMX(&vdmxAscent, &vdmxDescent, vdmxTable, vdmxSize, pixelSize))
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/cpu/arm/ |
H A D | WebGLImageConversionNEON.h | 120 unsigned pixelSize = pixelsPerRow - tailPixels; local 123 for (unsigned i = 0; i < pixelSize; i += 8) { 141 source += pixelSize; 176 unsigned pixelSize = pixelsPerRow - tailPixels; local 183 for (unsigned i = 0; i < pixelSize; i += 8) { 201 source += pixelSize; 240 unsigned pixelSize = pixelsPerRow - tailPixels; local 249 for (unsigned i = 0; i < pixelSize; i += 8) { 265 source += pixelSize;
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkMipMap.cpp | 112 SkMipMap::Level* SkMipMap::AllocLevels(int levelCount, size_t pixelSize) { argument 116 int64_t size = sk_64_mul(levelCount + 1, sizeof(Level)) + pixelSize;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fReadPixelsTests.cpp | 65 void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize, bool& align); 143 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize, bool& align) argument 181 pixelSize = format.getPixelSize(); 186 pixelSize = 1 * 4; 202 int pixelSize; local 207 getFormatInfo(format, glFormat, glType, pixelSize, align); 237 const int rowPitch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * width / (float)m_alignment) : width * pixelSize);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fReadPixelsTests.cpp | 79 void getFormatInfo (tcu::TextureFormat& format, int& pixelSize, bool& align); 80 void clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, bool align, int pixelSize); 194 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, int& pixelSize, bool& align) argument 232 pixelSize = format.getPixelSize(); 235 void ReadPixelsTest::clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, bool align, int pixelSize) argument 337 const int rowPitch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_alignment) : rowWidth * pixelSize); 353 int pixelSize; local 356 getFormatInfo(format, pixelSize, align); 377 clearColor(reference, pixelData, align, pixelSize); [all...] |
/external/skia/src/core/ |
H A D | SkMipMap.cpp | 112 SkMipMap::Level* SkMipMap::AllocLevels(int levelCount, size_t pixelSize) { argument 116 int64_t size = sk_64_mul(levelCount + 1, sizeof(Level)) + pixelSize;
|
/external/deqp/framework/common/ |
H A D | tcuTextureUtil.cpp | 443 inline void fillRow (const PixelBufferAccess& dst, int y, int z, int pixelSize, const deUint8* pixel) argument 448 if (pixelSize == 8 && deIsAlignedPtr(dstPtr, pixelSize) && deIsAlignedPtr(dstPtr, pixelSize)) 456 else if (pixelSize == 4 && deIsAlignedPtr(dstPtr, pixelSize) && deIsAlignedPtr(dstPtr, pixelSize)) 467 for (int j = 0; j < pixelSize; j++) 468 dstPtr[i*pixelSize+j] = pixel[j]; 474 int pixelSize local 502 int pixelSize = access.getFormat().getPixelSize(); local 530 int pixelSize = access.getFormat().getPixelSize(); local 558 int pixelSize = access.getFormat().getPixelSize(); local 788 int pixelSize = src.getFormat().getPixelSize(); local [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pTextureUploadTests.cpp | 218 int pixelSize = texFmt.getPixelSize(); local 219 int stride = deAlign32(pixelSize*m_texSize, m_alignment);
|
/external/chromium_org/third_party/android_opengl/etc1/ |
H A D | etc1.cpp | 531 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 536 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut, etc1_uint32 outWidth, 538 if (pixelSize < 2) { 567 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); 571 if (pixelSize == 4) { 583 p += pixelSize; 611 const etc1_byte* p = pIn + pixelSize * (width - 1) + 614 if (pixelSize == 4) { 637 pixelSize * std::min(x + cx, width - 1) + 639 if (pixelSize 535 etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut, etc1_uint32 outWidth, etc1_uint32 outHeight) argument 671 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/ |
H A D | Blit11.cpp | 773 unsigned int pixelSize = dxgiFormatInfo.pixelBytes; local 775 unsigned int copySize = pixelSize; 821 copySize == pixelSize; 835 sourceArea.x * pixelSize; 839 destArea.x * pixelSize; 841 memcpy(destRow, sourceRow, pixelSize * destArea.width); 855 readColumn * pixelSize + 860 writeColumn * pixelSize +
|
/external/chromium_org/third_party/libjpeg_turbo/ |
H A D | turbojpeg.c | 124 static int getPixelFormat(int pixelSize, int flags) argument 126 if(pixelSize==1) return TJPF_GRAY; 127 if(pixelSize==3) 132 if(pixelSize==4) 651 int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf, 659 getPixelFormat(pixelSize, flags), jpegBuf, jpegSubsamp, flags); 664 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, 831 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, 835 getPixelFormat(pixelSize, flags), dstBuf, subsamp, flags); 1042 int height, int pixelSize, in 650 tjCompress(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf, unsigned long *jpegSize, int jpegSubsamp, int jpegQual, int flags) argument 830 tjEncodeYUV(tjhandle handle, unsigned char *srcBuf, int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, int subsamp, int flags) argument 1040 tjDecompress(tjhandle handle, unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, int height, int pixelSize, int flags) argument [all...] |
/external/chromium_org/third_party/skia/third_party/etc1/ |
H A D | 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 < 520 etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) argument 576 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument [all...] |
/external/deqp/framework/referencerenderer/ |
H A D | rrRasterizer.cpp | 134 const deUint64 pixelSize = 1ll << (RASTERIZER_SUBPIXEL_BITS); local 136 return ((a.x() & (pixelSize-1)) == halfPixel && 137 (a.y() & (pixelSize-1)) == halfPixel);
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureSpecificationTests.cpp | 428 int pixelSize = m_texFormat.getPixelSize(); local 430 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); 447 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); 521 int pixelSize = m_texFormat.getPixelSize(); local 533 int rowPitch = deAlign32(pixelSize*m_size, 4); 545 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); 554 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); 721 int pixelSize = m_texFormat.getPixelSize(); local 724 int rowPitch = deAlign32(rowLength*pixelSize, alignment);
|
/external/skia/third_party/etc1/ |
H A D | 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 < 520 etc1_encode_image(const etc1_byte* pIn, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) argument 576 etc1_decode_image(const etc1_byte* pIn, etc1_byte* pOut, etc1_uint32 width, etc1_uint32 height, etc1_uint32 pixelSize, etc1_uint32 stride) argument [all...] |