| /device/generic/goldfish-opengl/system/GLESv2_enc/ |
| GLESv2Validation.cpp | 697 bool pixelFormat(GL2Encoder* ctx, GLenum format) {
|
| /external/deqp/framework/platform/win32/ |
| tcuWGL.hpp | 80 int pixelFormat; 134 : pixelFormat (0) 173 PixelFormatInfo getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const; 201 int pixelFormat,
|
| tcuWGL.cpp | 229 int pixelFormat = ChoosePixelFormat(tmpWindow.getDeviceContext(), &pixelFormatDesc); 230 if (!SetPixelFormat(tmpWindow.getDeviceContext(), pixelFormat, &pixelFormatDesc)) 329 static void getPixelFormatAttribs (const Functions& wgl, HDC deviceCtx, int pixelFormat, int numAttribs, const int* attribs, std::map<int, int>* dst) 333 if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, numAttribs, &attribs[0], &values[0])) 340 PixelFormatInfo Core::getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const 369 getPixelFormatAttribs(wgl, deviceCtx, pixelFormat, DE_LENGTH_OF_ARRAY(s_attribsToQuery), &s_attribsToQuery[0], &values); 374 info.pixelFormat = pixelFormat; 405 int pixelFormat, 501 if (!DescribePixelFormat(deviceCtx, pixelFormat, sizeof(pixelFormatDesc), &pixelFormatDesc) [all...] |
| /external/deqp/modules/gles2/functional/ |
| es2fColorClearTest.cpp | 105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); 217 if (pixelFormat.alphaBits == 0) 236 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
| es2fTextureFilteringTests.cpp | 300 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); 301 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise 310 lookupPrecision.colorMask = getCompareMask(pixelFormat); 313 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat); 586 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); 587 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise 596 lookupPrecision.colorMask = getCompareMask(pixelFormat); 599 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat); [all...] |
| es2fTextureMipmapTests.cpp | 348 const tcu::PixelFormat& pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); 358 lookupPrec.colorThreshold = tcu::computeFixedPointThreshold(max(getBitsVec(pixelFormat) - (isTrilinear ? 2 : 1), tcu::IVec4(0))); 359 lookupPrec.colorMask = getCompareMask(pixelFormat); 390 sampleTexture(tcu::SurfaceAccess(referenceFrame, pixelFormat, curX, curY, curW, curH), [all...] |
| /external/deqp/modules/gles3/functional/ |
| es3fColorClearTest.cpp | 105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); 217 if (pixelFormat.alphaBits == 0) 236 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
| es3fTextureSwizzleTests.cpp | 194 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); 197 sampleTexture(tcu::SurfaceAccess(referenceFrame, tcu::PixelFormat(8,8,8,8)), m_texture->getRefTexture(), &texCoord[0], renderParams); 203 if (pixelFormat != tcu::PixelFormat(8,8,8,8)) 210 referenceFrame.setPixel(x, y, pixelFormat.convertColor(p));
|
| es3fTextureWrapTests.cpp | 335 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); 336 const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 : 2), tcu::IVec4(0)); 345 lookupPrecision.colorMask = getCompareMask(pixelFormat); 350 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
|
| /external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
| TJCompressor.java | 68 * @param pixelFormat pixel format of the source image (one of 72 int height, int pixelFormat) throws TJException { 73 setSourceImage(srcImage, x, y, width, pitch, height, pixelFormat); 82 int pixelFormat) throws TJException { 83 setSourceImage(srcImage, width, pitch, height, pixelFormat); 128 * <code>width * TJ.pixelSize(pixelFormat)</code> if the source image is 134 * <code>width * TJ.pixelSize(pixelFormat)</code>. 139 * @param pixelFormat pixel format of the source image (one of 143 int pitch, int height, int pixelFormat) 147 pitch < 0 || pixelFormat < 0 || pixelFormat >= TJ.NUMPF [all...] |
| TJDecompressor.java | 343 * should be set to <code>scaledWidth * TJ.pixelSize(pixelFormat)</code> if 353 * <code>scaledWidth * TJ.pixelSize(pixelFormat)</code>. 365 * @param pixelFormat pixel format of the decompressed/decoded image (one of 372 int pitch, int desiredHeight, int pixelFormat, 378 pixelFormat < 0 || pixelFormat >= TJ.NUMPF || flags < 0) 383 yuvImage.getWidth(), pitch, yuvImage.getHeight(), pixelFormat, 388 desiredHeight, pixelFormat, flags); 391 desiredHeight, pixelFormat, flags); 401 int desiredHeight, int pixelFormat, int flags [all...] |
| /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
| ShadowDisplay.java | 57 private Integer pixelFormat; 139 return pixelFormat == null 141 : pixelFormat; 374 public void setPixelFormat(int pixelFormat) { 375 this.pixelFormat = pixelFormat;
|
| /frameworks/base/libs/hwui/pipeline/skia/ |
| SkiaOpenGLPipeline.cpp | 326 PixelFormat pixelFormat; 336 pixelFormat = PIXEL_FORMAT_RGBA_8888; 344 pixelFormat = PIXEL_FORMAT_RGBA_FP16; 347 pixelFormat = PIXEL_FORMAT_RGBA_8888; 353 pixelFormat = PIXEL_FORMAT_RGB_565; 359 pixelFormat = PIXEL_FORMAT_RGBA_8888; 386 info.width(), info.height(), pixelFormat,
|
| /frameworks/native/services/surfaceflinger/layerproto/include/layerproto/ |
| LayerProtoParser.h | 99 std::string pixelFormat;
|
| /hardware/google/av/codec2/vndk/platform/ |
| C2BqBuffer.cpp | 38 using ::android::hardware::graphics::common::V1_0::PixelFormat; 180 PixelFormat pixelFormat = static_cast<PixelFormat>(format); 184 width, height, pixelFormat, androidUsage.asGrallocUsage(), true,
|
| /hardware/interfaces/graphics/composer/2.2/vts/functional/ |
| VtsHalGraphicsComposerV2_2TargetTest.cpp | 40 using android::hardware::graphics::common::V1_1::PixelFormat; 139 info.format = PixelFormat::RGBA_8888; 216 PixelFormat format; 219 64, 64, PixelFormat::IMPLEMENTATION_DEFINED, kBufferSlotCount, &format)); 247 mPrimaryDisplay, width, height, PixelFormat::RGBA_8888, Dataspace::UNKNOWN)); 270 PixelFormat pixelFormat; 272 mComposerClient->getReadbackBufferAttributes(mPrimaryDisplay, &pixelFormat, &dataspace); 273 ASSERT_LT(static_cast<PixelFormat>(0), pixelFormat); [all...] |
| /external/libvncserver/webclients/novnc/include/ |
| rfb.js | [all...] |
| /frameworks/base/core/jni/android/graphics/ |
| ImageDecoder.cpp | 408 jint pixelFormat = postProcessAndRelease(env, jdecoder, std::move(canvas)); 414 switch (pixelFormat) { 425 msg.printf("invalid return from postProcess: %i", pixelFormat); 433 msg.printf("incompatible return from postProcess: %i", pixelFormat);
|
| /frameworks/base/libs/hwui/renderthread/ |
| OpenGLPipeline.cpp | 386 static PixelFormat internalFormatToPixelFormat(GLint internalFormat) { 422 PixelFormat pixelFormat = internalFormatToPixelFormat(internalFormat); 424 info.width(), info.height(), pixelFormat,
|
| /external/deqp/external/openglcts/modules/gl/ |
| gl4cShaderImageSizeTests.cpp | 203 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); 205 1.f / static_cast<float>(1 << pixelFormat.redBits), 1.f / static_cast<float>(1 << pixelFormat.greenBits), 206 1.f / static_cast<float>(1 << pixelFormat.blueBits), 1.f / static_cast<float>(1 << pixelFormat.alphaBits)); [all...] |
| gl4cVertexAttribBindingTests.cpp | 115 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); 117 1.f / static_cast<float>(1 << pixelFormat.redBits), 1.f / static_cast<float>(1 << pixelFormat.greenBits), 118 1.f / static_cast<float>(1 << pixelFormat.blueBits), 1.f / static_cast<float>(1 << pixelFormat.alphaBits)); 142 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); 144 1.f / static_cast<float>(1 << pixelFormat.redBits), 1.f / static_cast<float>(1 << pixelFormat.greenBits) [all...] |
| /external/deqp/external/vulkancts/modules/vulkan/texture/ |
| vktTextureShadowTests.cpp | 122 tcu::PixelFormat getPixelFormat(tcu::TextureFormat texFormat) 125 return tcu::PixelFormat(formatBitDepth[0], formatBitDepth[1], formatBitDepth[2], formatBitDepth[3]); 136 const tcu::PixelFormat& pixelFormat) 141 const tcu::Vec3 nonShadowThreshold = tcu::computeFixedPointThreshold(getBitsVec(pixelFormat)-1).swizzle(1,2,3); 157 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); 164 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); 348 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); 358 texComparePrecision.resultBits = pixelFormat.redBits-1 [all...] |
| /external/deqp/modules/gles31/functional/ |
| es31fTextureFilteringTests.cpp | 381 const tcu::PixelFormat pixelFormat = renderCtx.getRenderTarget().getPixelFormat(); 383 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise 392 lookupPrecision.colorMask = getCompareMask(pixelFormat); 395 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat); 406 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat);
|
| /external/deqp/external/openglcts/modules/gles31/ |
| es31cTextureGatherTests.cpp | 55 TGBase() : renderTarget(m_context.getRenderContext().getRenderTarget()), pixelFormat(renderTarget.getPixelFormat()) 60 const tcu::PixelFormat& pixelFormat; [all...] |
| es31cVertexAttribBindingTests.cpp | 209 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); 210 Vec3 g_color_eps = Vec3(1.f / static_cast<float>(1 << pixelFormat.redBits), 211 1.f / static_cast<float>(1 << pixelFormat.greenBits), 212 1.f / static_cast<float>(1 << pixelFormat.blueBits)); [all...] |