Home
last modified time | relevance | path

Searched refs:colorFormat (Results 1 – 25 of 67) sorted by relevance

123

/external/deqp/modules/gles3/functional/
Des3fFboRenderTest.cpp72 , colorFormat (colorFormat_) in FboConfig()
84 , colorFormat (GL_NONE) in FboConfig()
98 GLenum colorFormat; //!< Internal format for color buffer texture or renderbuffer member in deqp::gles3::Functional::FboConfig
124 name << getTypeName(colorType) << "_" << getFormatName(colorFormat); in getName()
257 checkColorFormatSupport(context, config.colorFormat); in Framebuffer()
268 m_colorBuffer = createTex2D(colorBufferName, m_config.colorFormat, width, height); in Framebuffer()
273 m_colorBuffer = createRbo(colorBufferName, m_config.colorFormat, width, height); in Framebuffer()
505 …const tcu::RGBA threshold (tcu::max(getFormatThreshold(m_config.colorFormat), tcu::RGBA(12, 12, 12… in compare()
529 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat); in render() local
530 glu::DataType fboSamplerType = glu::getSampler2DType(colorFormat); in render()
[all …]
Des3fFboDepthbufferTests.cpp68 const deUint32 colorFormat = GL_RGBA8; in render() local
89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
132 …readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0… in render()
160 const deUint32 colorFormat = GL_RGBA8; in render() local
179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
218 …readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0… in render()
246 const deUint32 colorFormat = GL_RGBA8; in render() local
265 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height); in render()
298 …readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0… in render()
Des3fFboStencilbufferTests.cpp68 const deUint32 colorFormat = GL_RGBA8; in render() local
82 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_size.x(), m_size.y()); in render()
132 …readPixels(dst, 0, 0, m_size.x(), m_size.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), V… in render()
157 const deUint32 colorFormat = GL_RGBA8; in render() local
176 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in render()
229 …readPixels(dst, 0, 0, width, height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f)… in render()
Des3fFramebufferBlitTests.cpp73 const deUint32 colorFormat = GL_RGBA8; in render() local
98 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, size.x(), size.y()); in render()
143 …readPixels(dst, 0, 0, m_dstSize.x(), m_dstSize.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.… in render()
480 const deUint32 colorFormat = GL_RGBA8; in render() local
515 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, size.x(), size.y()); in render()
595 …readPixels(dst, 0, 0, m_dstSize.x(), m_dstSize.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.… in render()
630 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_format); in render() local
631 glu::TransferFormat transferFmt = glu::getTransferFormat(colorFormat); in render()
633 …Texture2DShader texShader (DataTypes() << glu::getSampler2DType(colorFormat), glu::TYPE_FLOAT_V… in render()
759 const tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_format); in render() local
[all …]
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DMediaCodecVideoDecoder.java102 private int colorFormat; field in MediaCodecVideoDecoder
134 public DecoderProperties(String codecName, int colorFormat) { in DecoderProperties() argument
136 this.colorFormat = colorFormat; in DecoderProperties()
139 public final int colorFormat; // Color format supported by codec. field in MediaCodecVideoDecoder.DecoderProperties
180 for (int colorFormat : capabilities.colorFormats) { in findDecoder()
181 Logging.v(TAG, " Color: 0x" + Integer.toHexString(colorFormat)); in findDecoder()
256 ". Color: 0x" + Integer.toHexString(properties.colorFormat) + in initDecode()
273 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in initDecode()
284 colorFormat = properties.colorFormat; in initDecode()
551 colorFormat = format.getInteger(MediaFormat.KEY_COLOR_FORMAT); in dequeueOutputBuffer()
[all …]
DMediaCodecVideoEncoder.java124 private int colorFormat; // Used by native code. field in MediaCodecVideoEncoder
143 public EncoderProperties(String codecName, int colorFormat) { in EncoderProperties() argument
145 this.colorFormat = colorFormat; in EncoderProperties()
148 public final int colorFormat; // Color format supported by codec. field in MediaCodecVideoEncoder.EncoderProperties
198 for (int colorFormat : capabilities.colorFormats) { in findHwEncoder()
199 Logging.v(TAG, " Color: 0x" + Integer.toHexString(colorFormat)); in findHwEncoder()
307 colorFormat = properties.colorFormat; in initEncode()
308 Logging.d(TAG, "Color format: " + colorFormat); in initEncode()
315 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in initEncode()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleImageTests.cpp68 VkFormat colorFormat; member
320 const VkFormat colorFormat, in makeMultisampleRenderPass() argument
327 colorFormat, // VkFormat format; in makeMultisampleRenderPass()
387 const VkFormat colorFormat) in makeSimpleRenderPass() argument
392 colorFormat, // VkFormat format; in makeSimpleRenderPass()
718 const int numComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in addSimpleVertexAndFragmentPrograms()
719 const bool isUint = isUintFormat(caseDef.colorFormat); in addSimpleVertexAndFragmentPrograms()
720 const bool isSint = isIntFormat(caseDef.colorFormat); in addSimpleVertexAndFragmentPrograms()
746 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint); in addSimpleVertexAndFragmentPrograms() local
752 << "layout(location = 0) out " << colorFormat << " o_color;\n" in addSimpleVertexAndFragmentPrograms()
[all …]
DvktPipelineRenderToImageTests.cpp110 VkFormat colorFormat; member
440 const VkFormat colorFormat, in makeRenderPass() argument
449 colorFormat, // VkFormat format; in makeRenderPass()
766 …device, getImageCreateFlags(caseDef.viewType), getImageType(caseDef.viewType), caseDef.colorFormat, in getMemoryTypeNdx()
836 const int numComponents = getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order); in initPrograms()
837 const bool isUint = isUintFormat(caseDef.colorFormat); in initPrograms()
838 const bool isSint = isIntFormat(caseDef.colorFormat); in initPrograms()
866 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint); in initPrograms() local
867 …const std::string colorInteger = (isUint || isSint ? " * "+colorFormat+"("+colorValue.str()+")" :"… in initPrograms()
873 << "layout(location = 0) out " << colorFormat << " o_color;\n" in initPrograms()
[all …]
/external/deqp/framework/opengl/
DgluFboRenderContext.cpp64 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) in getPixelFormat() argument
66 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat)); in getPixelFormat()
215 const deUint32 colorFormat = chooseColorFormat(config); in createFramebuffer() local
226 if (colorFormat == 0) in createFramebuffer()
239 pixelFormat = getPixelFormat(colorFormat); in createFramebuffer()
245 … gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height); in createFramebuffer()
247 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height); in createFramebuffer()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryInstancedRenderingTests.cpp87 const VkFormat colorFormat) in makeRenderPass() argument
92 colorFormat, // VkFormat format; in makeRenderPass()
342 const VkFormat colorFormat, in draw() argument
358 …const Unique<VkImage> colorImage (makeImage (vk, device, makeImageCreateInfo(colorFormat, co… in draw()
360 …ment (makeImageView (vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresour… in draw()
370 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); in draw()
635 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
638 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
651 …draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInsta… in test()
656 …const tcu::ConstPixelBufferAccess result(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(),… in test()
[all …]
DvktGeometryBasicClass.cpp74 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
79 …makeImageCreateInfo(resolution, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_BUFFER_USAGE… in iterate()
82 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); in iterate()
86 …akeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange)… in iterate()
108 …colorBufferSizeBytes = resolution.x()*resolution.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate()
196 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resol… in iterate()
DvktGeometryLayeredRenderingTests.cpp158 const VkFormat colorFormat) in makeRenderPass() argument
163 colorFormat, // VkFormat format; in makeRenderPass()
610 bool verifyResults (tcu::TestLog& log, const TestParams& params, const VkFormat colorFormat, const … in verifyResults() argument
612 …mage = LayeredImageAccess::create(getImageType(params.image.viewType), colorFormat, params.image.s… in verifyResults()
910 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
913 …t * params.image.size.depth * params.image.numLayers * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
918 …ImageCreateInfo(imageCreateFlags, getImageType(params.image.viewType), colorFormat, params.image.s… in test()
921 …colorAttachment (makeImageView (vk, device, *colorImage, viewType, colorFormat, makeImageSubre… in test()
930 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); in test()
1026 …if (!verifyResults(context.getTestContext().getLog(), params, colorFormat, colorBufferAlloc->getHo… in test()
/external/swiftshader/src/OpenGL/libGL/
Dutilities.h80 GLuint GetAlphaSize(sw::Format colorFormat);
81 GLuint GetRedSize(sw::Format colorFormat);
82 GLuint GetGreenSize(sw::Format colorFormat);
83 GLuint GetBlueSize(sw::Format colorFormat);
Dutilities.cpp731 unsigned int GetAlphaSize(sw::Format colorFormat) in GetAlphaSize() argument
733 switch(colorFormat) in GetAlphaSize()
753 unsigned int GetRedSize(sw::Format colorFormat) in GetRedSize() argument
755 switch(colorFormat) in GetRedSize()
774 unsigned int GetGreenSize(sw::Format colorFormat) in GetGreenSize() argument
776 switch(colorFormat) in GetGreenSize()
796 unsigned int GetBlueSize(sw::Format colorFormat) in GetBlueSize() argument
798 switch(colorFormat) in GetBlueSize()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsScissorMultiViewportTests.cpp97 const VkFormat colorFormat) in makeRenderPass() argument
102 colorFormat, // VkFormat format; in makeRenderPass()
554 const VkFormat colorFormat, in ScissorRenderer() argument
558 , m_colorFormat (colorFormat) in ScissorRenderer()
725 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
730 … colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
744 …const ScissorRenderer renderer (context, renderSize, numViewports, scissors, colorFormat, clearCol… in test()
752 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in test()
753 …const tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), rende… in test()
DvktFragmentOperationsScissorTests.cpp116 const VkFormat colorFormat) in makeRenderPass() argument
121 colorFormat, // VkFormat format; in makeRenderPass()
533 …ontext, const CaseDef caseDef, const IVec2& renderSize, const VkFormat colorFormat, const Vec4& pr… in ScissorRenderer() argument
535 , m_colorFormat (colorFormat) in ScissorRenderer()
705 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
710 …colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
722 …const ScissorRenderer renderer (context, caseDef, renderSize, colorFormat, primitiveColor, clearCo… in test()
733 …const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSi… in test()
734 …tcu::PixelBufferAccess referenceImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y()… in test()
DvktFragmentOperationsEarlyFragmentTests.cpp111 const VkFormat colorFormat, in makeRenderPass() argument
120 colorFormat, // VkFormat format; in makeRenderPass()
592 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
594 … colorImage (makeImage(vk, device, makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE… in iterate()
596 …geView (makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresour… in iterate()
660 …const VkDeviceSize colorBufferSizeBytes = tcu::getPixelSize(mapVkFormat(colorFormat)) * renderS… in iterate()
685 …const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat, m_useTestAttachm… in iterate()
768 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), rende… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderUtil.cpp189 const VkFormat colorFormat, in makeRenderPass() argument
196 colorFormat, // VkFormat format; in makeRenderPass()
279 const VkFormat colorFormat, in makeRenderPassWithAttachments() argument
287 colorFormat, // VkFormat format; in makeRenderPassWithAttachments()
300 colorFormat, // VkFormat format; in makeRenderPassWithAttachments()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp351 const VkFormat colorFormat, in getPixelBufferAccess() argument
357 …return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, al… in getPixelBufferAccess()
472 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
475 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in iterate()
481 …olorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate()
488 …akeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubr… in iterate()
489 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); in iterate()
599 …tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat in iterate()
600 …tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat in iterate()
DvktTessellationGeometryPointSizeTests.cpp316 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
319 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in test()
324 …colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
329 …geView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubr… in test()
330 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); in test()
415 …tcu::ConstPixelBufferAccess image(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, all… in test()
DvktTessellationCommonEdgeTests.cpp351 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
354 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in test()
359 …colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
364 …eView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubr… in test()
365 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); in test()
453 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), rende… in test()
DvktTessellationGeometryGridRenderTests.cpp541 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in iterate() local
543 …const VkImageCreateInfo colorImageCreateInfo = makeImageCreateInfo(renderSize, colorFormat, … in iterate()
549 …= renderSize.x()*renderSize.y() * m_params.numLayers * tcu::getPixelSize(mapVkFormat(colorFormat)); in iterate()
554 …View (vk, device, *colorAttachmentImage, colorAttachmentViewType, colorFormat, colorImageAllL… in iterate()
555 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); in iterate()
630 …const tcu::ConstPixelBufferAccess imageAllLayers(mapVkFormat(colorFormat), renderSize.x(), renderS… in iterate()
DvktTessellationMiscDrawTests.cpp162 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in runTest() local
165 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in runTest()
170 …colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in runTest()
198 …akeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubr… in runTest()
199 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); in runTest()
304 …const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), rend… in runTest()
DvktTessellationPrimitiveDiscardTests.cpp434 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; in test() local
437 …makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_… in test()
442 …colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat)); in test()
465 …akeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubr… in test()
466 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat)); in test()
562 …const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), rende… in test()
/external/deqp/external/vulkancts/modules/vulkan/
DvktDrawUtil.cpp309 , colorFormat (VK_FORMAT_R8G8B8A8_UNORM) in DrawState()
331 …m_refImage.setStorage(vk::mapVkFormat(m_drawState.colorFormat), m_drawState.renderSize.x(), m_draw… in draw()
395 m_drawState.colorFormat, // VkFormat format; in VulkanDrawContext()
409 …ageView(vk, device, **m_colorImage, VK_IMAGE_VIEW_TYPE_2D, m_drawState.colorFormat, colorSubresour… in VulkanDrawContext()
413 …const VkDeviceSize bitmapSize = tcu::getPixelSize(mapVkFormat(m_drawState.colorFormat)) * m_drawSt… in VulkanDrawContext()
450 m_drawState.colorFormat, // VkFormat format; in VulkanDrawContext()
828 m_drawState.colorFormat, // VkFormat format in VulkanDrawContext()
910 …return tcu::ConstPixelBufferAccess(mapVkFormat(m_drawState.colorFormat), m_drawState.renderSize.x(… in getColorPixels()

123