Lines Matching refs:ycbcr
321 android_ycbcr ycbcr; in lock() local
323 ycbcr.y = nullptr; in lock()
324 ycbcr.cb = nullptr; in lock()
325 ycbcr.cr = nullptr; in lock()
326 ycbcr.ystride = 0; in lock()
327 ycbcr.cstride = 0; in lock()
328 ycbcr.chroma_step = 0; in lock()
347 if ((ycbcr.y != nullptr) || (planeLayout.sampleIncrementInBits % 8 != 0)) { in lock()
351 ycbcr.y = tmpData; in lock()
352 ycbcr.ystride = planeLayout.strideInBytes; in lock()
369 if (ycbcr.cstride == 0 && ycbcr.chroma_step == 0) { in lock()
370 ycbcr.cstride = planeLayout.strideInBytes; in lock()
371 ycbcr.chroma_step = sampleIncrementInBytes; in lock()
373 if ((static_cast<int64_t>(ycbcr.cstride) != planeLayout.strideInBytes) || in lock()
374 (ycbcr.chroma_step != sampleIncrementInBytes)) { in lock()
381 if (ycbcr.cb != nullptr) { in lock()
385 ycbcr.cb = tmpData; in lock()
387 if (ycbcr.cr != nullptr) { in lock()
391 ycbcr.cr = tmpData; in lock()
400 *outYcbcr = ycbcr; in lock()