Lines Matching refs:ycbcr
636 android_ycbcr ycbcr; in lock() local
638 ycbcr.y = nullptr; in lock()
639 ycbcr.cb = nullptr; in lock()
640 ycbcr.cr = nullptr; in lock()
641 ycbcr.ystride = 0; in lock()
642 ycbcr.cstride = 0; in lock()
643 ycbcr.chroma_step = 0; in lock()
662 if ((ycbcr.y != nullptr) || (planeLayout.sampleIncrementInBits % 8 != 0)) { in lock()
666 ycbcr.y = tmpData; in lock()
667 ycbcr.ystride = planeLayout.strideInBytes; in lock()
684 if (ycbcr.cstride == 0 && ycbcr.chroma_step == 0) { in lock()
685 ycbcr.cstride = planeLayout.strideInBytes; in lock()
686 ycbcr.chroma_step = sampleIncrementInBytes; in lock()
688 if ((static_cast<int64_t>(ycbcr.cstride) != planeLayout.strideInBytes) || in lock()
689 (ycbcr.chroma_step != sampleIncrementInBytes)) { in lock()
696 if (ycbcr.cb != nullptr) { in lock()
700 ycbcr.cb = tmpData; in lock()
702 if (ycbcr.cr != nullptr) { in lock()
706 ycbcr.cr = tmpData; in lock()
715 *outYcbcr = ycbcr; in lock()