Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/codec2/sfplugin/
H A DCodec2Buffer.cpp246 mAllocatedDepth = layout.planes[0].allocatedDepth; in GraphicView2MediaImageConverter()
250 uint32_t stride = align(view.crop().width, 2) * divUp(layout.planes[0].allocatedDepth, 8u); in GraphicView2MediaImageConverter()
279 if (plane.allocatedDepth != 8 || plane.bitDepth != 8) { in GraphicView2MediaImageConverter()
379 tryWrapping = yPlane.allocatedDepth == 16 in GraphicView2MediaImageConverter()
380 && uPlane.allocatedDepth == 16 in GraphicView2MediaImageConverter()
381 && vPlane.allocatedDepth == 16 in GraphicView2MediaImageConverter()
520 if (plane.allocatedDepth < plane.bitDepth in GraphicView2MediaImageConverter()
521 || plane.rightShift != plane.allocatedDepth - plane.bitDepth) { in GraphicView2MediaImageConverter()
526 if (plane.allocatedDepth > 8 && plane.endianness != C2PlaneInfo::NATIVE) { in GraphicView2MediaImageConverter()
531 if (plane.allocatedDepth != mAllocatedDepth || plane.bitDepth != bitDepth) { in GraphicView2MediaImageConverter()
/aosp12/frameworks/av/media/codec2/sfplugin/utils/
H A DCodec2BufferUtils.cpp80 || plane.allocatedDepth != img->mBitDepthAllocated in _ImageCopy()
81 || plane.allocatedDepth < plane.bitDepth in _ImageCopy()
83 || plane.rightShift != plane.allocatedDepth - plane.bitDepth in _ImageCopy()
269 && layout.planes[layout.PLANE_Y].allocatedDepth == 8 in IsYUV420()
275 && layout.planes[layout.PLANE_U].allocatedDepth == 8 in IsYUV420()
281 && layout.planes[layout.PLANE_V].allocatedDepth == 8 in IsYUV420()
/aosp12/frameworks/av/media/codec2/sfplugin/tests/
H A DCCodecBuffers_test.cpp197 ASSERT_EQ(8u, yPlane.allocatedDepth); in TEST()
204 ASSERT_EQ(8u, uPlane.allocatedDepth); in TEST()
211 ASSERT_EQ(8u, vPlane.allocatedDepth); in TEST()
334 ASSERT_EQ(16u, yPlane.allocatedDepth); in TEST()
341 ASSERT_EQ(16u, uPlane.allocatedDepth); in TEST()
348 ASSERT_EQ(16u, vPlane.allocatedDepth); in TEST()
/aosp12/frameworks/av/media/codec2/core/include/
H A DC2Buffer.h1633 uint32_t allocatedDepth; ///< size of each sample (must be a multiple of 8) member
1683 ssize_t offs = (allocatedDepth + 7) >> 3; in maxOffset()