Searched refs:outputStride (Results 1 – 2 of 2) sorted by relevance
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/ |
D | ImsMediaImageRotate.cpp | 62 uint16_t outputStride, uint8_t* pYPlane, uint8_t* pUVPlane, uint16_t nSrcWidth, in YUV420_SP_Rotate90() argument 65 uint16_t x, y, nDstWidth = nSrcHeight, nDstHt = nSrcWidth, nPadWidth = outputStride - nDstWidth; in YUV420_SP_Rotate90() 66 uint64_t srcIdx, dstIdx = (outputStride * nDstHt) - 1; in YUV420_SP_Rotate90() 67 const size_t dstSize = outputStride * nDstHt * 1.5f; in YUV420_SP_Rotate90() 73 outputStride, nDstHt, dstSize, nOutBufSize); in YUV420_SP_Rotate90() 77 if (nDstWidth > outputStride) in YUV420_SP_Rotate90() 79 IMLOGE2("Destination width[%d] cannot be bigger than stride[%d]", nDstWidth, outputStride); in YUV420_SP_Rotate90() 155 uint16_t outputStride, uint8_t* pYPlane, uint8_t* pUVPlane, uint16_t nSrcWidth, in YUV420_SP_Rotate270() argument 158 uint16_t x, y, nDstWth = nSrcHeight, nDstHt = nSrcWidth, nPadWidth = outputStride - nDstWth; in YUV420_SP_Rotate270() 159 uint64_t srcIdx, dstIdx = outputStride * nDstHt - 1; in YUV420_SP_Rotate270() [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/include/utils/ |
D | ImsMediaImageRotate.h | 66 static int YUV420_SP_Rotate90(uint8_t* pOutBuffer, size_t nOutBufSize, uint16_t outputStride, 111 static int YUV420_SP_Rotate270(uint8_t* pOutBuffer, size_t nOutBufSize, uint16_t outputStride,
|