Home
last modified time | relevance | path

Searched refs:pixelCount (Results 1 – 4 of 4) sorted by relevance

/external/skia/tools/skdiff/
Dskdiff.cpp218 int pixelCount = w * h; in compute_diff() local
219 dr->fFractionDifference = ((float) mismatchedPixels) / pixelCount; in compute_diff()
220 dr->fWeightedFraction /= pixelCount; in compute_diff()
222 dr->fAverageMismatchA = ((float) totalMismatchA) / pixelCount; in compute_diff()
223 dr->fAverageMismatchR = ((float) totalMismatchR) / pixelCount; in compute_diff()
224 dr->fAverageMismatchG = ((float) totalMismatchG) / pixelCount; in compute_diff()
225 dr->fAverageMismatchB = ((float) totalMismatchB) / pixelCount; in compute_diff()
/external/skqp/tools/skdiff/
Dskdiff.cpp218 int pixelCount = w * h; in compute_diff() local
219 dr->fFractionDifference = ((float) mismatchedPixels) / pixelCount; in compute_diff()
220 dr->fWeightedFraction /= pixelCount; in compute_diff()
222 dr->fAverageMismatchA = ((float) totalMismatchA) / pixelCount; in compute_diff()
223 dr->fAverageMismatchR = ((float) totalMismatchR) / pixelCount; in compute_diff()
224 dr->fAverageMismatchG = ((float) totalMismatchG) / pixelCount; in compute_diff()
225 dr->fAverageMismatchB = ((float) totalMismatchB) / pixelCount; in compute_diff()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp344 const VkDeviceSize pixelCount = m_renderSize.x() * m_renderSize.y(); in iterate() local
374 m_samples * pixelCount * getPixelSize(mapVkFormat(resolvedBufferFormat)), // VkDeviceSize size in iterate()
492 pixelCount * sizeof(float)* scale, // VkDeviceSize size in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp714 const deUint32 pixelCount = image.getWidth() * image.getHeight() * image.getDepth(); in getUniqueColorsCount() local
716 for (deUint32 pixelNdx = 0; pixelNdx < pixelCount; pixelNdx++) in getUniqueColorsCount()
1436 …const deUint32 pixelCount = noSampleshadingImage.getWidth() * noSampleshadingImage.getHeight() * n… in verifySampleShadedImage() local
1440 for (deUint32 pixelNdx = 0; pixelNdx < pixelCount; pixelNdx++) in verifySampleShadedImage()