• Home
  • Raw
  • Download

Lines Matching refs:planeIdx

173 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const {  in getPlanePixelStride()  argument
174 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlanePixelStride()
176 planeIdx, mNumPlanes - 1); in getPlanePixelStride()
189 *pixelStride = (planeIdx == 0) ? 1 : mBuffer->chromaStep; in getPlanePixelStride()
192 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride()
228 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { in getPlaneRowStride() argument
229 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneRowStride()
231 planeIdx, mNumPlanes - 1); in getPlaneRowStride()
244 *rowStride = (planeIdx == 0) ? mBuffer->stride : mBuffer->chromaStride; in getPlaneRowStride()
254 *rowStride = (planeIdx == 0) ? mBuffer->stride : ALIGN(mBuffer->stride / 2, 16); in getPlaneRowStride()
336 AImage::getPlaneData(int planeIdx,/*out*/uint8_t** data, /*out*/int* dataLength) const { in getPlaneData() argument
337 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneData()
339 planeIdx, mNumPlanes - 1); in getPlaneData()
359 pData = (planeIdx == 0) ? mBuffer->data : in getPlaneData()
360 (planeIdx == 1) ? mBuffer->dataCb : mBuffer->dataCr; in getPlaneData()
362 if (planeIdx == 0) { in getPlaneData()
377 pData = (planeIdx == 0) ? mBuffer->data : in getPlaneData()
378 (planeIdx == 1) ? cb : cr; in getPlaneData()
379 dataSize = (planeIdx == 0) ? ySize : cSize; in getPlaneData()
394 pData = (planeIdx == 0) ? mBuffer->data : in getPlaneData()
395 (planeIdx == 1) ? cb : cr; in getPlaneData()
396 dataSize = (planeIdx == 0) ? ySize : cSize; in getPlaneData()
598 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) { in AImage_getPlanePixelStride() argument
605 return image->getPlanePixelStride(planeIdx, pixelStride); in AImage_getPlanePixelStride()
610 const AImage* image, int planeIdx, /*out*/int32_t* rowStride) { in AImage_getPlaneRowStride() argument
617 return image->getPlaneRowStride(planeIdx, rowStride); in AImage_getPlaneRowStride()
622 const AImage* image, int planeIdx, in AImage_getPlaneData() argument
630 return image->getPlaneData(planeIdx, data, dataLength); in AImage_getPlaneData()