Limitation

From OpenCV on the Cell

Jump to: navigation, search

Some functions run on PPE, if condition is not satisfied.

Some functions run on a single SPE. They are not parallelized to multiple SPEs.

This page explains on what condition the functions run.


Contents

cvAbsDiff

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvAdd

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvAddWeighted

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvAnd

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvCmp

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvCmpS

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvDiv

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvFilter2D

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvLUT

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvMax

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvMin

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvMul

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvNot

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvOr

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvXor

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Operation does not saturate. Overflow is not cared.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.


cvAbsDiffS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvAddS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvAndS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvMaxS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvMinS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvOrS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvSubS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvSubRS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvXorS

Buffer address and line step of srcarr, srcscalar, dstarr must be aligned to 16bytes.

maskarr must be NULL.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.


cvDilate

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvErode

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvInRange

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvInRangeS

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.

cvMorphologyEx

Buffer address and line step of srcarr1, srcarr2, dstarr must be aligned to 16bytes.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.


cvConvertScale

Buffer address and line step of src, dst must be aligned to 16bytes.

Size of image step must be less than 16KB.

This function runs on multiple SPEs.


cvCvtColor

This function runs on multiple SPEs always.

  • Color to/from Grayscale(BGRx2Gray_8u_CnC1R),
  • RGB to/from HSV(BGRx2HSV_8u_CnC3R),
  • RGB to/from L*a*b*(BGRx2Lab_8u_CnC3R) and
  • RGB to/from L*u*v*(BGRx2Luv_8u_CnC3R) are optimized.

cvRandArr

Matrix must be two dimensional matrix.

This function runs on a single SPE.

cvHaarDetectObjects

Cascade must be stamp based, and have no tilted rects, and is not tree.

This function runs on multiple SPEs.

cvCalcArrHist

Buffer address of src, and dst must be aligned to 16bytes.

Matrix depth must be CV_8U.

pMatrix must be dense matrix.

This function runs on multiple SPEs.

cvPerspectiveTransform

Matrix depth must be CV_32FC1.

This function runs on multiple SPEs.

cvScaleAdd

This function runs on a single SPE.

cvDotProduct

Buffer address of src, and dst must be aligned to 16bytes.

Matrix depth must be CV_32F or CV_64F.

This function runs on a single SPE.

cvGEMM

Matrix depth must be CV_32S or CV_32F.

This function runs on multiple SPEs.

cvTranspose

Buffer address of src and dst must be aligned to 16bytes.

Matrix depth must be CV_32SC1, CV_32FC1 or CV_64FC1.

This function runs on multiple SPEs.

cvMahalanobis

Buffer address of srcA, srcB and matarr must be aligned to 16bytes.

Matrix depth must be CV_32FC1.

Size of matarr must be less than 4096.

This function runs on multiple SPEs.

Views
Personal tools
Toolbox