Home
last modified time | relevance | path

Searched refs:pixelSize (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/content/browser/compositor/
Dsoftware_layer_mac.mm28 withPixelSize:(gfx::Size)pixelSize
41 rowBytes * pixelSize.height()));
45 CGImageCreate(pixelSize.width(),
46 pixelSize.height(),
58 0, 0, pixelSize.width() / scaleFactor, pixelSize.height() / scaleFactor)];
Dsoftware_layer_mac.h17 withPixelSize:(gfx::Size)pixelSize
/external/deqp/modules/gles2/functional/
Des2fReadPixelsTests.cpp65 …void getFormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize, …
143 …ormatInfo (tcu::TextureFormat& format, GLint& glFormat, GLint& glType, int& pixelSize, bool& align) in getFormatInfo() argument
181 pixelSize = format.getPixelSize(); in getFormatInfo()
186 pixelSize = 1 * 4; in getFormatInfo()
202 int pixelSize; in iterate() local
207 getFormatInfo(format, glFormat, glType, pixelSize, align); in iterate()
237 …ch = (align ? m_alignment * deCeilFloatToInt32(pixelSize * width / (float)m_alignment) : width * p… in iterate()
/external/chromium_org/third_party/android_opengl/etc1/
Detc1.cpp536 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut, etc1_uint32 outWidth, in etc1_encode_image() argument
538 if (pixelSize < 2) { in etc1_encode_image()
567 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
571 if (pixelSize == 4) { in etc1_encode_image()
583 p += pixelSize; in etc1_encode_image()
611 const etc1_byte* p = pIn + pixelSize * (width - 1) + in etc1_encode_image()
614 if (pixelSize == 4) { in etc1_encode_image()
637 pixelSize * std::min(x + cx, width - 1) + in etc1_encode_image()
639 if (pixelSize == 4) { in etc1_encode_image()
673 etc1_uint32 pixelSize, etc1_uint32 stride) { in etc1_decode_image() argument
[all …]
Detc1.h35 unsigned int pixelSize, unsigned int stride, unsigned char* pOut, unsigned int outWidth,
48 unsigned int pixelSize, unsigned int stride);
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DVDMXParser.cpp180 uint16_t pixelSize; in parseVDMX() local
181 if (!buf.readU16(&pixelSize)) in parseVDMX()
184 if (pixelSize > targetPixelSize) in parseVDMX()
187 if (pixelSize == targetPixelSize) { in parseVDMX()
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_blit.c138 GLint pixelSize; in blit_nearest() local
154 pixelSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
157 pixelSize = 16; in blit_nearest()
175 pixelSize = 4; in blit_nearest()
181 pixelSize = 1; in blit_nearest()
189 switch (pixelSize) { in blit_nearest()
207 pixelSize); in blit_nearest()
268 srcBuffer = malloc(pixelSize * srcWidth); in blit_nearest()
273 dstBuffer = malloc(pixelSize * dstWidth); in blit_nearest()
297 memcpy(srcBuffer, srcRowStart, pixelSize * srcWidth); in blit_nearest()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blit.c138 GLint pixelSize; in blit_nearest() local
154 pixelSize = _mesa_get_format_bytes(readRb->Format); in blit_nearest()
157 pixelSize = 16; in blit_nearest()
175 pixelSize = 4; in blit_nearest()
181 pixelSize = 1; in blit_nearest()
189 switch (pixelSize) { in blit_nearest()
207 pixelSize); in blit_nearest()
268 srcBuffer = malloc(pixelSize * srcWidth); in blit_nearest()
273 dstBuffer = malloc(pixelSize * dstWidth); in blit_nearest()
297 memcpy(srcBuffer, srcRowStart, pixelSize * srcWidth); in blit_nearest()
[all …]
/external/deqp/framework/common/
DtcuTextureUtil.cpp443 inline void fillRow (const PixelBufferAccess& dst, int y, int z, int pixelSize, const deUint8* pixe… in fillRow() argument
448 if (pixelSize == 8 && deIsAlignedPtr(dstPtr, pixelSize) && deIsAlignedPtr(dstPtr, pixelSize)) in fillRow()
456 else if (pixelSize == 4 && deIsAlignedPtr(dstPtr, pixelSize) && deIsAlignedPtr(dstPtr, pixelSize)) in fillRow()
467 for (int j = 0; j < pixelSize; j++) in fillRow()
468 dstPtr[i*pixelSize+j] = pixel[j]; in fillRow()
474 int pixelSize = access.getFormat().getPixelSize(); in clear() local
476 pixelSize < CLEAR_OPTIMIZE_MAX_PIXEL_SIZE) in clear()
489 fillRow(access, y, z, pixelSize, &pixel.u8[0]); in clear()
502 int pixelSize = access.getFormat().getPixelSize(); in clear() local
504 pixelSize < CLEAR_OPTIMIZE_MAX_PIXEL_SIZE) in clear()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/cpu/arm/
DWebGLImageConversionNEON.h120 unsigned pixelSize = pixelsPerRow - tailPixels; in unpackOneRowOfRGBA4444ToRGBA8() local
123 for (unsigned i = 0; i < pixelSize; i += 8) { in unpackOneRowOfRGBA4444ToRGBA8()
141 source += pixelSize; in unpackOneRowOfRGBA4444ToRGBA8()
176 unsigned pixelSize = pixelsPerRow - tailPixels; in unpackOneRowOfRGBA5551ToRGBA8() local
183 for (unsigned i = 0; i < pixelSize; i += 8) { in unpackOneRowOfRGBA5551ToRGBA8()
201 source += pixelSize; in unpackOneRowOfRGBA5551ToRGBA8()
240 unsigned pixelSize = pixelsPerRow - tailPixels; in unpackOneRowOfRGB565ToRGBA8() local
249 for (unsigned i = 0; i < pixelSize; i += 8) { in unpackOneRowOfRGB565ToRGBA8()
265 source += pixelSize; in unpackOneRowOfRGB565ToRGBA8()
/external/deqp/modules/gles3/functional/
Des3fReadPixelsTests.cpp79 void getFormatInfo (tcu::TextureFormat& format, int& pixelSize, bool& align);
80 …d clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, bool align, int pixelSize);
194 void ReadPixelsTest::getFormatInfo (tcu::TextureFormat& format, int& pixelSize, bool& align) in getFormatInfo() argument
232 pixelSize = format.getPixelSize(); in getFormatInfo()
235 …Test::clearColor (tcu::Texture2D& reference, vector<deUint8>& pixelData, bool align, int pixelSize) in clearColor() argument
337 …= (align ? m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_alignment) : rowWidth … in clearColor()
353 int pixelSize; in iterate() local
356 getFormatInfo(format, pixelSize, align); in iterate()
377 clearColor(reference, pixelData, align, pixelSize); in iterate()
380 …= (align ? m_alignment * deCeilFloatToInt32(pixelSize * rowWidth / (float)m_alignment) : rowWidth … in iterate()
[all …]
Des3fTextureSpecificationTests.cpp1068 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
1070 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
1085 …m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, col… in createTexture()
1137 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
1139 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
1155 …&data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, col… in createTexture()
1369 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
1379 data.resize(deAlign32(m_width*pixelSize, 4)*m_height); in createTexture()
1380 …:PixelBufferAccess(m_texFormat, m_width, m_height, 1, deAlign32(m_width*pixelSize, 4), 0, &data[0]… in createTexture()
1386 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/
Dpending_changes.js100 chrome.fontSettings.setDefaultFontSize({pixelSize: size}); property
104 chrome.fontSettings.setDefaultFixedFontSize({pixelSize: size}); property
108 chrome.fontSettings.setMinimumFontSize({pixelSize: size}); property
Doptions.js239 var size = details.pixelSize;
459 var pixelSize = parseInt(value);
460 if (!isNaN(pixelSize)) {
461 advancedFonts.pendingChanges.setFontSize(fontSizeKey, pixelSize);
519 var size = details.pixelSize.toString();
/external/chromium_org/third_party/skia/third_party/etc1/
Detc1.cpp521 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument
522 if (pixelSize < 2 || pixelSize > 3) { in etc1_encode_image()
548 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
549 if (pixelSize == 3) { in etc1_encode_image()
557 p += pixelSize; in etc1_encode_image()
578 etc1_uint32 pixelSize, etc1_uint32 stride) { in etc1_decode_image() argument
579 if (pixelSize < 2 || pixelSize > 3) { in etc1_decode_image()
601 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
602 if (pixelSize == 3) { in etc1_decode_image()
Detc1.h76 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
88 etc1_uint32 pixelSize, etc1_uint32 stride);
/external/skia/third_party/etc1/
Detc1.cpp521 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut) { in etc1_encode_image() argument
522 if (pixelSize < 2 || pixelSize > 3) { in etc1_encode_image()
548 const etc1_byte* p = pIn + pixelSize * x + stride * (y + cy); in etc1_encode_image()
549 if (pixelSize == 3) { in etc1_encode_image()
557 p += pixelSize; in etc1_encode_image()
578 etc1_uint32 pixelSize, etc1_uint32 stride) { in etc1_decode_image() argument
579 if (pixelSize < 2 || pixelSize > 3) { in etc1_decode_image()
601 etc1_byte* p = pOut + pixelSize * x + stride * (y + cy); in etc1_decode_image()
602 if (pixelSize == 3) { in etc1_decode_image()
Detc1.h76 etc1_uint32 pixelSize, etc1_uint32 stride, etc1_byte* pOut);
88 etc1_uint32 pixelSize, etc1_uint32 stride);
/external/chromium_org/third_party/libjpeg_turbo/
Dturbojpeg.h909 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf,
913 unsigned char *srcBuf, int width, int pitch, int height, int pixelSize,
921 int width, int pitch, int height, int pixelSize, int flags);
Dturbojpeg.c124 static int getPixelFormat(int pixelSize, int flags) in getPixelFormat() argument
126 if(pixelSize==1) return TJPF_GRAY; in getPixelFormat()
127 if(pixelSize==3) in getPixelFormat()
132 if(pixelSize==4) in getPixelFormat()
651 int width, int pitch, int height, int pixelSize, unsigned char *jpegBuf, in tjCompress() argument
659 getPixelFormat(pixelSize, flags), jpegBuf, jpegSubsamp, flags); in tjCompress()
664 getPixelFormat(pixelSize, flags), &jpegBuf, &size, jpegSubsamp, jpegQual, in tjCompress()
831 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, in tjEncodeYUV() argument
835 getPixelFormat(pixelSize, flags), dstBuf, subsamp, flags); in tjEncodeYUV()
1042 int height, int pixelSize, int flags) in tjDecompress() argument
[all …]
/external/deqp/framework/opengl/
DgluPixelTransfer.cpp38 int pixelSize = format.getPixelSize(); in getTransferAlignment() local
39 if (deIsPowerOfTwo32(pixelSize)) in getTransferAlignment()
40 return de::min(pixelSize, 8); in getTransferAlignment()
/external/chromium_org/third_party/angle/tests/angle_tests/
DUnpackAlignmentTest.cpp109 unsigned int pixelSize; in testAlignment() local
110 getPixelSize(format, type, &pixelSize); in testAlignment()
111 for (unsigned int i = 0; i < pixelSize; i++) in testAlignment()
/external/deqp/modules/gles31/functional/
Des31fTextureSpecificationTests.cpp428 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
430 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
447 …&data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, … in createTexture()
521 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
533 int rowPitch = deAlign32(pixelSize*m_size, 4); in createTexture()
545 int rowPitch = deAlign32(rowLength*pixelSize, m_alignment); in createTexture()
554 …&data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, … in createTexture()
721 int pixelSize = m_texFormat.getPixelSize(); in createTexture() local
724 int rowPitch = deAlign32(rowLength*pixelSize, alignment); in createTexture()
/external/chromium_org/third_party/skia/src/core/
DSkMipMap.h40 static Level* AllocLevels(int levelCount, size_t pixelSize);
/external/skia/src/core/
DSkMipMap.h40 static Level* AllocLevels(int levelCount, size_t pixelSize);

123