Searched refs:srcBufferYCbCr (Results 1 – 1 of 1) sorted by relevance
215 auto& srcBufferYCbCr = *srcBufferYCbCrOpt; in ConvertFromYV12() local218 if (srcBufferYCbCr.chroma_step != 1) { in ConvertFromYV12()223 uint8_t* srcY = reinterpret_cast<uint8_t*>(srcBufferYCbCr.y); in ConvertFromYV12()224 const int strideYBytes = static_cast<int>(srcBufferYCbCr.ystride); in ConvertFromYV12()225 uint8_t* srcU = reinterpret_cast<uint8_t*>(srcBufferYCbCr.cb); in ConvertFromYV12()226 const int strideUBytes = static_cast<int>(srcBufferYCbCr.cstride); in ConvertFromYV12()227 uint8_t* srcV = reinterpret_cast<uint8_t*>(srcBufferYCbCr.cr); in ConvertFromYV12()228 const int strideVBytes = static_cast<int>(srcBufferYCbCr.cstride); in ConvertFromYV12()231 srcY += src.cropY * srcBufferYCbCr.ystride + src.cropX; in ConvertFromYV12()232 srcV += (src.cropY / 2) * srcBufferYCbCr.cstride + (src.cropX / 2); in ConvertFromYV12()[all …]