Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp190 const C2PlaneInfo& yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST()
215 uint8_t *yRowPtr = view.data()[C2PlanarLayout::PLANE_Y]; in TEST()
327 const C2PlaneInfo& yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST()
352 uint8_t *yRowPtr = view.data()[C2PlanarLayout::PLANE_Y]; in TEST()
487 layout.planes[C2PlanarLayout::PLANE_Y] = { in YUVPlanarLayout()
497 C2PlanarLayout::PLANE_Y, /* rootIx */ in YUVPlanarLayout()
536 layout.planes[C2PlanarLayout::PLANE_Y] = { in YUVSemiPlanarLayout()
546 C2PlanarLayout::PLANE_Y, /* rootIx */ in YUVSemiPlanarLayout()
585 layout.planes[C2PlanarLayout::PLANE_Y] = { in YVUSemiPlanarLayout()
595 C2PlanarLayout::PLANE_Y, /* rootIx */ in YVUSemiPlanarLayout()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp296 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y in IsYUV420()
297 && layout.planes[layout.PLANE_Y].allocatedDepth == 8 in IsYUV420()
298 && layout.planes[layout.PLANE_Y].bitDepth == 8 in IsYUV420()
299 && layout.planes[layout.PLANE_Y].rightShift == 0 in IsYUV420()
300 && layout.planes[layout.PLANE_Y].colSampling == 1 in IsYUV420()
301 && layout.planes[layout.PLANE_Y].rowSampling == 1 in IsYUV420()
320 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y in IsYUV420_10bit()
321 && layout.planes[layout.PLANE_Y].allocatedDepth == 16 in IsYUV420_10bit()
322 && layout.planes[layout.PLANE_Y].bitDepth == 10 in IsYUV420_10bit()
323 && layout.planes[layout.PLANE_Y].colSampling == 1 in IsYUV420_10bit()
[all …]
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp424 planeId = C2PlanarLayout::PLANE_Y; in Gralloc4Mapper_lock()
503 addr[C2PlanarLayout::PLANE_Y] = (uint8_t *)pointer; in PopulatePlaneLayout()
510 layout->planes[C2PlanarLayout::PLANE_Y] = { in PopulatePlaneLayout()
520 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout()
533 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout()
546 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout()
559 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout()
668 addr[C2PlanarLayout::PLANE_Y] = (uint8_t *)ycbcrLayout.y; in PopulatePlaneLayout()
674 layout->planes[C2PlanarLayout::PLANE_Y] = { in PopulatePlaneLayout()
684 C2PlanarLayout::PLANE_Y, // rootIx in PopulatePlaneLayout()
[all …]
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp312 addr[C2PlanarLayout::PLANE_Y] = nullptr; in mapGraphic()
468 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F()
472 uint8_t *y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F()
473 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
489 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F()
493 y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F()
494 yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
536 uint8_t *y = data[C2PlanarLayout::PLANE_Y]; in TEST_F()
537 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
564 const uint8_t *cy = constData[C2PlanarLayout::PLANE_Y]; in TEST_F()
[all …]
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp586 uint8_t *yPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_Y]); in process()
589 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
619 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
DC2SoftMpeg4Dec.cpp602 uint8_t *outputBufferY = wView.data()[C2PlanarLayout::PLANE_Y]; in process()
607 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomEnc.cpp827 mIs10Bit = (layout.planes[layout.PLANE_Y].bitDepth == 10); in process()
935 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process()
968 layout.planes[layout.PLANE_Y].rowInc / 2, in process()
996 layout.planes[layout.PLANE_Y].rowInc / 4, stride, in process()
DC2SoftAomDec.cpp573 uint8_t* dstY = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer()
580 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp213 uint8_t *pY = view.data()[C2PlanarLayout::PLANE_Y]; in encodeFrames()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp202 uint8_t* yPlane = const_cast<uint8_t*>(output.data()[C2PlanarLayout::PLANE_Y]); in compareMd5Chksm()
207 size_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in compareMd5Chksm()
210 size_t bitDepth = layout.planes[C2PlanarLayout::PLANE_Y].bitDepth; in compareMd5Chksm()
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp416 uint8_t* pY = view.data()[C2PlanarLayout::PLANE_Y]; in encodeNFrames()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp873 const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_Y]); in setEncodeArgs()
878 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
917 if (layout.planes[layout.PLANE_Y].colInc == 1 && in setEncodeArgs()
DC2SoftHevcDec.cpp532 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
563 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp796 uint8_t *dstY = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer()
804 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
DC2SoftVpxEnc.cpp945 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
953 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp601 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
632 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcDec.cpp539 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
570 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
DC2SoftAvcEnc.cpp1527 uint8_t *yPlane = const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_Y]); in setEncodeArgs()
1530 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
1563 if (layout.planes[layout.PLANE_Y].colInc == 1 in setEncodeArgs()
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp1029 uint8_t* dstY = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer()
1034 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp928 uint8_t *dstY = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer()
933 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1704 PLANE_Y = 0, enumerator
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp310 C2PlaneInfo yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in GraphicView2MediaImageConverter()