HomeSort by relevance Sort by last modified time
    Searched defs:colorFormat (Results 1 - 25 of 113) sorted by null

1 2 3 4 5

  /packages/services/Car/evs/app/
TexWrapper.cpp 114 int colorFormat;
119 &bitDepth, &colorFormat,
123 switch(colorFormat)
132 printf("%s: Unknown libpng color format %d.\n", filename, colorFormat);
  /external/deqp/external/vulkancts/modules/vulkan/geometry/
vktGeometryBasicClass.cpp 74 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
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());
vktGeometryInstancedRenderingTests.cpp 87 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;
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), renderSize.x(), renderSize.y(), 1u, colorBufferAlloc->getHostPtr())
    [all...]
vktGeometryLayeredRenderingTests.cpp 158 const VkFormat colorFormat)
163 colorFormat, // VkFormat format;
610 bool verifyResults (tcu::TestLog& log, const TestParams& params, const VkFormat colorFormat, const void* resultData)
612 const LayeredImageAccess image = LayeredImageAccess::create(getImageType(params.image.viewType), colorFormat, params.image.size, params.image.numLayers, resultData);
    [all...]
  /external/deqp/framework/opengl/
gluFboRenderContext.cpp 64 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat)
66 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat));
210 const deUint32 colorFormat = chooseColorFormat(config);
221 if (colorFormat == 0)
234 pixelFormat = getPixelFormat(colorFormat);
240 gl.renderbufferStorageMultisample(GL_RENDERBUFFER, config.numSamples, colorFormat, width, height);
242 gl.renderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height);
  /external/deqp/modules/gles3/functional/
es3fFboDepthbufferTests.cpp 68 const deUint32 colorFormat = GL_RGBA8;
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;
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;
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));
es3fFboStencilbufferTests.cpp 68 const deUint32 colorFormat = GL_RGBA8;
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;
176 glRenderbufferStorage(GL_RENDERBUFFER, colorFormat, width, height);
229 readPixels(dst, 0, 0, width, height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
es3fFboStateQueryTests.cpp 537 const GLenum colorFormat = requiredColorformats[ndx].internalFormat;
542 glTexStorage2D(GL_TEXTURE_2D, 1, colorFormat, 128, 128);
    [all...]
  /external/skia/src/gpu/vk/
GrVkRenderTarget.cpp 239 VkFormat colorFormat;
240 GrPixelConfigToVkFormat(this->config(), &colorFormat);
241 desc->fColor.fFormat = colorFormat;
  /cts/tests/tests/media/src/android/media/cts/
NdkMediaCodec.java 62 int colorFormat,
108 int colorFormat = format.getInteger(MediaFormat.KEY_COLOR_FORMAT, -1);
126 colorFormat,
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMultisampleImageTests.cpp 68 VkFormat colorFormat;
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_color;\n
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationCommonEdgeTests.cpp 351 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
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());
vktTessellationGeometryPointSizeTests.cpp 316 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
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());
vktTessellationMiscDrawTests.cpp 162 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
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());
vktTessellationWindingTests.cpp 344 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
347 makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, 1u),
352 const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
357 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange));
358 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat));
495 const tcu::ConstPixelBufferAccess imagePixelAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, colorBufferAlloc.getHostPtr());
vktTessellationGeometryGridRenderTests.cpp 541 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
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());
vktTessellationGeometryPassthroughTests.cpp 351 const VkFormat colorFormat,
357 return tcu::ConstPixelBufferAccess(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1, alloc.getHostPtr());
472 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
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);
vktTessellationShaderInputOutputTests.cpp 96 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
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/external/vulkancts/modules/vulkan/
vktDrawUtil.hpp 46 vk::VkFormat colorFormat;
  /frameworks/av/cmds/stagefright/
recordvideo.cpp 62 DummySource(int width, int height, int nFrames, int fps, int colorFormat)
67 mColorFormat(colorFormat),
172 int colorFormat = OMX_COLOR_FormatYUV420Planar;
192 colorFormat = translateColorToOmxEnumValue(atoi(optarg));
193 if (colorFormat == -1) {
273 new DummySource(width, height, nFrames, frameRateFps, colorFormat);
294 enc_meta->setInt32("color-format", colorFormat);
  /frameworks/av/media/libmedia/
IMediaMetadataRetriever.cpp 146 sp<IMemory> getFrameAtTime(int64_t timeUs, int option, int colorFormat, bool metaOnly)
148 ALOGV("getTimeAtTime: time(%" PRId64 " us), option(%d), colorFormat(%d) metaOnly(%d)",
149 timeUs, option, colorFormat, metaOnly);
154 data.writeInt32(colorFormat);
284 int colorFormat = data.readInt32();
286 ALOGV("getTimeAtTime: time(%" PRId64 " us), option(%d), colorFormat(%d), metaOnly(%d)",
287 timeUs, option, colorFormat, metaOnly);
291 sp<IMemory> bitmap = getFrameAtTime(timeUs, option, colorFormat, metaOnly);
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiSmokeTests.cpp 338 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
903 const tcu::TextureFormat tcuFormat = vk::mapVkFormat(colorFormat);
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
vktFragmentOperationsEarlyFragmentTests.cpp 111 const VkFormat colorFormat,
120 colorFormat, // VkFormat format;
592 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
594 const Unique<VkImage> colorImage (makeImage(vk, device, makeImageCreateInfo(renderSize, colorFormat, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT)));
596 const Unique<VkImageView> colorImageView (makeImageView(vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresourceRange));
660 const VkDeviceSize colorBufferSizeBytes = tcu::getPixelSize(mapVkFormat(colorFormat)) * renderSize.x() * renderSize.y();
685 const Unique<VkRenderPass> renderPass (makeRenderPass(vk, device, colorFormat, m_useTestAttachment, testFormat));
    [all...]
vktFragmentOperationsScissorMultiViewportTests.cpp 97 const VkFormat colorFormat)
102 colorFormat, // VkFormat format;
554 const VkFormat colorFormat,
558 , m_colorFormat (colorFormat)
725 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
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);
    [all...]
vktFragmentOperationsScissorTests.cpp 116 const VkFormat colorFormat)
121 colorFormat, // VkFormat format;
533 ScissorRenderer (Context& context, const CaseDef caseDef, const IVec2& renderSize, const VkFormat colorFormat, const Vec4& primitiveColor, const Vec4& clearColor)
535 , m_colorFormat (colorFormat)
705 const VkFormat colorFormat = VK_FORMAT_R8G8B8A8_UNORM;
710 const VkDeviceSize colorBufferSize = renderSize.x() * renderSize.y() * tcu::getPixelSize(mapVkFormat(colorFormat));
722 const ScissorRenderer renderer (context, caseDef, renderSize, colorFormat, primitiveColor, clearColor);
733 const tcu::ConstPixelBufferAccess resultImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferScissoredAlloc->getHostPtr());
734 tcu::PixelBufferAccess referenceImage (mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), 1u, colorBufferFullAlloc->getHostPtr());
    [all...]

Completed in 1728 milliseconds

1 2 3 4 5