Home
last modified time | relevance | path

Searched refs:pixelFormat (Results 1 – 25 of 91) sorted by relevance

1234

/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DTJ.java219 public static int getPixelSize(int pixelFormat) { in getPixelSize() argument
220 checkPixelFormat(pixelFormat); in getPixelSize()
221 return pixelSize[pixelFormat]; in getPixelSize()
240 public static int getRedOffset(int pixelFormat) { in getRedOffset() argument
241 checkPixelFormat(pixelFormat); in getRedOffset()
242 return redOffset[pixelFormat]; in getRedOffset()
261 public static int getGreenOffset(int pixelFormat) { in getGreenOffset() argument
262 checkPixelFormat(pixelFormat); in getGreenOffset()
263 return greenOffset[pixelFormat]; in getGreenOffset()
282 public static int getBlueOffset(int pixelFormat) { in getBlueOffset() argument
[all …]
DTJDecompressor.java372 int pitch, int desiredHeight, int pixelFormat, in decompress() argument
378 pixelFormat < 0 || pixelFormat >= TJ.NUMPF || flags < 0) in decompress()
383 yuvImage.getWidth(), pitch, yuvImage.getHeight(), pixelFormat, in decompress() local
388 desiredHeight, pixelFormat, flags); in decompress()
391 desiredHeight, pixelFormat, flags); in decompress()
401 int desiredHeight, int pixelFormat, int flags) in decompress() argument
403 decompress(dstBuf, 0, 0, desiredWidth, pitch, desiredHeight, pixelFormat, in decompress()
432 int pixelFormat, int flags) throws TJException { in decompress() argument
435 pixelFormat < 0 || pixelFormat >= TJ.NUMPF || flags < 0) in decompress()
437 int pixelSize = TJ.getPixelSize(pixelFormat); in decompress()
[all …]
DTJCompressor.java72 int height, int pixelFormat) throws TJException { in TJCompressor() argument
73 setSourceImage(srcImage, x, y, width, pitch, height, pixelFormat); in TJCompressor()
82 int pixelFormat) throws TJException { in TJCompressor() argument
83 setSourceImage(srcImage, width, pitch, height, pixelFormat); in TJCompressor()
143 int pitch, int height, int pixelFormat) in setSourceImage() argument
147 pitch < 0 || pixelFormat < 0 || pixelFormat >= TJ.NUMPF) in setSourceImage()
152 srcPitch = width * TJ.getPixelSize(pixelFormat); in setSourceImage()
156 srcPixelFormat = pixelFormat; in setSourceImage()
169 int height, int pixelFormat) throws TJException { in setSourceImage() argument
170 setSourceImage(srcImage, 0, 0, width, pitch, height, pixelFormat); in setSourceImage()
[all …]
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DGlTextureFrameBuffer.java41 private final int pixelFormat; field in GlTextureFrameBuffer
49 public GlTextureFrameBuffer(int pixelFormat) { in GlTextureFrameBuffer() argument
50 switch (pixelFormat) { in GlTextureFrameBuffer()
54 this.pixelFormat = pixelFormat; in GlTextureFrameBuffer()
57 throw new IllegalArgumentException("Invalid pixel format: " + pixelFormat); in GlTextureFrameBuffer()
102 GLES20.glTexImage2D(GLES20.GL_TEXTURE_2D, 0, pixelFormat, width, height, 0, pixelFormat, in setSize()
/external/libvncserver/common/
Dturbojpeg.c141 int pixelFormat, int subsamp, int jpegQual) in setCompDefaults() argument
145 switch(pixelFormat) in setCompDefaults()
177 cinfo->in_color_space=JCS_RGB; pixelFormat=TJPF_RGB; in setCompDefaults()
182 cinfo->input_components=tjPixelSize[pixelFormat]; in setCompDefaults()
206 int pixelFormat) in setDecompDefaults() argument
210 switch(pixelFormat) in setDecompDefaults()
309 int height, int pixelFormat, unsigned char *dst) in toRGB() argument
312 switch(pixelFormat) in toRGB()
370 int pitch, int height, int pixelFormat) in fromRGB() argument
372 switch(pixelFormat) in fromRGB()
[all …]
/external/libjpeg-turbo/
Dturbojpeg.c175 int pixelFormat, int subsamp, int jpegQual, int flags) in setCompDefaults() argument
180 switch(pixelFormat) in setCompDefaults()
212 cinfo->in_color_space=JCS_RGB; pixelFormat=TJPF_RGB; in setCompDefaults()
219 cinfo->input_components=tjPixelSize[pixelFormat]; in setCompDefaults()
251 else if(pixelFormat==TJPF_CMYK) in setCompDefaults()
276 int pixelFormat, int flags) in setDecompDefaults() argument
280 switch(pixelFormat) in setDecompDefaults()
422 int height, int pixelFormat, unsigned char *dst) in toRGB() argument
425 switch(pixelFormat) in toRGB()
483 int pitch, int height, int pixelFormat) in fromRGB() argument
[all …]
Dturbojpeg.h675 int width, int pitch, int height, int pixelFormat, unsigned char **jpegBuf,
970 int pixelFormat, unsigned char *dstBuf, int pad, int subsamp, int flags);
1028 int pixelFormat, unsigned char **dstPlanes, int *strides, int subsamp,
1135 int width, int pitch, int height, int pixelFormat, int flags);
1293 int height, int pixelFormat, int flags);
1350 unsigned char *dstBuf, int width, int pitch, int height, int pixelFormat,
1518 unsigned char *srcBuf, int width, int pitch, int height, int pixelFormat,
/external/deqp/external/openglcts/modules/common/
DglcConfigListWGL.cpp52 const int pixelFormat = *fmtIter; in getDefaultWglConfigList() local
53 …:wgl::PixelFormatInfo fmtInfo = wgl.getPixelFormatInfo(tmpWindow.getDeviceContext(), pixelFormat); in getDefaultWglConfigList()
65 …CONFIGTYPE_WGL, pixelFormat, SURFACETYPE_WINDOW, fmtInfo.redBits, fmtInfo.greenBits, fmtInfo.blueB… in getDefaultWglConfigList()
71 configList.configs.push_back(Config(CONFIGTYPE_WGL, pixelFormat, SURFACETYPE_WINDOW)); in getDefaultWglConfigList()
76 ExcludedConfig(CONFIGTYPE_WGL, pixelFormat, EXCLUDEREASON_NOT_COMPATIBLE)); in getDefaultWglConfigList()
DglcInfoTests.cpp98 const tcu::PixelFormat& pixelFormat = renderTarget.getPixelFormat(); in iterate() local
102 << TestLog::Integer("RedBits", "Red bits", "", QP_KEY_TAG_NONE, pixelFormat.redBits) in iterate()
103 << TestLog::Integer("GreenBits", "Green bits", "", QP_KEY_TAG_NONE, pixelFormat.greenBits) in iterate()
104 << TestLog::Integer("BlueBits", "Blue bits", "", QP_KEY_TAG_NONE, pixelFormat.blueBits) in iterate()
105 << TestLog::Integer("AlphaBits", "Alpha bits", "", QP_KEY_TAG_NONE, pixelFormat.alphaBits) in iterate()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDisplay.java26 private int pixelFormat = PixelFormat.RGBA_4444; field in ShadowDisplay
66 return pixelFormat; in getPixelFormat()
129 public void setPixelFormat(int pixelFormat) { in setPixelFormat() argument
130 this.pixelFormat = pixelFormat; in setPixelFormat()
/external/skia/src/gpu/vk/
DGrVkTextureRenderTarget.cpp101 VkFormat pixelFormat; in Make() local
102 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); in Make()
112 msImageDesc.fFormat = pixelFormat; in Make()
132 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat, in Make()
145 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat, in Make()
233 VkFormat pixelFormat; in updateForMipmap() local
234 GrPixelConfigToVkFormat(this->config(), &pixelFormat); in updateForMipmap()
239 pixelFormat, in updateForMipmap()
250 pixelFormat, in updateForMipmap()
/external/skqp/src/gpu/vk/
DGrVkTextureRenderTarget.cpp101 VkFormat pixelFormat; in Make() local
102 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); in Make()
112 msImageDesc.fFormat = pixelFormat; in Make()
132 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat, in Make()
145 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat, in Make()
233 VkFormat pixelFormat; in updateForMipmap() local
234 GrPixelConfigToVkFormat(this->config(), &pixelFormat); in updateForMipmap()
239 pixelFormat, in updateForMipmap()
250 pixelFormat, in updateForMipmap()
DGrVkRenderTarget.cpp116 VkFormat pixelFormat; in Create() local
117 GrPixelConfigToVkFormat(desc.fConfig, &pixelFormat); in Create()
127 msImageDesc.fFormat = pixelFormat; in Create()
146 resolveAttachmentView = GrVkImageView::Create(gpu, info.fImage, pixelFormat, in Create()
158 const GrVkImageView* colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat, in Create()
/external/deqp/framework/platform/win32/
DtcuWGLContextFactory.cpp105 int pixelFormat = 0; in WGLContext() local
108 pixelFormat = config.id; in WGLContext()
110 pixelFormat = wgl::choosePixelFormat(wglCore, deviceCtx, config); in WGLContext()
112 if (pixelFormat < 0) in WGLContext()
115 …m_context = new wgl::Context(&wglCore, deviceCtx, config.type, pixelFormat, config.resetNotificati… in WGLContext()
120 const wgl::PixelFormatInfo info = wglCore.getPixelFormatInfo(deviceCtx, pixelFormat); in WGLContext()
DtcuWGL.cpp229 int pixelFormat = ChoosePixelFormat(tmpWindow.getDeviceContext(), &pixelFormatDesc); in Library() local
230 if (!SetPixelFormat(tmpWindow.getDeviceContext(), pixelFormat, &pixelFormatDesc)) in Library()
329 static void getPixelFormatAttribs (const Functions& wgl, HDC deviceCtx, int pixelFormat, int numAtt… in getPixelFormatAttribs() argument
333 if (!wgl.getPixelFormatAttribivARB(deviceCtx, pixelFormat, 0, numAttribs, &attribs[0], &values[0])) in getPixelFormatAttribs()
340 PixelFormatInfo Core::getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const in getPixelFormatInfo()
369 …getPixelFormatAttribs(wgl, deviceCtx, pixelFormat, DE_LENGTH_OF_ARRAY(s_attribsToQuery), &s_attrib… in getPixelFormatInfo()
374 info.pixelFormat = pixelFormat; in getPixelFormatInfo()
405 int pixelFormat, in Context() argument
501 if (!DescribePixelFormat(deviceCtx, pixelFormat, sizeof(pixelFormatDesc), &pixelFormatDesc)) in Context()
504 if (!SetPixelFormat(deviceCtx, pixelFormat, &pixelFormatDesc)) in Context()
[all …]
DtcuWGL.hpp80 int pixelFormat; member in tcu::wgl::PixelFormatInfo
134 : pixelFormat (0) in PixelFormatInfo()
173 PixelFormatInfo getPixelFormatInfo (HDC deviceCtx, int pixelFormat) const;
201 int pixelFormat,
/external/deqp/framework/platform/osx/
DtcuOSXPlatform.cpp124 CGLPixelFormatObj pixelFormat; in CGLRenderContext() local
127 if (CGLChoosePixelFormat(&attribs[0], &pixelFormat, &numVScreens) != kCGLNoError) in CGLRenderContext()
132 if (CGLCreateContext(pixelFormat, DE_NULL, &m_context) != kCGLNoError) in CGLRenderContext()
140 CGLReleasePixelFormat(pixelFormat); in CGLRenderContext()
144 CGLReleasePixelFormat(pixelFormat); in CGLRenderContext()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java57 private Integer pixelFormat; field in ShadowDisplay
139 return pixelFormat == null in getPixelFormat()
141 : pixelFormat; in getPixelFormat()
374 public void setPixelFormat(int pixelFormat) { in setPixelFormat() argument
375 this.pixelFormat = pixelFormat; in setPixelFormat()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureShadowTests.cpp136 const tcu::PixelFormat& pixelFormat) in verifyTexCompareResult() argument
141 …const tcu::Vec3 nonShadowThreshold = tcu::computeFixedPointThreshold(getBitsVec(pixelFormat)-1).sw… in verifyTexCompareResult()
157 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), clampedSource, texCoord, sampleParams); in verifyTexCompareResult()
164 sampleTexture(tcu::SurfaceAccess(reference, pixelFormat), src, texCoord, sampleParams); in verifyTexCompareResult()
348 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate() local
358 texComparePrecision.resultBits = pixelFormat.redBits-1; in iterate()
361 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat); in iterate()
372 &texCoord[0], sampleParams, texComparePrecision, lodPrecision, pixelFormat); in iterate()
564 … const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate() local
574 texComparePrecision.resultBits = pixelFormat.redBits-1; in iterate()
[all …]
/external/swiftshader/tests/OGLSimpleCube/
DOGLSimpleCube.cpp164 int pixelFormat; in setupPixelFormat() local
166 pixelFormat = ChoosePixelFormat(hDC, &pfd); in setupPixelFormat()
167 if(pixelFormat == 0) { in setupPixelFormat()
173 if(SetPixelFormat(hDC, pixelFormat, &pfd) != TRUE) { in setupPixelFormat()
/external/skia/tools/sk_app/win/
DGLWindowContext_win.cpp84 int pixelFormat = GetPixelFormat(dc); in onInitializeContext() local
86 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd); in onInitializeContext()
94 pixelFormat, in onInitializeContext()
/external/skqp/tools/sk_app/win/
DGLWindowContext_win.cpp84 int pixelFormat = GetPixelFormat(dc); in onInitializeContext() local
86 DescribePixelFormat(dc, pixelFormat, sizeof(pfd), &pfd); in onInitializeContext()
94 pixelFormat, in onInitializeContext()
/external/deqp/framework/opengl/
DgluTextureTestUtil.hpp261 const tcu::PixelFormat& pixelFormat);
270 const tcu::PixelFormat& pixelFormat);
279 const tcu::PixelFormat& pixelFormat);
288 const tcu::PixelFormat& pixelFormat);
297 const tcu::PixelFormat& pixelFormat);
306 const tcu::PixelFormat& pixelFormat);
316 const tcu::PixelFormat& pixelFormat);
/external/v4l2_codec2/
DC2VDAAdaptor.cpp87 media::VideoPixelFormat pixelFormat; in importBufferForPicture() local
90 pixelFormat = media::PIXEL_FORMAT_YV12; in importBufferForPicture()
93 pixelFormat = media::PIXEL_FORMAT_NV12; in importBufferForPicture()
105 mVDA->ImportBufferForPicture(pictureBufferId, pixelFormat, handle); in importBufferForPicture()
/external/deqp/framework/platform/ios/
DtcuIOSPlatform.mm216 tcu::PixelFormat pixelFormat;
244 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_RED_SIZE, &pixelFormat.redBits);
245 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_GREEN_SIZE, &pixelFormat.greenBits);
246 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_BLUE_SIZE, &pixelFormat.blueBits);
247 gl.getRenderbufferParameteriv(GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, &pixelFormat.alphaBits);
281 m_renderTarget = tcu::RenderTarget(width, height, pixelFormat, depthBits, stencilBits, 0);

1234