• Home
  • Raw
  • Download

Lines Matching refs:planeIdx

224 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const {  in getPlanePixelStride()  argument
230 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlanePixelStride()
232 planeIdx, mNumPlanes - 1); in getPlanePixelStride()
245 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
248 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride()
252 *pixelStride = (planeIdx == 0) ? 2 : mLockedBuffer->chromaStep; in getPlanePixelStride()
254 *pixelStride = (planeIdx == 0) ? 2 : 4; in getPlanePixelStride()
291 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { in getPlaneRowStride() argument
297 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneRowStride()
299 planeIdx, mNumPlanes - 1); in getPlaneRowStride()
312 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
323 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
328 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride : mLockedBuffer->chromaStride; in getPlaneRowStride()
415 AImage::getPlaneData(int planeIdx,/*out*/uint8_t** data, /*out*/int* dataLength) const { in getPlaneData() argument
421 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneData()
423 planeIdx, mNumPlanes - 1); in getPlaneData()
443 pData = (planeIdx == 0) ? mLockedBuffer->data in getPlaneData()
444 : (planeIdx == 1) ? mLockedBuffer->dataCb in getPlaneData()
447 if (planeIdx == 0) { in getPlaneData()
468 pData = (planeIdx == 0) ? mLockedBuffer->data in getPlaneData()
469 : (planeIdx == 1) ? cb : cr; in getPlaneData()
470 dataSize = (planeIdx == 0) ? ySize : cSize; in getPlaneData()
486 pData = (planeIdx == 0) ? mLockedBuffer->data in getPlaneData()
487 : (planeIdx == 1) ? cb : cr; in getPlaneData()
488 dataSize = (planeIdx == 0) ? ySize : cSize; in getPlaneData()
507 pData = (planeIdx == 0) ? mLockedBuffer->data : in getPlaneData()
508 (planeIdx == 1) ? mLockedBuffer->dataCb : mLockedBuffer->dataCr; in getPlaneData()
510 if (planeIdx == 0) { in getPlaneData()
528 pData = (planeIdx == 0) ? mLockedBuffer->data : (planeIdx == 1) ? cb : cr; in getPlaneData()
529 dataSize = (planeIdx == 0) ? ySize : cSize; in getPlaneData()
756 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) { in AImage_getPlanePixelStride() argument
769 return image->getPlanePixelStride(planeIdx, pixelStride); in AImage_getPlanePixelStride()
774 const AImage* image, int planeIdx, /*out*/int32_t* rowStride) { in AImage_getPlaneRowStride() argument
787 return image->getPlaneRowStride(planeIdx, rowStride); in AImage_getPlaneRowStride()
792 const AImage* image, int planeIdx, in AImage_getPlaneData() argument
806 return image->getPlaneData(planeIdx, data, dataLength); in AImage_getPlaneData()