• Home
  • Raw
  • Download

Lines Matching refs:w

282 void Allocation::validate2DRange(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h) {  in validate2DRange()  argument
286 if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY)) { in validate2DRange()
292 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
294 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
297 void *ptr = malloc(eSize * w * h); in copy2DRangeFrom()
298 copyWithPadding(ptr, data, eSize / 4, w * h); in copy2DRangeFrom()
301w, h, ptr, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom()
302 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom()
307w, h, data, w * h * mType->getElement()->getSizeBytes(), in copy2DRangeFrom()
308 w * mType->getElement()->getSizeBytes())); in copy2DRangeFrom()
312 void Allocation::copy2DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeFrom() argument
314 validate2DRange(xoff, yoff, w, h); in copy2DRangeFrom()
317w, h, data->getIDSafe(), dataXoff, dataYoff, in copy2DRangeFrom()
321 void Allocation::copy2DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DRangeTo() argument
323 validate2DRange(xoff, yoff, w, h); in copy2DRangeTo()
326 void *ptr = malloc(eSize * w * h); in copy2DRangeTo()
328 mSelectedLOD, mSelectedFace, w, h, ptr, in copy2DRangeTo()
329 w * h * mType->getElement()->getSizeBytes(), in copy2DRangeTo()
330 w * mType->getElement()->getSizeBytes())); in copy2DRangeTo()
331 copyWithUnPadding(data, ptr, eSize / 4, w * h); in copy2DRangeTo()
335 mSelectedLOD, mSelectedFace, w, h, data, in copy2DRangeTo()
336 w * h * mType->getElement()->getSizeBytes(), in copy2DRangeTo()
337 w * mType->getElement()->getSizeBytes())); in copy2DRangeTo()
341 void Allocation::copy2DStridedFrom(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedFrom() argument
343 validate2DRange(xoff, yoff, w, h); in copy2DStridedFrom()
345 mSelectedLOD, mSelectedFace, w, h, data, in copy2DStridedFrom()
346w * h * mType->getElement()->getSizeBytes(), stride)); in copy2DStridedFrom()
353 void Allocation::copy2DStridedTo(uint32_t xoff, uint32_t yoff, uint32_t w, uint32_t h, in copy2DStridedTo() argument
355 validate2DRange(xoff, yoff, w, h); in copy2DStridedTo()
357 mSelectedLOD, mSelectedFace, w, h, data, in copy2DStridedTo()
358w * h * mType->getElement()->getSizeBytes(), stride)); in copy2DStridedTo()
365 void Allocation::validate3DRange(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in validate3DRange() argument
370 … if (((xoff + w) > mCurrentDimX) || ((yoff + h) > mCurrentDimY) || ((zoff + d) > mCurrentDimZ)) { in validate3DRange()
376 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeFrom() argument
378 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom()
381 void *ptr = malloc(eSize * w * h * d); in copy3DRangeFrom()
382 copyWithPadding(ptr, data, eSize / 4, w * h * d); in copy3DRangeFrom()
384 mSelectedLOD, w, h, d, ptr, in copy3DRangeFrom()
385w * h * d * mType->getElement()->getSizeBytes(), in copy3DRangeFrom()
386 w * mType->getElement()->getSizeBytes())); in copy3DRangeFrom()
390 mSelectedLOD, w, h, d, data, in copy3DRangeFrom()
391w * h * d * mType->getElement()->getSizeBytes(), in copy3DRangeFrom()
392 w * mType->getElement()->getSizeBytes())); in copy3DRangeFrom()
396 void Allocation::copy3DRangeFrom(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, uint32_t … in copy3DRangeFrom() argument
398 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeFrom()
400 mSelectedLOD, w, h, d, data->getIDSafe(), in copy3DRangeFrom()
404 void Allocation::copy3DRangeTo(uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t w, in copy3DRangeTo() argument
406 validate3DRange(xoff, yoff, zoff, w, h, d); in copy3DRangeTo()
409 void *ptr = malloc(eSize * w * h * d); in copy3DRangeTo()
411 mSelectedLOD, w, h, d, ptr, in copy3DRangeTo()
412w * h * d * mType->getElement()->getSizeBytes(), in copy3DRangeTo()
413 w * mType->getElement()->getSizeBytes())); in copy3DRangeTo()
414 copyWithUnPadding(data, ptr, eSize / 4, w * h * d); in copy3DRangeTo()
418 mSelectedLOD, w, h, d, data, in copy3DRangeTo()
419w * h * d * mType->getElement()->getSizeBytes(), in copy3DRangeTo()
420 w * mType->getElement()->getSizeBytes())); in copy3DRangeTo()