Searched refs:rowSampling (Results 1 – 7 of 7) sorted by relevance
320 bool yuv420888 = yPlane.rowSampling == 1 && yPlane.colSampling == 1 in GraphicView2MediaImageConverter()321 && uPlane.rowSampling == 2 && uPlane.colSampling == 2 in GraphicView2MediaImageConverter()322 && vPlane.rowSampling == 2 && vPlane.colSampling == 2; in GraphicView2MediaImageConverter()436 && yPlane.rowSampling == 1 && yPlane.colSampling == 1 in GraphicView2MediaImageConverter()437 && uPlane.rowSampling == 2 && uPlane.colSampling == 2 in GraphicView2MediaImageConverter()438 && vPlane.rowSampling == 2 && vPlane.colSampling == 2 in GraphicView2MediaImageConverter()456 mediaImage->mPlane[mediaImage->Y].mVertSubsampling = yPlane.rowSampling; in GraphicView2MediaImageConverter()457 int32_t offset = rowInc * vStride / yPlane.rowSampling; in GraphicView2MediaImageConverter()464 mediaImage->mPlane[mediaImage->U].mVertSubsampling = uPlane.rowSampling; in GraphicView2MediaImageConverter()465 offset += rowInc * vStride / uPlane.rowSampling; in GraphicView2MediaImageConverter()[all …]
81 || plane.rowSampling != img->mPlane[i].mVertSubsampling in _ImageCopy()91 uint32_t planeH = img->mHeight / plane.rowSampling; in _ImageCopy()301 && layout.planes[layout.PLANE_Y].rowSampling == 1 in IsYUV420()307 && layout.planes[layout.PLANE_U].rowSampling == 2 in IsYUV420()313 && layout.planes[layout.PLANE_V].rowSampling == 2); in IsYUV420()324 && layout.planes[layout.PLANE_Y].rowSampling == 1 in IsYUV420_10bit()329 && layout.planes[layout.PLANE_U].rowSampling == 2 in IsYUV420_10bit()334 && layout.planes[layout.PLANE_V].rowSampling == 2); in IsYUV420_10bit()
196 ASSERT_EQ(1u, yPlane.rowSampling); in TEST()203 ASSERT_EQ(2u, uPlane.rowSampling); in TEST()210 ASSERT_EQ(2u, vPlane.rowSampling); in TEST()333 ASSERT_EQ(1u, yPlane.rowSampling); in TEST()340 ASSERT_EQ(2u, uPlane.rowSampling); in TEST()347 ASSERT_EQ(2u, vPlane.rowSampling); in TEST()652 for (uint32_t row = 0; row < view.height() / plane.rowSampling; ++row) { in FillPlane()
436 for (uint32_t row = 0; row < rect.height / info.rowSampling; ++row) { in fillPlane()437 int32_t rowOffset = (row + rect.top / info.rowSampling) * info.rowInc; in fillPlane()446 for (uint32_t row = 0; row < rect.height / info.rowSampling; ++row) { in verifyPlane()447 int32_t rowOffset = (row + rect.top / info.rowSampling) * info.rowInc; in verifyPlane()
1313 const uint32_t rowSampling = mLayout.planes[planeIx].rowSampling; in Mapped() local1315 || crop.top % rowSampling || crop.bottom() % rowSampling) { in Mapped()
1626 uint32_t rowSampling; ///< subsampling compared to height (must be a power of 2) member
2662 int rowSampling = 1; in android_media_MediaCodec_mapHardwareBuffer() local2667 int maxRowOffset = plane.rowStride * (desc.height / rowSampling - 1); in android_media_MediaCodec_mapHardwareBuffer()2683 rowSampling = 2; in android_media_MediaCodec_mapHardwareBuffer()