Home
last modified time | relevance | path

Searched refs:componentBytes (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp147 const uint32_t componentBytes = (bitDepth + 7) / 8; in CreateYUV420PlanarMediaImage2() local
154 .mBitDepthAllocated = componentBytes * 8, in CreateYUV420PlanarMediaImage2()
158 .mColInc = static_cast<int32_t>(componentBytes), in CreateYUV420PlanarMediaImage2()
165 .mColInc = static_cast<int32_t>(componentBytes), in CreateYUV420PlanarMediaImage2()
172 .mColInc = static_cast<int32_t>(componentBytes), in CreateYUV420PlanarMediaImage2()
184 const uint32_t componentBytes = (bitDepth + 7) / 8; in CreateYUV420SemiPlanarMediaImage2() local
191 .mBitDepthAllocated = componentBytes * 8, in CreateYUV420SemiPlanarMediaImage2()
195 .mColInc = static_cast<int32_t>(componentBytes), in CreateYUV420SemiPlanarMediaImage2()
201 .mOffset = stride * vstride + (uv ? 0 : componentBytes), in CreateYUV420SemiPlanarMediaImage2()
202 .mColInc = static_cast<int32_t>(2 * componentBytes), in CreateYUV420SemiPlanarMediaImage2()
[all …]