/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
H A D | GlTextureFrameBuffer.java | 41 private final int pixelFormat; field in class:GlTextureFrameBuffer 49 public GlTextureFrameBuffer(int pixelFormat) { argument 50 switch (pixelFormat) { 54 this.pixelFormat = pixelFormat; 57 throw new IllegalArgumentException("Invalid pixel format: " + pixelFormat); 102 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, pixelFormat, width, height, 0, pixelFormat,
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
H A D | LwjglDisplay.java | 51 private PixelFormat pixelFormat;
field in class:LwjglDisplay 98 if (created.get() && (pixelFormat.getBitsPerPixel() != pf.getBitsPerPixel()
99 ||pixelFormat.getDepthBits() != pf.getDepthBits()
100 ||pixelFormat.getStencilBits() != pf.getStencilBits()
101 ||pixelFormat.getSamples() != pf.getSamples())){
106 pixelFormat = pf;
135 Display.create(pixelFormat, attr);
137 Display.create(pixelFormat);
141 if (pixelFormatChanged && pixelFormat.getSamples() > 1
|
H A D | LwjglOffscreenBuffer.java | 55 private PixelFormat pixelFormat;
field in class:LwjglOffscreenBuffer 67 pixelFormat = new PixelFormat(settings.getBitsPerPixel(),
82 pbuffer = new Pbuffer(width, height, pixelFormat, null, null, createContextAttribs());
116 pbuffer = new Pbuffer(width, height, pixelFormat, null);
|
/external/skia/src/gpu/vk/ |
H A D | GrVkTextureRenderTarget.cpp | 32 VkFormat pixelFormat; local 33 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); 43 msImageDesc.fFormat = pixelFormat; 64 if (pixelFormat == format) { 68 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat, 85 if (pixelFormat == format && !resolveAttachmentView) { 89 colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat,
|
H A D | GrVkRenderTarget.cpp | 119 VkFormat pixelFormat; local 120 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); 130 msImageDesc.fFormat = pixelFormat; 149 resolveAttachmentView = GrVkImageView::Create(gpu, imageResource->fImage, pixelFormat, 161 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat,
|
/external/deqp/framework/opengl/ |
H A D | gluFboRenderContext.cpp | 214 tcu::PixelFormat pixelFormat; local 234 pixelFormat = getPixelFormat(colorFormat); 287 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, config.numSamples);
|
/external/deqp/framework/platform/osx/ |
H A D | tcuOSXPlatform.cpp | 124 CGLPixelFormatObj pixelFormat; local 127 if (CGLChoosePixelFormat(&attribs[0], &pixelFormat, &numVScreens) != kCGLNoError) 132 if (CGLCreateContext(pixelFormat, DE_NULL, &m_context) != kCGLNoError) 140 CGLReleasePixelFormat(pixelFormat); 144 CGLReleasePixelFormat(pixelFormat);
|
/external/deqp/framework/platform/win32/ |
H A D | tcuWGLContextFactory.cpp | 101 int pixelFormat = 0; local 104 pixelFormat = config.id; 106 pixelFormat = wgl::choosePixelFormat(wglCore, deviceCtx, config); 108 if (pixelFormat < 0) 111 m_context = new wgl::Context(&wglCore, deviceCtx, config.type, pixelFormat); 116 const wgl::PixelFormatInfo info = wglCore.getPixelFormatInfo(deviceCtx, pixelFormat);
|
H A D | tcuWGL.hpp | 79 int pixelFormat; member in class:tcu::wgl::PixelFormatInfo 133 : pixelFormat (0) 165 PixelFormatInfo getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const; 190 Context (const Core* core, HDC deviceCtx, glu::ContextType ctxType, int pixelFormat);
|
H A D | tcuWin32GLES3Platform.cpp | 92 const int pixelFormat = wgl::choosePixelFormat(wgl, deviceCtx, config); local 94 if (pixelFormat < 0) 97 m_platformCtx.context = new wgl::Context(&wgl, m_window.getDeviceContext(), wgl::PROFILE_COMPATIBILITY, 3, 3, pixelFormat); 111 const wgl::PixelFormatInfo info = wgl.getPixelFormatInfo(deviceCtx, pixelFormat);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fPrerequisiteTests.cpp | 177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); local 234 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
H A D | es3fTextureSwizzleTests.cpp | 193 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local 202 if (pixelFormat != tcu::PixelFormat(8,8,8,8)) 209 referenceFrame.setPixel(x, y, pixelFormat.convertColor(p));
|
H A D | es3fColorClearTest.cpp | 105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local 217 if (pixelFormat.alphaBits == 0) 236 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
H A D | es3fTextureWrapTests.cpp | 334 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local 335 const tcu::IVec4 colorBits = tcu::max(getBitsVec(pixelFormat) - (isNearestOnly && !isSRGB ? 1 : 2), tcu::IVec4(0)); 344 lookupPrecision.colorMask = getCompareMask(pixelFormat); 349 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowDisplay.java | 26 private int pixelFormat = PixelFormat.RGBA_4444; field in class:ShadowDisplay 66 return pixelFormat; 129 public void setPixelFormat(int pixelFormat) { argument 130 this.pixelFormat = pixelFormat;
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fPrerequisiteTests.cpp | 177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); local 234 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
H A D | es2fColorClearTest.cpp | 105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local 217 if (pixelFormat.alphaBits == 0) 236 RGBA colorThreshold = pixelFormat.getColorThreshold();
|
H A D | es2fTextureFilteringTests.cpp | 299 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local 300 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise 309 lookupPrecision.colorMask = getCompareMask(pixelFormat); 312 &texCoord[0], refParams, lookupPrecision, lodPrecision, pixelFormat); 585 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local 586 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise 595 lookupPrecision.colorMask = getCompareMask(pixelFormat); 598 &texCoord[0], sampleParams, lookupPrecision, lodPrecision, pixelFormat);
|
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/ |
H A D | AndroidConfigChooser.java | 24 protected int pixelFormat; field in class:AndroidConfigChooser 96 pixelFormat = getPixelFormat(choosenConfig, display, egl); 102 pixelFormat = PixelFormat.UNKNOWN; 191 return pixelFormat;
|
/external/libjpeg-turbo/java/ |
H A D | TJBench.java | 87 static byte[] loadImage(String fileName, int[] w, int[] h, int pixelFormat) argument 95 int ps = TJ.getPixelSize(pixelFormat); 96 int rindex = TJ.getRedOffset(pixelFormat); 97 int gindex = TJ.getGreenOffset(pixelFormat); 98 int bindex = TJ.getBlueOffset(pixelFormat); 113 int pixelFormat) throws Exception { 116 int ps = TJ.getPixelSize(pixelFormat); 117 int rindex = TJ.getRedOffset(pixelFormat); 118 int gindex = TJ.getGreenOffset(pixelFormat); 119 int bindex = TJ.getBlueOffset(pixelFormat); 112 saveImage(String fileName, byte[] srcBuf, int w, int h, int pixelFormat) argument [all...] |
/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
H A D | TJ.java | 216 * @param pixelFormat the pixel format (one of <code>PF_*</code>) 220 public static int getPixelSize(int pixelFormat) throws Exception { argument 221 if (pixelFormat < 0 || pixelFormat >= NUMPF) 223 return pixelSize[pixelFormat]; 238 * @param pixelFormat the pixel format (one of <code>PF_*</code>) 242 public static int getRedOffset(int pixelFormat) throws Exception { argument 243 if (pixelFormat < 0 || pixelFormat >= NUMPF) 245 return redOffset[pixelFormat]; 264 getGreenOffset(int pixelFormat) argument 286 getBlueOffset(int pixelFormat) argument [all...] |
H A D | TJCompressor.java | 66 * @param pixelFormat pixel format of the source image (one of 70 int height, int pixelFormat) throws Exception { 71 setSourceImage(srcImage, x, y, width, pitch, height, pixelFormat); 80 int pixelFormat) throws Exception { 81 setSourceImage(srcImage, width, pitch, height, pixelFormat); 126 * <code>width * TJ.pixelSize(pixelFormat)</code> if the source image is 132 * <code>width * TJ.pixelSize(pixelFormat)</code>. 137 * @param pixelFormat pixel format of the source image (one of 141 int pitch, int height, int pixelFormat) 145 pitch < 0 || pixelFormat < 69 TJCompressor(byte[] srcImage, int x, int y, int width, int pitch, int height, int pixelFormat) argument 79 TJCompressor(byte[] srcImage, int width, int pitch, int height, int pixelFormat) argument 140 setSourceImage(byte[] srcImage, int x, int y, int width, int pitch, int height, int pixelFormat) argument 166 setSourceImage(byte[] srcImage, int width, int pitch, int height, int pixelFormat) argument 589 compress(byte[] srcBuf, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument 593 compress(byte[] srcBuf, int x, int y, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument 597 compress(int[] srcBuf, int width, int stride, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument 601 compress(int[] srcBuf, int x, int y, int width, int stride, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument 610 encodeYUV(byte[] srcBuf, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int subsamp, int flags) argument 614 encodeYUV(byte[] srcBuf, int x, int y, int width, int pitch, int height, int pixelFormat, byte[][] dstPlanes, int[] dstOffsets, int[] dstStrides, int subsamp, int flags) argument 619 encodeYUV(int[] srcBuf, int width, int stride, int height, int pixelFormat, byte[] dstBuf, int subsamp, int flags) argument 623 encodeYUV(int[] srcBuf, int x, int y, int width, int srcStride, int height, int pixelFormat, byte[][] dstPlanes, int[] dstOffsets, int[] dstStrides, int subsamp, int flags) argument [all...] |
H A D | TJDecompressor.java | 342 * should be set to <code>scaledWidth * TJ.pixelSize(pixelFormat)</code> if 352 * <code>scaledWidth * TJ.pixelSize(pixelFormat)</code>. 364 * @param pixelFormat pixel format of the decompressed/decoded image (one of 371 int pitch, int desiredHeight, int pixelFormat, 377 pixelFormat < 0 || pixelFormat >= TJ.NUMPF || flags < 0) 382 yuvImage.getWidth(), pitch, yuvImage.getHeight(), pixelFormat, 387 desiredHeight, pixelFormat, flags); 390 desiredHeight, pixelFormat, flags); 400 int desiredHeight, int pixelFormat, in 370 decompress(byte[] dstBuf, int x, int y, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 399 decompress(byte[] dstBuf, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 430 decompress(int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 677 decompress(int[] dstBuf, int x, int y, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument 857 decompress(byte[] srcBuf, int size, byte[] dstBuf, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 861 decompress(byte[] srcBuf, int size, byte[] dstBuf, int x, int y, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument 865 decompress(byte[] srcBuf, int size, int[] dstBuf, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument 869 decompress(byte[] srcBuf, int size, int[] dstBuf, int x, int y, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument 880 decodeYUV(byte[][] srcPlanes, int[] srcOffsets, int[] srcStrides, int subsamp, byte[] dstBuf, int x, int y, int width, int pitch, int height, int pixelFormat, int flags) argument 884 decodeYUV(byte[][] srcPlanes, int[] srcOffsets, int[] srcStrides, int subsamp, int[] dstBuf, int x, int y, int width, int stride, int height, int pixelFormat, int flags) argument [all...] |
/external/deqp/modules/egl/ |
H A D | teglColorClearCase.cpp | 101 static void renderReference (tcu::Surface& dst, const vector<ClearOp>& clears, const tcu::PixelFormat& pixelFormat) argument 106 tcu::clear(access, pixelFormat.convertColor(clearIter->color).toIVec());
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureFilteringTests.cpp | 375 const tcu::PixelFormat pixelFormat = renderCtx.getRenderTarget().getPixelFormat(); local 377 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise 386 lookupPrecision.colorMask = getCompareMask(pixelFormat); 389 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat); 400 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat);
|