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

123

/external/swiftshader/src/OpenGL/libGL/
H A 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);
H A Dutilities.cpp731 unsigned int GetAlphaSize(sw::Format colorFormat) argument
733 switch(colorFormat)
753 unsigned int GetRedSize(sw::Format colorFormat) argument
755 switch(colorFormat)
774 unsigned int GetGreenSize(sw::Format colorFormat) argument
776 switch(colorFormat)
796 unsigned int GetBlueSize(sw::Format colorFormat) argument
798 switch(colorFormat)
/external/deqp/framework/opengl/
H A DgluFboRenderContext.cpp64 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) argument
66 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat));
215 const deUint32 colorFormat = chooseColorFormat(config); local
226 if (colorFormat == 0)
239 pixelFormat = getPixelFormat(colorFormat);
245 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height);
247 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height);
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
H A DMediaCodecVideoEncoder.java124 private int colorFormat; // Used by native code. field in class:MediaCodecVideoEncoder
143 public EncoderProperties(String codecName, int colorFormat) { argument
145 this.colorFormat = colorFormat;
148 public final int colorFormat; // Color format supported by codec. field in class:MediaCodecVideoEncoder.EncoderProperties
198 for (int colorFormat : capabilities.colorFormats) {
199 Logging.v(TAG, " Color: 0x" + Integer.toHexString(colorFormat));
307 colorFormat = properties.colorFormat;
308 Logging.d(TAG, "Color format: " + colorFormat);
[all...]
H A DMediaCodecVideoDecoder.java102 private int colorFormat; field in class:MediaCodecVideoDecoder
134 public DecoderProperties(String codecName, int colorFormat) { argument
136 this.colorFormat = colorFormat;
139 public final int colorFormat; // Color format supported by codec. field in class:MediaCodecVideoDecoder.DecoderProperties
180 for (int colorFormat : capabilities.colorFormats) {
181 Logging.v(TAG, " Color: 0x" + Integer.toHexString(colorFormat));
256 ". Color: 0x" + Integer.toHexString(properties.colorFormat) +
273 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat);
284 colorFormat
[all...]
/external/deqp/external/vulkancts/modules/vulkan/geometry/
H A DvktGeometryBasicClass.cpp74 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
79 makeImageCreateInfo(resolution, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_BUFFER_USAGE_TRANSFER_SRC_BIT),
82 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
86 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubRange));
108 const VkDeviceSize colorBufferSizeBytes = resolution.x()*resolution.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
196 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), resolution.x(), resolution.y(), 1, colorBufferAlloc.getHostPtr());
H A DvktGeometryInstancedRenderingTests.cpp87 const VkFormat colorFormat)
92 colorFormat, // VkFormat format;
342 const VkFormat colorFormat,
358 const Unique<VkImage> colorImage (makeImage (vk, device, makeImageCreateInfo(colorFormat, colorImageExtent, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT)));
360 const Unique<VkImageView> colorAttachment (makeImageView (vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresourceRange));
370 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
635 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
638 const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
651 draw(context, renderSize, colorFormat, clearColor, *colorBuffer, params.numDrawInstances, perInstancePosition);
656 const tcu::ConstPixelBufferAccess result(mapVkFormat(colorFormat), renderSiz
85 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat) argument
340 draw(Context& context, const UVec2& renderSize, const VkFormat colorFormat, const Vec4& clearColor, const VkBuffer colorBuffer, const int numDrawInstances, const std::vector<Vec4>& perInstanceAttribute) argument
[all...]
H A DvktGeometryLayeredRenderingTests.cpp158 const VkFormat colorFormat)
163 colorFormat, // VkFormat format;
610 bool verifyResults (tcu::TestLog& log, const TestParams& params, const VkFormat colorFormat, const void* resultData) argument
612 const LayeredImageAccess image = LayeredImageAccess::create(getImageType(params.image.viewType), colorFormat, params.image.size, params.image.numLayers, resultData);
910 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
913 const VkDeviceSize colorBufferSize = params.image.size.width * params.image.size.height * params.image.size.depth * params.image.numLayers * tcu::getPixelSize(mapVkFormat(colorFormat));
918 const Unique<VkImage> colorImage (makeImage (vk, device, makeImageCreateInfo(imageCreateFlags, getImageType(params.image.viewType), colorFormat, params.image.size,
921 const Unique<VkImageView> colorAttachment (makeImageView (vk, device, *colorImage, viewType, colorFormat, makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, numLayers)));
930 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
1026 if (!verifyResults(context.getTestContext().getLog(), params, colorFormat, colorBufferAllo
156 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat) argument
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fFboDepthbufferTests.cpp68 const deUint32 colorFormat = GL_RGBA8; local
89 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height);
132 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
160 const deUint32 colorFormat = GL_RGBA8; local
179 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height);
218 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
246 const deUint32 colorFormat = GL_RGBA8; local
265 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_width, m_height);
298 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
H A Des3fFboRenderTest.cpp72 , colorFormat (colorFormat_)
84 , colorFormat (GL_NONE)
98 GLenum colorFormat; //!< Internal format for color buffer texture or renderbuffer member in class:deqp::gles3::Functional::FboConfig
124 name << getTypeName(colorType) << "_" << getFormatName(colorFormat);
257 checkColorFormatSupport(context, config.colorFormat);
268 m_colorBuffer = createTex2D(colorBufferName, m_config.colorFormat, width, height);
273 m_colorBuffer = createRbo(colorBufferName, m_config.colorFormat, width, height);
505 const tcu::RGBA threshold (tcu::max(getFormatThreshold(m_config.colorFormat), tcu::RGBA(12, 12, 12, 12)));
529 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat); local
750 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat); local
1111 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat); local
1267 tcu::TextureFormat colorFormat = glu::mapGLInternalFormat(m_config.colorFormat); local
1624 deUint32 colorFormat = colorFormats[colorFmtNdx].format; local
1662 deUint32 colorFormat = colorFormats[colorFmtNdx].format; local
[all...]
H A Des3fFboStencilbufferTests.cpp68 const deUint32 colorFormat = GL_RGBA8; local
82 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, m_size.x(), m_size.y());
132 readPixels(dst, 0, 0, m_size.x(), m_size.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
157 const deUint32 colorFormat = GL_RGBA8; local
176 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height);
229 readPixels(dst, 0, 0, width, height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineMultisampleImageTests.cpp68 VkFormat colorFormat; member in struct:vkt::pipeline::__anon4389::CaseDef
320 const VkFormat colorFormat,
327 colorFormat, // VkFormat format;
387 const VkFormat colorFormat)
392 colorFormat, // VkFormat format;
718 const int numComponents = tcu::getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order);
719 const bool isUint = isUintFormat(caseDef.colorFormat);
720 const bool isSint = isIntFormat(caseDef.colorFormat);
746 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint);
752 << "layout(location = 0) out " << colorFormat << " o_colo
318 makeMultisampleRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const VkSampleCountFlagBits numSamples, const deUint32 numLayers) argument
385 makeSimpleRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat) argument
[all...]
H A DvktPipelineRenderToImageTests.cpp110 VkFormat colorFormat; member in struct:vkt::pipeline::__anon4395::CaseDef
440 const VkFormat colorFormat,
449 colorFormat, // VkFormat format;
766 colorImage = makeImage(vk, device, getImageCreateFlags(caseDef.viewType), getImageType(caseDef.viewType), caseDef.colorFormat,
836 const int numComponents = getNumUsedChannels(mapVkFormat(caseDef.colorFormat).order);
837 const bool isUint = isUintFormat(caseDef.colorFormat);
838 const bool isSint = isIntFormat(caseDef.colorFormat);
866 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint); local
867 const std::string colorInteger = (isUint || isSint ? " * "+colorFormat+"("+colorValue.str()+")" :"");
873 << "layout(location = 0) out " << colorFormat << " o_colo
438 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const VkFormat depthStencilFormat, const deUint32 numLayers, const VkImageLayout initialColorImageLayout = VK_IMAGE_LAYOUT_UNDEFINED, const VkImageLayout initialDepthStencilImageLayout = VK_IMAGE_LAYOUT_UNDEFINED) argument
1709 getFormatString(const VkFormat colorFormat, const VkFormat depthStencilFormat) argument
1825 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
[all...]
H A DvktPipelineReferenceRenderer.hpp122 ColorFragmentShader (const tcu::TextureFormat& colorFormat, argument
125 , m_colorFormat (colorFormat)
229 const tcu::TextureFormat& colorFormat,
/external/deqp/external/vulkancts/modules/vulkan/multiview/
H A DvktMultiViewRenderUtil.hpp42 vk::Move<vk::VkRenderPass> makeRenderPass (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks);
43 vk::Move<vk::VkRenderPass> makeRenderPassWithAttachments (const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkFormat colorFormat, const std::vector<deUint32>& viewMasks);
H A DvktMultiViewRenderUtil.cpp189 const VkFormat colorFormat,
196 colorFormat, // VkFormat format;
279 const VkFormat colorFormat,
287 colorFormat, // VkFormat format;
300 colorFormat, // VkFormat format;
187 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const vector<deUint32>& viewMasks) argument
277 makeRenderPassWithAttachments(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat, const vector<deUint32>& viewMasks) argument
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
H A DvktFragmentOperationsScissorMultiViewportTests.cpp97 const VkFormat colorFormat)
102 colorFormat, // VkFormat format;
554 const VkFormat colorFormat,
558 , m_colorFormat (colorFormat)
725 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
730 const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
744 const ScissorRenderer renderer (context, renderSize, numViewports, scissors, colorFormat, clearColor, vertexColors);
752 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr());
753 const tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), renderSize, clearColor, scissors, vertexColors);
95 makeRenderPass(const DeviceInterface& vk, const VkDevice device, const VkFormat colorFormat) argument
550 ScissorRenderer(Context& context, const IVec2& renderSize, const int numViewports, const std::vector<IVec4>& scissors, const VkFormat colorFormat, const Vec4& clearColor, const std::vector<Vec4>& vertices) argument
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationGeometryPassthroughTests.cpp351 const VkFormat colorFormat,
357 return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr());
472 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
475 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
481 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
488 const Unique<VkImageView> colorAttachmentView(makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
489 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
599 tcu::ConstPixelBufferAccess image0 = getPixelBufferAccess(vk, device, *colorBuffer[0], colorFormat, colorBufferSizeBytes, renderSize);
600 tcu::ConstPixelBufferAccess image1 = getPixelBufferAccess(vk, device, *colorBuffer[1], colorFormat, colorBufferSizeBytes, renderSize);
348 getPixelBufferAccess(const DeviceInterface& vk, const VkDevice device, const Buffer& colorBuffer, const VkFormat colorFormat, const VkDeviceSize colorBufferSizeBytes, const tcu::IVec2& renderSize) argument
H A DvktTessellationGeometryPointSizeTests.cpp316 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
319 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
324 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
329 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
330 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
415 tcu::ConstPixelBufferAccess image(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr());
H A DvktTessellationCommonEdgeTests.cpp351 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
354 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
359 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
364 const Unique<VkImageView> colorAttachmentView (makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
365 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
453 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr());
H A DvktTessellationGeometryGridRenderTests.cpp541 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
543 const VkImageCreateInfo colorImageCreateInfo = makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, m_params.numLayers);
549 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * m_params.numLayers * tcu::getPixelSize(mapVkFormat(colorFormat));
554 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, colorAttachmentViewType, colorFormat, colorImageAllLayersRange));
555 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
630 const tcu::ConstPixelBufferAccess imageAllLayers(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), m_params.numLayers, alloc.getHostPtr());
H A DvktTessellationMiscDrawTests.cpp162 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
165 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
170 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
198 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
199 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
304 const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr());
H A DvktTessellationPrimitiveDiscardTests.cpp434 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
437 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
442 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
465 const Unique<VkImageView> colorAttachmentView (makeImageView(vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
466 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat));
562 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr());
H A DvktTessellationShaderInputOutputTests.cpp96 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM; local
99 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
104 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
109 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
110 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
199 const tcu::ConstPixelBufferAccess resultImageAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr());
/external/deqp/framework/platform/ios/
H A DtcuIOSPlatform.mm214 const NSString* const colorFormat = chooseLayerColorFormat(config);
225 if (colorFormat == nil)
233 colorFormat, kEAGLDrawablePropertyColorFormat,

Completed in 1216 milliseconds

123