Searched defs:pixelFormat (Results 1 - 25 of 53) sorted by relevance

123

/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
H A DGlTextureFrameBuffer.java41 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/skia/src/gpu/vk/
H A DGrVkTextureRenderTarget.cpp35 VkFormat pixelFormat; local
36 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat);
46 msImageDesc.fFormat = pixelFormat;
66 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat,
79 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat,
155 VkFormat pixelFormat; local
156 GrPixelConfigToVkFormat(fDesc.fConfig, &pixelFormat);
161 pixelFormat,
172 pixelFormat,
H A DGrVkRenderTarget.cpp115 VkFormat pixelFormat; local
116 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat);
126 msImageDesc.fFormat = pixelFormat;
145 resolveAttachmentView = GrVkImageView::Create(gpu, info.fImage, pixelFormat,
157 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat,
/external/skia/tools/viewer/sk_app/win/
H A DGLWindowContext_win.cpp83 int pixelFormat = GetPixelFormat(dc); local
85 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd);
93 pixelFormat,
/external/deqp/framework/opengl/
H A DgluFboRenderContext.cpp214 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 DtcuOSXPlatform.cpp124 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 DtcuWGLContextFactory.cpp101 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 DtcuWGL.hpp79 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 DtcuWin32GLES3Platform.cpp92 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 Des3fPrerequisiteTests.cpp177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); local
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des3fTextureSwizzleTests.cpp194 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); local
203 if (pixelFormat != tcu::PixelFormat(8,8,8,8))
210 referenceFrame.setPixel(x, y, pixelFormat.convertColor(p));
H A Des3fColorClearTest.cpp105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local
217 if (pixelFormat.alphaBits == 0)
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des3fTextureWrapTests.cpp335 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local
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/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowDisplay.java26 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/swiftshader/tests/OGLSimpleCube/
H A DOGLSimpleCube.cpp164 int pixelFormat; local
166 pixelFormat = ChoosePixelFormat(hDC, &pfd);
167 if(pixelFormat == 0) {
173 if(SetPixelFormat(hDC, pixelFormat, &pfd) != TRUE) {
/external/deqp/modules/gles2/functional/
H A Des2fPrerequisiteTests.cpp177 tcu::PixelFormat pixelFormat = renderTarget.getPixelFormat(); local
234 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des2fColorClearTest.cpp105 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); local
217 if (pixelFormat.alphaBits == 0)
236 RGBA colorThreshold = pixelFormat.getColorThreshold();
H A Des2fTextureFilteringTests.cpp300 const tcu::PixelFormat pixelFormat = m_renderCtx.getRenderTarget().getPixelFormat(); local
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(); local
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);
/external/libjpeg-turbo/java/
H A DTJBench.java87 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 DTJCompressor.java68 * @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 <
71 TJCompressor(byte[] srcImage, int x, int y, int width, int pitch, int height, int pixelFormat) argument
81 TJCompressor(byte[] srcImage, int width, int pitch, int height, int pixelFormat) argument
142 setSourceImage(byte[] srcImage, int x, int y, int width, int pitch, int height, int pixelFormat) argument
168 setSourceImage(byte[] srcImage, int width, int pitch, int height, int pixelFormat) argument
586 compress(byte[] srcBuf, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument
590 compress(byte[] srcBuf, int x, int y, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument
595 compress(int[] srcBuf, int width, int stride, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument
599 compress(int[] srcBuf, int x, int y, int width, int stride, int height, int pixelFormat, byte[] dstBuf, int jpegSubsamp, int jpegQual, int flags) argument
609 encodeYUV(byte[] srcBuf, int width, int pitch, int height, int pixelFormat, byte[] dstBuf, int subsamp, int flags) argument
613 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 DTJDecompressor.java343 * 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, in
371 decompress(byte[] dstBuf, int x, int y, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument
400 decompress(byte[] dstBuf, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument
431 decompress(int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument
679 decompress(int[] dstBuf, int x, int y, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument
863 decompress(byte[] srcBuf, int size, byte[] dstBuf, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument
867 decompress(byte[] srcBuf, int size, byte[] dstBuf, int x, int y, int desiredWidth, int pitch, int desiredHeight, int pixelFormat, int flags) argument
872 decompress(byte[] srcBuf, int size, int[] dstBuf, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument
876 decompress(byte[] srcBuf, int size, int[] dstBuf, int x, int y, int desiredWidth, int stride, int desiredHeight, int pixelFormat, int flags) argument
888 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
892 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...]
H A DTJ.java215 * @param pixelFormat the pixel format (one of <code>PF_*</code>)
219 public static int getPixelSize(int pixelFormat) { argument
220 checkPixelFormat(pixelFormat);
221 return pixelSize[pixelFormat];
236 * @param pixelFormat the pixel format (one of <code>PF_*</code>)
240 public static int getRedOffset(int pixelFormat) { argument
241 checkPixelFormat(pixelFormat);
242 return redOffset[pixelFormat];
257 * @param pixelFormat the pixel format (one of <code>PF_*</code>)
261 public static int getGreenOffset(int pixelFormat) { argument
282 getBlueOffset(int pixelFormat) argument
503 checkPixelFormat(int pixelFormat) argument
[all...]
/external/deqp/modules/egl/
H A DteglColorClearCase.cpp101 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/external/vulkancts/modules/vulkan/texture/
H A DvktTextureShadowTests.cpp136 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)); local
358 texComparePrecision.resultBits = pixelFormat.redBits-1;
361 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat);
372 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat);
564 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); local
574 texComparePrecision.resultBits = pixelFormat
129 verifyTexCompareResult(tcu::TestContext& testCtx, const tcu::ConstPixelBufferAccess& result, const TextureType& src, const float* texCoord, const ReferenceParams& sampleParams, const tcu::TexComparePrecision& comparePrec, const tcu::LodPrecision& lodPrec, const tcu::PixelFormat& pixelFormat) argument
776 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); local
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fTextureFilteringTests.cpp376 const tcu::PixelFormat pixelFormat = renderCtx.getRenderTarget().getPixelFormat(); local
378 const tcu::IVec4 colorBits = max(getBitsVec(pixelFormat) - (isNearestOnly ? 1 : 2), tcu::IVec4(0)); // 1 inaccurate bit if nearest only, 2 otherwise
387 lookupPrecision.colorMask = getCompareMask(pixelFormat);
390 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat);
401 &texCoord[0], refParams, lookupPrecision, coordBits, lodPrecision, pixelFormat);

Completed in 1224 milliseconds

123