Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp248 || layout.planes[0].colSampling != 1 in GraphicView2MediaImageConverter()
250 || layout.planes[1].colSampling != 2 in GraphicView2MediaImageConverter()
252 || layout.planes[2].colSampling != 2 in GraphicView2MediaImageConverter()
276 / plane.rowSampling / plane.colSampling in GraphicView2MediaImageConverter()
289 mediaImage->mPlane[i].mHorizSubsampling = plane.colSampling; in GraphicView2MediaImageConverter()
424 / plane.rowSampling / plane.colSampling; in GraphicView2MediaImageConverter()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp77 if (plane.colSampling != img->mPlane[i].mHorizSubsampling in _ImageCopy()
87 uint32_t planeW = img->mWidth / plane.colSampling; in _ImageCopy()
198 && layout.planes[layout.PLANE_Y].colSampling == 1 in IsYUV420()
204 && layout.planes[layout.PLANE_U].colSampling == 2 in IsYUV420()
210 && layout.planes[layout.PLANE_V].colSampling == 2 in IsYUV420()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp432 for (uint32_t col = 0; col < rect.width / info.colSampling; ++col) { in fillPlane()
433 int32_t colOffset = (col + rect.left / info.colSampling) * info.colInc; in fillPlane()
442 for (uint32_t col = 0; col < rect.width / info.colSampling; ++col) { in verifyPlane()
443 int32_t colOffset = (col + rect.left / info.colSampling) * info.colInc; in verifyPlane()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp858 const uint32_t colSampling = mLayout.planes[planeIx].colSampling; in Mapped() local
860 if (crop.left % colSampling || crop.right() % colSampling in Mapped()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1493 uint32_t colSampling; ///< subsampling compared to width (must be a power of 2) member