/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
D | vktSparseResourcesTestsUtil.cpp | 60 tcu::UVec3 getShaderGridSize(const ImageType imageType, const tcu::UVec3& imageSize, const deUint32… in getShaderGridSize() argument 62 const deUint32 mipLevelX = std::max(imageSize.x() >> mipLevel, 1u); in getShaderGridSize() 63 const deUint32 mipLevelY = std::max(imageSize.y() >> mipLevel, 1u); in getShaderGridSize() 64 const deUint32 mipLevelZ = std::max(imageSize.z() >> mipLevel, 1u); in getShaderGridSize() 72 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 75 return tcu::UVec3(mipLevelX, imageSize.z(), 1u); in getShaderGridSize() 81 return tcu::UVec3(mipLevelX, mipLevelY, imageSize.z()); in getShaderGridSize() 90 return tcu::UVec3(mipLevelX, mipLevelY, 6u * imageSize.z()); in getShaderGridSize() 98 tcu::UVec3 getLayerSize(const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 105 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() [all …]
|
D | vktSparseResourcesImageSparseBinding.cpp | 62 const tcu::UVec3& imageSize, 77 const tcu::UVec3& imageSize, in ImageSparseBindingCase() argument 81 , m_imageSize (imageSize) in ImageSparseBindingCase() 91 const tcu::UVec3& imageSize, 104 const tcu::UVec3& imageSize, in ImageSparseBindingInstance() argument 108 , m_imageSize (imageSize) in ImageSparseBindingInstance() 444 const tcu::UVec3 imageSize = imageParametersArray[imageTypeNdx].imageSizes[imageSizeNdx]; in createImageSparseBindingTests() local 447 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createImageSparseBindingTests() 449 …oup->addChild(new ImageSparseBindingCase(testCtx, stream.str(), "", imageType, imageSize, format)); in createImageSparseBindingTests()
|
D | vktSparseResourcesMipmapSparseResidency.cpp | 73 const tcu::UVec3& imageSize, 88 const tcu::UVec3& imageSize, in MipmapSparseResidencyCase() argument 92 , m_imageSize (imageSize) in MipmapSparseResidencyCase() 102 const tcu::UVec3& imageSize, 116 const tcu::UVec3& imageSize, in MipmapSparseResidencyInstance() argument 120 , m_imageSize (imageSize) in MipmapSparseResidencyInstance() 592 const tcu::UVec3 imageSize = imageParametersArray[imageTypeNdx].imageSizes[imageSizeNdx]; in createMipmapSparseResidencyTests() local 595 stream << imageSize.x() << "_" << imageSize.y() << "_" << imageSize.z(); in createMipmapSparseResidencyTests() 597 …->addChild(new MipmapSparseResidencyCase(testCtx, stream.str(), "", imageType, imageSize, format)); in createMipmapSparseResidencyTests()
|
D | vktSparseResourcesTestsUtil.hpp | 104 const tcu::UVec3& imageSize, 106 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size of a … 107 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of ar… 108 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of te… 112 const tcu::UVec3& imageSize,
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
D | vktImageTestsUtil.cpp | 58 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize) in getShaderGridSize() argument 64 return tcu::UVec3(imageSize.x(), 1u, 1u); in getShaderGridSize() 67 return tcu::UVec3(imageSize.x(), imageSize.z(), 1u); in getShaderGridSize() 70 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getShaderGridSize() 74 return tcu::UVec3(imageSize.x(), imageSize.y(), imageSize.z()); in getShaderGridSize() 77 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u); in getShaderGridSize() 80 return tcu::UVec3(imageSize.x(), imageSize.y(), 6u * imageSize.z()); in getShaderGridSize() 88 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLayerSize() argument 95 return tcu::UVec3(imageSize.x(), 1u, 1u); in getLayerSize() 101 return tcu::UVec3(imageSize.x(), imageSize.y(), 1u); in getLayerSize() [all …]
|
D | vktImageQualifiersTests.cpp | 68 const tcu::UVec3 getLocalWorkGroupSize (const ImageType imageType, const tcu::UVec3& imageSize) in getLocalWorkGroupSize() argument 70 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getLocalWorkGroupSize() 78 const tcu::UVec3 getNumWorkGroups (const ImageType imageType, const tcu::UVec3& imageSize) in getNumWorkGroups() argument 80 const tcu::UVec3 computeGridSize = getShaderGridSize(imageType, imageSize); in getNumWorkGroups() 81 const tcu::UVec3 localWorkGroupSize = getLocalWorkGroupSize(imageType, imageSize); in getNumWorkGroups() 115 const tcu::UVec3& imageSize, in comparePixelBuffers() argument 126 for (deUint32 layerNdx = 0; layerNdx < getNumLayers(imageType, imageSize); ++layerNdx) in comparePixelBuffers() 160 return passedLayers == getNumLayers(imageType, imageSize); in comparePixelBuffers() 207 const tcu::UVec3& imageSize, 230 const tcu::UVec3& imageSize, in MemoryQualifierTestCase() argument [all …]
|
D | vktImageTestsUtil.hpp | 101 tcu::UVec3 getShaderGridSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size us… 102 tcu::UVec3 getLayerSize (const ImageType imageType, const tcu::UVec3& imageSize); //!< Size of a s… 103 deUint32 getNumLayers (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of arr… 104 deUint32 getNumPixels (const ImageType imageType, const tcu::UVec3& imageSize); //!< Number of tex… 174 inline vk::VkDeviceSize getImageSizeBytes (const tcu::IVec3& imageSize, const vk::VkFormat format) in getImageSizeBytes() argument 176 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
|
D | vktImageAtomicOperationTests.cpp | 248 const tcu::UVec3& imageSize, 268 const tcu::UVec3& imageSize, in BinaryAtomicEndResultCase() argument 274 , m_imageSize (imageSize) in BinaryAtomicEndResultCase() 321 const tcu::UVec3& imageSize, 341 const tcu::UVec3& imageSize, in BinaryAtomicIntermValuesCase() argument 347 , m_imageSize (imageSize) in BinaryAtomicIntermValuesCase() 396 const tcu::UVec3& imageSize, 430 const tcu::UVec3& imageSize, in BinaryAtomicInstanceBase() argument 436 , m_imageSize (imageSize) in BinaryAtomicInstanceBase() 591 const tcu::UVec3& imageSize, in BinaryAtomicEndResultInstance() argument [all …]
|
D | vktImageLoadStoreTests.cpp | 125 float computeStoreColorScale (const VkFormat format, const tcu::IVec3 imageSize) in computeStoreColorScale() argument 127 const int maxImageDimension = de::max(imageSize.x(), de::max(imageSize.y(), imageSize.z())); in computeStoreColorScale() 277 tcu::TextureLevel generateReferenceImage (const tcu::IVec3& imageSize, const VkFormat imageFormat, … in generateReferenceImage() argument 281 tcu::TextureLevel reference(mapVkFormat(imageFormat), imageSize.x(), imageSize.y(), imageSize.z()); in generateReferenceImage() 284 const float storeColorScale = computeStoreColorScale(imageFormat, imageSize); in generateReferenceImage() 288 const int xMax = imageSize.x() - 1; in generateReferenceImage() 289 const int yMax = imageSize.y() - 1; in generateReferenceImage() 291 for (int z = 0; z < imageSize.z(); ++z) in generateReferenceImage() 292 for (int y = 0; y < imageSize.y(); ++y) in generateReferenceImage() 293 for (int x = 0; x < imageSize.x(); ++x) in generateReferenceImage() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderImageLoadStoreTests.cpp | 695 …er& glLog, TextureType imageType, deUint32 internalFormat, const IVec3& imageSize, deUint32 textur… in setTextureStorage() argument 704 const int numBytes = format.getPixelSize() * imageSize.x(); in setTextureStorage() 709 DE_ASSERT(imageSize.y() == 1 && imageSize.z() == 1); in setTextureStorage() 717 glLog.glTexStorage2D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y()); in setTextureStorage() 718 DE_ASSERT(imageSize.z() == 1); in setTextureStorage() 723 …glLog.glTexStorage3D(textureTarget, 1, internalFormat, imageSize.x(), imageSize.y(), imageSize.z()… in setTextureStorage() 735 const IVec3& imageSize = src.getSize(); in uploadTexture() local 737 setTextureStorage(glLog, src.getImageType(), internalFormat, imageSize, textureBufGL); in uploadTexture() 754 …glLog.glBufferData(GL_TEXTURE_BUFFER, src.getFormat().getPixelSize() * imageSize.x(), src.getAcces… in uploadTexture() 757 …glLog.glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, imageSize.x(), imageSize.y(), transferFormat.format,… in uploadTexture() [all …]
|
/external/opencv3/samples/cpp/ |
D | stereo_calib.cpp | 74 Size imageSize; in StereoCalib() local 90 if( imageSize == Size() ) in StereoCalib() 91 imageSize = img.size(); in StereoCalib() 92 else if( img.size() != imageSize ) in StereoCalib() 175 imageSize, R, T, E, F, in StereoCalib() 230 imageSize, R, T, R1, R2, P1, P2, Q, in StereoCalib() 231 CALIB_ZERO_DISPARITY, 1, imageSize, &validRoi[0], &validRoi[1]); in StereoCalib() 270 stereoRectifyUncalibrated(Mat(allimgpt[0]), Mat(allimgpt[1]), F, imageSize, H1, H2, 3); in StereoCalib() 279 …initUndistortRectifyMap(cameraMatrix[0], distCoeffs[0], R1, P1, imageSize, CV_16SC2, rmap[0][0], r… in StereoCalib() 280 …initUndistortRectifyMap(cameraMatrix[1], distCoeffs[1], R2, P2, imageSize, CV_16SC2, rmap[1][0], r… in StereoCalib() [all …]
|
D | 3calibration.cpp | 48 Size imageSize, Size boardSize, in run3Calibration() argument 90 double err = calibrateCamera(objpt, imgpt, imageSize, cameraMatrix, in run3Calibration() 140 imageSize, R, T, E, F, in run3Calibration() 179 Size boardSize, imageSize; in main() local 274 imageSize = view.size(); in main() 294 run3Calibration(imgpt[0], imgpt[1], imgpt[2], imageSize, in main() 316 fs << "imageWidth" << imageSize.width; in main() 317 fs << "imageHeight" << imageSize.height; in main() 325 imageSize, R12, T12, R13, T13, in main() 327 imageSize, 0, 0, CALIB_ZERO_DISPARITY); in main() [all …]
|
D | calibration.cpp | 138 Size imageSize, Size boardSize, Pattern patternType, in runCalibration() argument 156 double rms = calibrateCamera(objectPoints, imagePoints, imageSize, cameraMatrix, in runCalibration() 171 Size imageSize, Size boardSize, in saveCameraParams() argument 191 fs << "image_width" << imageSize.width; in saveCameraParams() 192 fs << "image_height" << imageSize.height; in saveCameraParams() 269 Size imageSize, Size boardSize, Pattern patternType, float squareSize, in runAndSave() argument 277 bool ok = runCalibration(imagePoints, imageSize, boardSize, patternType, squareSize, in runAndSave() 285 saveCameraParams( outputFilename, imageSize, in runAndSave() 299 Size boardSize, imageSize; in main() local 454 runAndSave(outputFilename, imagePoints, imageSize, in main() [all …]
|
/external/opencv/cvaux/src/ |
D | cvepilines.cpp | 667 int icvGetAngleLine( CvPoint2D64d startPoint, CvSize imageSize,CvPoint2D64d *point1,CvPoint2D64d *p… in icvGetAngleLine() argument 678 pb.x = imageSize.width-1; in icvGetAngleLine() 681 pd.x = imageSize.width-1; in icvGetAngleLine() 682 pd.y = imageSize.height-1; in icvGetAngleLine() 685 pc.y = imageSize.height-1; in icvGetAngleLine() 697 else if( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() 708 else if ( startPoint.x > imageSize.width-1 ) in icvGetAngleLine() 715 else if ( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() 730 if( startPoint.x < imageSize.width/2 ) in icvGetAngleLine() 741 else if( startPoint.y > imageSize.height-1 ) in icvGetAngleLine() [all …]
|
/external/opencv3/modules/java/src/ |
D | calib3d+Calib3d.java | 253 …public static void stereoRectify(Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat tvec, … in stereoRectify() argument 256 …tify_0(K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, … in stereoRectify() 262 …public static void stereoRectify(Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat tvec, … in stereoRectify() argument 265 …tify_1(K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, … in stereoRectify() 276 …gePoints1, List<Mat> imagePoints2, Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat T, i… in stereoCalibrate() argument 281 …veObj, K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, … in stereoCalibrate() 287 …gePoints1, List<Mat> imagePoints2, Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat T, i… in stereoCalibrate() argument 292 …veObj, K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, … in stereoCalibrate() 298 …imagePoints1, List<Mat> imagePoints2, Mat K1, Mat D1, Mat K2, Mat D2, Size imageSize, Mat R, Mat T) in stereoCalibrate() argument 303 …veObj, K1.nativeObj, D1.nativeObj, K2.nativeObj, D2.nativeObj, imageSize.width, imageSize.height, … in stereoCalibrate() [all …]
|
/external/opencv3/samples/cpp/tutorial_code/calib3d/camera_calibration/ |
D | camera_calibration.cpp | 221 bool runCalibrationAndSave(Settings& s, Size imageSize, Mat& cameraMatrix, Mat& distCoeffs, 252 Size imageSize; in main() local 269 if( runCalibrationAndSave(s, imageSize, cameraMatrix, distCoeffs, imagePoints)) in main() 278 runCalibrationAndSave(s, imageSize, cameraMatrix, distCoeffs, imagePoints); in main() 283 imageSize = view.size(); // Format input image. in main() 385 getOptimalNewCameraMatrix(cameraMatrix, distCoeffs, imageSize, 1, imageSize, 0), in main() 386 imageSize, CV_16SC2, map1, map2); in main() 456 static bool runCalibration( Settings& s, Size& imageSize, Mat& cameraMatrix, Mat& distCoeffs, in runCalibration() argument 473 double rms = calibrateCamera(objectPoints, imagePoints, imageSize, cameraMatrix, in runCalibration() 487 static void saveCameraParams( Settings& s, Size& imageSize, Mat& cameraMatrix, Mat& distCoeffs, in saveCameraParams() argument [all …]
|
/external/mesa3d/src/glx/ |
D | pixel.c | 177 GLint elementsPerRow, imageSize, rowsPerImage, h, i, j, k; in __glFillImage() local 209 imageSize = rowSize * rowsPerImage; in __glFillImage() 210 start = ((const GLubyte *) userdata) + skipImages * imageSize + in __glFillImage() 230 itera += imageSize; in __glFillImage() 250 itera += imageSize; in __glFillImage() 404 GLint imageSize, rowsPerImage; in __glEmptyImage() local 436 imageSize = sourceRowSize * rowsPerImage; in __glEmptyImage() 437 start = ((GLubyte *) userdata) + skipImages * imageSize + in __glEmptyImage() 458 itera += imageSize; in __glEmptyImage()
|
/external/opencv3/modules/calib3d/test/ |
D | test_cameracalibration.cpp | 260 CvSize imageSize, CvPoint2D64f* imagePoints, CvPoint3D64f* objectPoints, 296 CvSize imageSize; in run() local 374 values_read = fscanf(file,"%d %d\n",&(imageSize.width),&(imageSize.height)); in run() 376 if( imageSize.width <= 0 || imageSize.height <= 0 ) in run() 515 cameraMatrix[2] = (imageSize.width - 1)*0.5; in run() 516 cameraMatrix[5] = (imageSize.height - 1)*0.5; in run() 522 imageSize, in run() 677 CvSize imageSize, CvPoint2D64f* imagePoints, CvPoint3D64f* objectPoints, 686 CvSize imageSize, CvPoint2D64f* imagePoints, CvPoint3D64f* objectPoints, in calibrate() argument 702 cvCalibrateCamera2(&_objectPoints, &_imagePoints, &_pointCounts, imageSize, in calibrate() [all …]
|
D | test_fisheye.cpp | 50 const static cv::Size imageSize; member in fisheyeTest 71 double cols = this->imageSize.width, in TEST_F() 72 rows = this->imageSize.height; in TEST_F() 264 cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D, in TEST_F() 292 …param.Init(cv::Vec2d(cv::max(imageSize.width, imageSize.height) / CV_PI, cv::max(imageSize.width, … in TEST_F() 293 cv::Vec2d(imageSize.width / 2.0 - 0.5, imageSize.height / 2.0 - 0.5)); in TEST_F() 362 cv::fisheye::calibrate(objectPoints, imagePoints, imageSize, K, D, in TEST_F() 397 cv::Size calibration_size = this->imageSize, requested_size = calibration_size; in TEST_F() 481 K1, D1, K2, D2, imageSize, R, T, flag, in TEST_F() 559 K1, D1, K2, D2, imageSize, R, T, flag, in TEST_F() [all …]
|
/external/opencv3/modules/features2d/src/ |
D | keypoint.cpp | 105 void KeyPointsFilter::runByImageBorder( std::vector<KeyPoint>& keypoints, Size imageSize, int borde… in runByImageBorder() argument 109 if (imageSize.height <= borderSize * 2 || imageSize.width <= borderSize * 2) in runByImageBorder() 114 … Point(imageSize.width - borderSize, imageSize.height - borderSize)))), in runByImageBorder()
|
/external/opencv/ |
D | cvjni.cpp | 151 int imageSize = strm->GetSize(); in Java_org_siprop_opencv_OpenCV_getSourceImage() local 152 jbooleanArray res_array = env->NewBooleanArray(imageSize); in Java_org_siprop_opencv_OpenCV_getSourceImage() 157 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte()); in Java_org_siprop_opencv_OpenCV_getSourceImage() 257 int imageSize; in Java_org_siprop_opencv_OpenCV_findContours() local 270 imageSize = strm->GetSize(); in Java_org_siprop_opencv_OpenCV_findContours() 271 jbooleanArray res_array = env->NewBooleanArray(imageSize); in Java_org_siprop_opencv_OpenCV_findContours() 276 env->SetBooleanArrayRegion(res_array, 0, imageSize, (jboolean*)strm->GetByte()); in Java_org_siprop_opencv_OpenCV_findContours() 701 int imageSize; 765 imageSize = m_strm->GetSize(); 766 res_array = env->NewBooleanArray(imageSize); [all …]
|
/external/mesa3d/src/mesa/main/ |
D | teximage.h | 259 GLint border, GLsizei imageSize, 265 GLsizei height, GLint border, GLsizei imageSize, 272 GLsizei imageSize, const GLvoid *data); 282 GLsizei imageSize, const GLvoid *data); 287 GLenum format, GLsizei imageSize, 294 GLsizei imageSize, const GLvoid *data);
|
/external/opencv3/modules/calib3d/include/opencv2/ |
D | calib3d.hpp | 591 Size imageSize, double aspectRatio = 1.0 ); 796 InputArrayOfArrays imagePoints, Size imageSize, 822 CV_EXPORTS_W void calibrationMatrixValues( InputArray cameraMatrix, Size imageSize, 917 … Size imageSize, OutputArray R,OutputArray T, OutputArray E, OutputArray F, 1003 Size imageSize, InputArray R, InputArray T, 1049 Size imageSize, InputArray R12, InputArray T12, 1083 Size imageSize, double alpha, Size newImgSize = Size(), 1823 …InputArray K1, InputArray D1, InputArray K2, InputArray D2, const Size &imageSize, InputArray R, I… 1860 …InputOutputArray K1, InputOutputArray D1, InputOutputArray K2, InputOutputArray D2, Size imageSize,
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeTestsUtil.hpp | 155 inline vk::VkDeviceSize getImageSizeBytes (const tcu::IVec3& imageSize, const vk::VkFormat format) in getImageSizeBytes() argument 157 return tcu::getPixelSize(vk::mapVkFormat(format)) * imageSize.x() * imageSize.y() * imageSize.z(); in getImageSizeBytes()
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_L_C_.py | 491 writer.simpletag('imageSize', value=self.imageSize) 501 self.imageSize = safeEval(attrs['value']) 510 …assert len(data) <= self.imageSize, "Data in indexSubTable format %d must be less than the fixed s… 512 pad = (self.imageSize - len(data)) * b'\0' 521 (self.imageSize,) = struct.unpack(">L", self.data[:4]) 525 offsets = [self.imageSize * i + self.imageDataOffset for i in range(len(glyphIds)+1)] 536 dataList.append(struct.pack(">L", self.imageSize)) 587 (self.imageSize,) = struct.unpack(">L", self.data[:4]) 594 offsets = [self.imageSize * i + self.imageDataOffset for i in range(len(glyphIds)+1)] 601 dataList.append(struct.pack(">L", self.imageSize))
|