Lines Matching refs:yuvBuffer
680 mPendingInputFrames[frameNumber].yuvBuffer = imgBuffer; in compilePendingInputLocked()
795 bool codecInputReady = (it.second.yuvBuffer.data != nullptr) && in getNextReadyInputLocked()
836 bool codecInputReady = inputFrame.yuvBuffer.data != nullptr && in processInputFrame()
1069 res = copyOneYuvTile(buffer, inputFrame.yuvBuffer, top, left, width, height); in processCodecInputFrame()
1207 if (inputFrame->yuvBuffer.data != nullptr) { in releaseInputFrameLocked()
1208 mMainImageConsumer->unlockBuffer(inputFrame->yuvBuffer); in releaseInputFrameLocked()
1209 inputFrame->yuvBuffer.data = nullptr; in releaseInputFrameLocked()
1482 const CpuConsumer::LockedBuffer& yuvBuffer, in copyOneYuvTile() argument
1510 __FUNCTION__, yuvBuffer.chromaStep, yuvBuffer.chromaStride); in copyOneYuvTile()
1523 mFnCopyRow(yuvBuffer.data+row*yuvBuffer.stride+left, dst, width); in copyOneYuvTile()
1544 bool cameraUPlaneFirst = yuvBuffer.dataCr > yuvBuffer.dataCb; in copyOneYuvTile()
1546 if (isCodecUvSemiplannar && yuvBuffer.chromaStep == 2 && in copyOneYuvTile()
1551 uint8_t *src = std::min(yuvBuffer.dataCb, yuvBuffer.dataCr); in copyOneYuvTile()
1556 mFnCopyRow(src+row*yuvBuffer.chromaStride+left, dst, width); in copyOneYuvTile()
1558 } else if (isCodecUvPlannar && yuvBuffer.chromaStep == 1) { in copyOneYuvTile()
1563 mFnCopyRow(yuvBuffer.dataCb+row*yuvBuffer.chromaStride+left/2, dst, width/2); in copyOneYuvTile()
1570 mFnCopyRow(yuvBuffer.dataCr+row*yuvBuffer.chromaStride+left/2, dst, width/2); in copyOneYuvTile()
1582 int32_t srcIndex = row * yuvBuffer.chromaStride + yuvBuffer.chromaStep * col; in copyOneYuvTile()
1583 dst[dstIndex] = yuvBuffer.dataCb[srcIndex]; in copyOneYuvTile()
1589 srcIndex = row * yuvBuffer.chromaStride + yuvBuffer.chromaStep * col; in copyOneYuvTile()
1590 dst[dstIndex] = yuvBuffer.dataCr[srcIndex]; in copyOneYuvTile()