Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp302 && layout.planes[layout.PLANE_U].channel == C2PlaneInfo::CHANNEL_CB in IsYUV420()
303 && layout.planes[layout.PLANE_U].allocatedDepth == 8 in IsYUV420()
304 && layout.planes[layout.PLANE_U].bitDepth == 8 in IsYUV420()
305 && layout.planes[layout.PLANE_U].rightShift == 0 in IsYUV420()
306 && layout.planes[layout.PLANE_U].colSampling == 2 in IsYUV420()
307 && layout.planes[layout.PLANE_U].rowSampling == 2 in IsYUV420()
325 && layout.planes[layout.PLANE_U].channel == C2PlaneInfo::CHANNEL_CB in IsYUV420_10bit()
326 && layout.planes[layout.PLANE_U].allocatedDepth == 16 in IsYUV420_10bit()
327 && layout.planes[layout.PLANE_U].bitDepth == 10 in IsYUV420_10bit()
328 && layout.planes[layout.PLANE_U].colSampling == 2 in IsYUV420_10bit()
[all …]
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp428 planeId = C2PlanarLayout::PLANE_U; in Gralloc4Mapper_lock()
504 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)pointer; in PopulatePlaneLayout()
523 layout->planes[C2PlanarLayout::PLANE_U] = { in PopulatePlaneLayout()
669 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)ycbcrLayout.cb; in PopulatePlaneLayout()
687 layout->planes[C2PlanarLayout::PLANE_U] = { in PopulatePlaneLayout()
697 C2PlanarLayout::PLANE_U, // rootIx in PopulatePlaneLayout()
733 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)pointer + stride * 2 * rect.height(); in PopulatePlaneLayout()
734 addr[C2PlanarLayout::PLANE_V] = addr[C2PlanarLayout::PLANE_U] + 2; in PopulatePlaneLayout()
751 layout->planes[C2PlanarLayout::PLANE_U] = { in PopulatePlaneLayout()
761 C2PlanarLayout::PLANE_U, // rootIx in PopulatePlaneLayout()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp191 const C2PlaneInfo& uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in TEST()
216 uint8_t *uRowPtr = view.data()[C2PlanarLayout::PLANE_U]; in TEST()
328 const C2PlaneInfo& uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in TEST()
353 uint8_t *uRowPtr = view.data()[C2PlanarLayout::PLANE_U]; in TEST()
500 layout.planes[C2PlanarLayout::PLANE_U] = { in YUVPlanarLayout()
510 C2PlanarLayout::PLANE_U, /* rootIx */ in YUVPlanarLayout()
549 layout.planes[C2PlanarLayout::PLANE_U] = { in YUVSemiPlanarLayout()
559 C2PlanarLayout::PLANE_U, /* rootIx */ in YUVSemiPlanarLayout()
572 C2PlanarLayout::PLANE_U, /* rootIx */ in YUVSemiPlanarLayout()
598 layout.planes[C2PlanarLayout::PLANE_U] = { in YVUSemiPlanarLayout()
[all …]
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp313 addr[C2PlanarLayout::PLANE_U] = nullptr; in mapGraphic()
469 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F()
474 uint8_t *u = addr[C2PlanarLayout::PLANE_U]; in TEST_F()
475 C2PlaneInfo uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
490 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F()
495 u = addr[C2PlanarLayout::PLANE_U]; in TEST_F()
496 uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
538 uint8_t *u = data[C2PlanarLayout::PLANE_U]; in TEST_F()
539 C2PlaneInfo uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
566 const uint8_t *cu = constData[C2PlanarLayout::PLANE_U]; in TEST_F()
[all …]
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp587 uint8_t *uPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_U]); in process()
590 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
620 && layout.planes[layout.PLANE_U].colInc == 1 in process()
DC2SoftMpeg4Dec.cpp603 uint8_t *outputBufferU = wView.data()[C2PlanarLayout::PLANE_U]; in process()
608 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp214 uint8_t *pU = view.data()[C2PlanarLayout::PLANE_U]; in encodeFrames()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp574 uint8_t* dstU = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer()
581 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
DC2SoftAomEnc.cpp936 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process()
969 layout.planes[layout.PLANE_U].rowInc / 2, in process()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoDecTest.cpp203 uint8_t* uPlane = const_cast<uint8_t*>(output.data()[C2PlanarLayout::PLANE_U]); in compareMd5Chksm()
208 size_t uvStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in compareMd5Chksm()
209 size_t colInc = layout.planes[C2PlanarLayout::PLANE_U].colInc; in compareMd5Chksm()
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp417 uint8_t* pU = view.data()[C2PlanarLayout::PLANE_U]; in encodeNFrames()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp875 const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_U]); in setEncodeArgs()
879 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
918 layout.planes[layout.PLANE_U].colInc == 1 && in setEncodeArgs()
DC2SoftHevcDec.cpp564 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxDec.cpp797 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer()
805 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
DC2SoftVpxEnc.cpp946 && layout.planes[layout.PLANE_U].colInc == 1 in process()
954 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1528 uint8_t *uPlane = const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_U]); in setEncodeArgs()
1531 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
1564 && layout.planes[layout.PLANE_U].colInc == 1 in setEncodeArgs()
DC2SoftAvcDec.cpp571 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()
/frameworks/av/media/codec2/components/dav1d/
DC2SoftDav1dDec.cpp1030 uint8_t* dstU = const_cast<uint8_t*>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer()
1035 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/av/media/codec2/components/gav1/
DC2SoftGav1Dec.cpp929 uint8_t *dstU = const_cast<uint8_t *>(wView.data()[C2PlanarLayout::PLANE_U]); in outputBuffer()
934 size_t dstUStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1705 PLANE_U = 1, enumerator
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp633 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp311 C2PlaneInfo uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in GraphicView2MediaImageConverter()