Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp311 addr[C2PlanarLayout::PLANE_Y] = nullptr; in mapGraphic()
462 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F()
466 uint8_t *y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F()
467 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
483 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F()
487 y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F()
488 yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
530 uint8_t *y = data[C2PlanarLayout::PLANE_Y]; in TEST_F()
531 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
558 const uint8_t *cy = constData[C2PlanarLayout::PLANE_Y]; in TEST_F()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp194 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y in IsYUV420()
195 && layout.planes[layout.PLANE_Y].allocatedDepth == 8 in IsYUV420()
196 && layout.planes[layout.PLANE_Y].bitDepth == 8 in IsYUV420()
197 && layout.planes[layout.PLANE_Y].rightShift == 0 in IsYUV420()
198 && layout.planes[layout.PLANE_Y].colSampling == 1 in IsYUV420()
199 && layout.planes[layout.PLANE_Y].rowSampling == 1 in IsYUV420()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp529 addr[C2PlanarLayout::PLANE_Y] = (uint8_t *)pointer; in map()
539 layout->planes[C2PlanarLayout::PLANE_Y] = { in map()
549 C2PlanarLayout::PLANE_Y, // rootIx in map()
562 C2PlanarLayout::PLANE_Y, // rootIx in map()
575 C2PlanarLayout::PLANE_Y, // rootIx in map()
588 C2PlanarLayout::PLANE_Y, // rootIx in map()
755 addr[C2PlanarLayout::PLANE_Y] = (uint8_t *)ycbcrLayout.y; in map()
761 layout->planes[C2PlanarLayout::PLANE_Y] = { in map()
771 C2PlanarLayout::PLANE_Y, // rootIx in map()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp484 uint8_t *yPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_Y]); in process()
487 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
517 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
DC2SoftMpeg4Dec.cpp677 uint8_t *outputBufferY = wView.data()[C2PlanarLayout::PLANE_Y]; in process()
679 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in process()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp495 if (layout.planes[layout.PLANE_Y].colInc == 1 in process()
503 raw_frame.stride[0] = layout.planes[layout.PLANE_Y].rowInc; in process()
DC2SoftVpxDec.cpp825 uint8_t *dst = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer()
830 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp211 uint8_t *pY = view.data()[C2PlanarLayout::PLANE_Y]; in encodeFrames()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp673 const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_Y]); in setEncodeArgs()
678 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
716 if (layout.planes[layout.PLANE_Y].colInc == 1 && in setEncodeArgs()
DC2SoftHevcDec.cpp521 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
552 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp697 uint8_t* dst = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer()
702 size_t dstYStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in outputBuffer()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1252 uint8_t *yPlane = const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_Y]); in setEncodeArgs()
1255 int32_t yStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setEncodeArgs()
1287 if (layout.planes[layout.PLANE_Y].colInc == 1 in setEncodeArgs()
DC2SoftAvcDec.cpp525 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
556 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp588 displayStride = layout.planes[C2PlanarLayout::PLANE_Y].rowInc; in setDecodeArgs()
619 ps_decode_ip->s_out_buffer.pu1_bufs[0] = outBuffer->data()[C2PlanarLayout::PLANE_Y]; in setDecodeArgs()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp355 uint8_t* pY = view.data()[C2PlanarLayout::PLANE_Y]; in encodeNFrames()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp682 uint8_t *dst = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_Y]); in outputBuffer()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1572 PLANE_Y = 0, enumerator