/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_fbo.c | 259 ok = rmesa->vtbl.check_blit(rb->Format, rrb->pitch / rrb->cpp); 282 rb->Format, rrb->pitch / rrb->cpp, 286 rb->Format, rrb->map_pitch / rrb->cpp, 314 if (rb->Format == MESA_FORMAT_S8_Z24 || rb->Format == MESA_FORMAT_X8_Z24) { 319 if (rb->Format == MESA_FORMAT_Z16) { 423 if (rb->Format == MESA_FORMAT_S8_Z24 || rb->Format == MESA_FORMAT_X8_Z24) { 427 if (rb->Format == MESA_FORMAT_Z16) { 443 rb->Format, rrb->map_pitch / rrb->cpp [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_fbo.c | 259 ok = rmesa->vtbl.check_blit(rb->Format, rrb->pitch / rrb->cpp); 282 rb->Format, rrb->pitch / rrb->cpp, 286 rb->Format, rrb->map_pitch / rrb->cpp, 314 if (rb->Format == MESA_FORMAT_S8_Z24 || rb->Format == MESA_FORMAT_X8_Z24) { 319 if (rb->Format == MESA_FORMAT_Z16) { 423 if (rb->Format == MESA_FORMAT_S8_Z24 || rb->Format == MESA_FORMAT_X8_Z24) { 427 if (rb->Format == MESA_FORMAT_Z16) { 443 rb->Format, rrb->map_pitch / rrb->cpp [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
framebuffer.c | 517 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format); 518 const gl_format fmt = rb->Format; 545 const gl_format fmt = rb->Format; 557 const gl_format fmt = rb->Format; 565 const gl_format fmt = rb->Format; 573 const gl_format fmt = rb->Format; 747 * \param format a basic image format such as GL_RGB, GL_RGBA, GL_ALPHA, 756 GLenum format, 770 switch (format) { [all...] |
readpix.c | 71 if (_mesa_get_format_datatype(rb->Format) != GL_UNSIGNED_NORMALIZED) 74 if (!((type == GL_UNSIGNED_SHORT && rb->Format == MESA_FORMAT_Z16) || 92 _mesa_unpack_uint_z_row(rb->Format, width, map, (GLuint *)dst); 94 ASSERT(type == GL_UNSIGNED_SHORT && rb->Format == MESA_FORMAT_Z16); 107 * Read pixels for format=GL_DEPTH_COMPONENT. 151 _mesa_unpack_float_z_row(rb->Format, width, map, depthValues); 169 * Read pixels for format=GL_STENCIL_INDEX. 201 _mesa_unpack_ubyte_stencil_row(rb->Format, width, map, stencil); 228 GLenum format, GLenum type, 239 if (rb->Format == MESA_FORMAT_RGBA8888_REV & [all...] |
/external/mesa3d/src/mesa/main/ |
framebuffer.c | 517 const GLenum baseFormat = _mesa_get_format_base_format(rb->Format); 518 const gl_format fmt = rb->Format; 545 const gl_format fmt = rb->Format; 557 const gl_format fmt = rb->Format; 565 const gl_format fmt = rb->Format; 573 const gl_format fmt = rb->Format; 747 * \param format a basic image format such as GL_RGB, GL_RGBA, GL_ALPHA, 756 GLenum format, 770 switch (format) { [all...] |
readpix.c | 71 if (_mesa_get_format_datatype(rb->Format) != GL_UNSIGNED_NORMALIZED) 74 if (!((type == GL_UNSIGNED_SHORT && rb->Format == MESA_FORMAT_Z16) || 92 _mesa_unpack_uint_z_row(rb->Format, width, map, (GLuint *)dst); 94 ASSERT(type == GL_UNSIGNED_SHORT && rb->Format == MESA_FORMAT_Z16); 107 * Read pixels for format=GL_DEPTH_COMPONENT. 151 _mesa_unpack_float_z_row(rb->Format, width, map, depthValues); 169 * Read pixels for format=GL_STENCIL_INDEX. 201 _mesa_unpack_ubyte_stencil_row(rb->Format, width, map, stencil); 228 GLenum format, GLenum type, 239 if (rb->Format == MESA_FORMAT_RGBA8888_REV & [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/resources/platform/ |
AttrsXmlParser.java | 22 import com.android.ide.common.api.IAttributeInfo.Format; 64 /** Map from format name (lower case) to the uppercase version */ 65 private Map<String, Format> mFormatNames = new HashMap<String, Format>(10); 68 * Map of all (constant, value) pairs for attributes of format enum or flag. 138 // Pre-compute the set of format names such that we don't have to compute the uppercase 139 // version of the same format string names again and again 140 for (Format f : Format.values()) { 211 String xmlName = String.format("%1$s_%2$s", //$NON-NLS-1 510 Format format = mFormatNames.get(f); local [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 34 // only the format. 46 * @param format Out parameter for the SkImageDecoder::Format of the SkStream. Only used if 49 bool decodeStream(SkStream* stream, SkBitmap* bm, WICModes wicMode, Format* format) const; 57 SkImageDecoder::Format fFormat; 68 static SkImageDecoder::Format GuidContainerFormat_to_Format(REFGUID guid) { 91 Format* format) const { 135 SkASSERT(format != NULL) 438 SkImageDecoder::Format format; local [all...] |
/external/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 34 // only the format. 46 * @param format Out parameter for the SkImageDecoder::Format of the SkStream. Only used if 49 bool decodeStream(SkStream* stream, SkBitmap* bm, WICModes wicMode, Format* format) const; 57 SkImageDecoder::Format fFormat; 68 static SkImageDecoder::Format GuidContainerFormat_to_Format(REFGUID guid) { 91 Format* format) const { 135 SkASSERT(format != NULL) 438 SkImageDecoder::Format format; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/osmesa/ |
osmesa.c | 73 GLenum format; /*< User-specified context format */ member in struct:osmesa_context 204 if (osmesa->format != OSMESA_RGBA && 205 osmesa->format != OSMESA_BGRA && 206 osmesa->format != OSMESA_ARGB) return NULL; 302 if (osmesa->format != OSMESA_RGBA && 303 osmesa->format != OSMESA_BGRA && 304 osmesa->format != OSMESA_ARGB) return (swrast_tri_func) NULL; 367 bytesPerRow = rowlength * _mesa_get_format_bytes(osmesa->srb->Base.Format); 410 /* Given the user-provided format and type, figure out which MESA_FORMAT_ [all...] |
/external/mesa3d/src/mesa/drivers/osmesa/ |
osmesa.c | 73 GLenum format; /*< User-specified context format */ member in struct:osmesa_context 204 if (osmesa->format != OSMESA_RGBA && 205 osmesa->format != OSMESA_BGRA && 206 osmesa->format != OSMESA_ARGB) return NULL; 302 if (osmesa->format != OSMESA_RGBA && 303 osmesa->format != OSMESA_BGRA && 304 osmesa->format != OSMESA_ARGB) return (swrast_tri_func) NULL; 367 bytesPerRow = rowlength * _mesa_get_format_bytes(osmesa->srb->Base.Format); 410 /* Given the user-provided format and type, figure out which MESA_FORMAT_ [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
TextureStorage11.cpp | 50 DWORD TextureStorage11::GetTextureBindFlags(DXGI_FORMAT format, GLenum glusage, bool forceRenderable) 54 if (d3d11::IsDepthStencilFormat(format)) 58 else if(forceRenderable || (TextureStorage11::IsTextureFormatRenderable(format) && (glusage == GL_FRAMEBUFFER_ATTACHMENT_ANGLE))) 65 bool TextureStorage11::IsTextureFormatRenderable(DXGI_FORMAT format) 67 switch(format) 207 mTextureFormat = texDesc.Format; 213 mShaderResourceFormat = srvDesc.Format; 218 mRenderTargetFormat = rtvDesc.Format; 262 desc.Format = mTextureFormat; 331 srvDesc.Format = mShaderResourceFormat [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_renderbuffer.c | 72 rb->Format = MESA_FORMAT_RGB888; 84 rb->Format = MESA_FORMAT_RGBA8888_REV; 86 rb->Format = MESA_FORMAT_RGBA8888; 91 rb->Format = MESA_FORMAT_SIGNED_RGBA_16; 98 rb->Format = MESA_FORMAT_S8; 102 rb->Format = MESA_FORMAT_Z16; 105 rb->Format = MESA_FORMAT_X8_Z24; 108 rb->Format = MESA_FORMAT_Z32; 112 rb->Format = MESA_FORMAT_Z24_S8; 115 /* unsupported format */ [all...] |
s_stencil.c | 58 * For example, if the format is Z24+S8, the position of the stencil bits 62 get_stencil_offset(gl_format format) 66 GLint bpp = _mesa_get_format_bytes(format); 69 assert(_mesa_get_format_bits(format, GL_STENCIL_BITS) == 8); 71 _mesa_pack_ubyte_stencil_row(format, 1, &one, pixel); 301 if (rb->Format == MESA_FORMAT_S8) { 310 const GLint bpp = _mesa_get_format_bytes(rb->Format); 315 _mesa_unpack_ubyte_stencil_row(rb->Format, 1, src, &stencil[i]); 332 _mesa_get_pack_ubyte_stencil_func(rb->Format); 354 const GLint stencilOffset = get_stencil_offset(rb->Format); [all...] |
s_clear.c | 50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); 79 _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, &pixel); \ 81 _mesa_pack_colormask(rb->Format, colorMask, &pixelMask); \ 107 _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, pixel); \ 109 _mesa_pack_colormask(rb->Format, colorMask, pixelMask); \
|
/external/mesa3d/src/mesa/swrast/ |
s_renderbuffer.c | 72 rb->Format = MESA_FORMAT_RGB888; 84 rb->Format = MESA_FORMAT_RGBA8888_REV; 86 rb->Format = MESA_FORMAT_RGBA8888; 91 rb->Format = MESA_FORMAT_SIGNED_RGBA_16; 98 rb->Format = MESA_FORMAT_S8; 102 rb->Format = MESA_FORMAT_Z16; 105 rb->Format = MESA_FORMAT_X8_Z24; 108 rb->Format = MESA_FORMAT_Z32; 112 rb->Format = MESA_FORMAT_Z24_S8; 115 /* unsupported format */ [all...] |
s_stencil.c | 58 * For example, if the format is Z24+S8, the position of the stencil bits 62 get_stencil_offset(gl_format format) 66 GLint bpp = _mesa_get_format_bytes(format); 69 assert(_mesa_get_format_bits(format, GL_STENCIL_BITS) == 8); 71 _mesa_pack_ubyte_stencil_row(format, 1, &one, pixel); 301 if (rb->Format == MESA_FORMAT_S8) { 310 const GLint bpp = _mesa_get_format_bytes(rb->Format); 315 _mesa_unpack_ubyte_stencil_row(rb->Format, 1, src, &stencil[i]); 332 _mesa_get_pack_ubyte_stencil_func(rb->Format); 354 const GLint stencilOffset = get_stencil_offset(rb->Format); [all...] |
s_clear.c | 50 const GLuint pixelSize = _mesa_get_format_bytes(rb->Format); 79 _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, &pixel); \ 81 _mesa_pack_colormask(rb->Format, colorMask, &pixelMask); \ 107 _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, pixel); \ 109 _mesa_pack_colormask(rb->Format, colorMask, pixelMask); \
|
/external/chromium_org/media/audio/win/ |
audio_low_latency_output_win.cc | 39 WAVEFORMATPCMEX format; local 41 eRender, eConsole, &format)) ? 42 static_cast<int>(format.dwChannelMask) : 0; 53 return (a.format() == b.format() && 102 WAVEFORMATPCMEX format; local 104 eRender, eConsole, &format)) ? 105 static_cast<int>(format.Format.nChannels) : 0; 115 WAVEFORMATPCMEX format; local 162 WAVEFORMATEX* format = &format_.Format; local [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/post/ |
HDRRenderer.java | 42 import com.jme3.texture.Image.Format;
91 private Image.Format bufFormat = Format.RGB16F;
105 bufFormat = Format.RGB111110F;
107 bufFormat = Format.RGB16F;
262 mainSceneFB.setDepthBuffer(Format.Depth);
276 msFB.setDepthBuffer(Format.Depth);
300 Format lumFmt = Format.RGB8;
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/ |
TextureBlenderAWT.java | 13 import com.jme3.texture.Image.Format;
44 Format format = texture.getImage().getFormat();
local 59 this.setupMaterialColor(data, format, neg, pixelColor);
67 return new Texture2D(new Image(Format.RGBA8, width, height, newData));
71 return new Texture3D(new Image(Format.RGBA8, width, height, depth, dataArray));
87 * the format of the image
94 protected float setupMaterialColor(ByteBuffer data, Format imageFormat, boolean neg, float[] materialColor) {
150 throw new IllegalStateException("Invalid image format type for AWT texture blender: " + imageFormat);
|
/external/jmonkeyengine/engine/src/core/com/jme3/effect/ |
ParticlePointMesh.java | 38 import com.jme3.scene.VertexBuffer.Format; 66 pvb.setupData(Usage.Stream, 3, Format.Float, pb); 79 cvb.setupData(Usage.Stream, 4, Format.UnsignedByte, cb); 92 svb.setupData(Usage.Stream, 1, Format.Float, sb); 104 tvb.setupData(Usage.Stream, 4, Format.Float, tb);
|
/external/jmonkeyengine/engine/src/core/com/jme3/texture/ |
FrameBuffer.java | 37 import com.jme3.texture.Image.Format; 68 * {@link Format#RGBA8}, allowing rendering the color content of the scene. 69 * The depth attachment point requires a depth image format. 92 Image.Format format; field in class:FrameBuffer.RenderBuffer 97 * @return The image format of the render buffer. 99 public Format getFormat() { 100 return format; 149 return "TextureTarget[format=" + format + "]" [all...] |
/external/jmonkeyengine/engine/src/core-effects/com/jme3/post/ssao/ |
SSAOFilter.java | 48 import com.jme3.texture.Image.Format; 129 normalPass.init(renderManager.getRenderer(), (int) (screenWidth / downSampleFactor), (int) (screenHeight / downSampleFactor), Format.RGBA8, Format.Depth); 159 ssaoPass.init(renderManager.getRenderer(), (int) (screenWidth / downSampleFactor), (int) (screenHeight / downSampleFactor), Format.RGBA8, Format.Depth, 1, ssaoMat);
|
/external/jmonkeyengine/engine/src/test/jme3test/post/ |
TestMultiRenderTarget.java | 46 import com.jme3.texture.Image.Format; 124 diffuseData = new Texture2D(w, h, Format.RGBA8); 125 normalData = new Texture2D(w, h, Format.RGBA8); 126 specularData = new Texture2D(w, h, Format.RGBA8); 127 depthData = new Texture2D(w, h, Format.Depth);
|