Searched defs:pixelSize (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/third_party/angle/tests/angle_tests/
H A DUnpackAlignmentTest.cpp109 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 Ds_clear.c50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); local
136 switch (pixelSize) {
H A Ds_zoom.c304 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 Ds_blit.c138 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 DgluPixelTransfer.cpp38 int pixelSize = format.getPixelSize(); local
39 if (deIsPowerOfTwo32(pixelSize))
40 return de::min(pixelSize, 8);
H A DgluTexture.cpp43 int pixelSize = format.getPixelSize(); local
44 if (deIsPowerOfTwo32(pixelSize))
45 return de::min(pixelSize, 8);
/external/mesa3d/src/mesa/swrast/
H A Ds_clear.c50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); local
136 switch (pixelSize) {
H A Ds_zoom.c304 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 Ds_blit.c138 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 DVDMXParser.cpp180 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 DSimpleFontDataSkia.cpp77 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 DWebGLImageConversionNEON.h120 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 DSkMipMap.cpp112 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 Des2fReadPixelsTests.cpp65 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 Des3fReadPixelsTests.cpp79 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 DSkMipMap.cpp112 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 DtcuTextureUtil.cpp443 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 Des2pTextureUploadTests.cpp218 int pixelSize = texFmt.getPixelSize(); local
219 int stride = deAlign32(pixelSize*m_texSize, m_alignment);
/external/chromium_org/third_party/android_opengl/etc1/
H A Detc1.cpp531 // 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 DBlit11.cpp773 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 Dturbojpeg.c124 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 Detc1.cpp517 // 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 DrrRasterizer.cpp134 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 Des31fTextureSpecificationTests.cpp428 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 Detc1.cpp517 // 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...]

Completed in 8082 milliseconds

12