Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp200 && layout.planes[layout.PLANE_U].channel == C2PlaneInfo::CHANNEL_CB in IsYUV420()
201 && layout.planes[layout.PLANE_U].allocatedDepth == 8 in IsYUV420()
202 && layout.planes[layout.PLANE_U].bitDepth == 8 in IsYUV420()
203 && layout.planes[layout.PLANE_U].rightShift == 0 in IsYUV420()
204 && layout.planes[layout.PLANE_U].colSampling == 2 in IsYUV420()
205 && layout.planes[layout.PLANE_U].rowSampling == 2 in IsYUV420()
220 && layout.planes[layout.PLANE_U].colInc == 2 in IsNV12()
221 && layout.planes[layout.PLANE_U].rootIx == layout.PLANE_U in IsNV12()
222 && layout.planes[layout.PLANE_U].offset == 0 in IsNV12()
224 && layout.planes[layout.PLANE_V].rootIx == layout.PLANE_U in IsNV12()
[all …]
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp312 addr[C2PlanarLayout::PLANE_U] = nullptr; in mapGraphic()
463 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F()
468 uint8_t *u = addr[C2PlanarLayout::PLANE_U]; in TEST_F()
469 C2PlaneInfo uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
484 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F()
489 u = addr[C2PlanarLayout::PLANE_U]; in TEST_F()
490 uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
532 uint8_t *u = data[C2PlanarLayout::PLANE_U]; in TEST_F()
533 C2PlaneInfo uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
560 const uint8_t *cu = constData[C2PlanarLayout::PLANE_U]; in TEST_F()
[all …]
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp530 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)pointer; in map()
552 layout->planes[C2PlanarLayout::PLANE_U] = { in map()
756 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)ycbcrLayout.cb; in map()
774 layout->planes[C2PlanarLayout::PLANE_U] = { in map()
784 C2PlanarLayout::PLANE_U, // rootIx in map()
801 intptr_t uvOffset = addr[C2PlanarLayout::PLANE_V] - addr[C2PlanarLayout::PLANE_U]; in map()
804 layout->planes[C2PlanarLayout::PLANE_V].rootIx = C2PlanarLayout::PLANE_U; in map()
808 layout->planes[C2PlanarLayout::PLANE_U].rootIx = C2PlanarLayout::PLANE_V; in map()
809 layout->planes[C2PlanarLayout::PLANE_U].offset = -uvOffset; in map()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp485 uint8_t *uPlane = const_cast<uint8_t *>(rView->data()[C2PlanarLayout::PLANE_U]); in process()
488 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
518 && layout.planes[layout.PLANE_U].colInc == 1 in process()
DC2SoftMpeg4Dec.cpp680 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in process()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp496 && layout.planes[layout.PLANE_U].colInc == 1 in process()
504 raw_frame.stride[1] = layout.planes[layout.PLANE_U].rowInc; in process()
DC2SoftVpxDec.cpp831 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp212 uint8_t *pU = view.data()[C2PlanarLayout::PLANE_U]; in encodeFrames()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp675 const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_U]); in setEncodeArgs()
679 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
717 layout.planes[layout.PLANE_U].colInc == 1 && in setEncodeArgs()
DC2SoftHevcDec.cpp553 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1253 uint8_t *uPlane = const_cast<uint8_t *>(input->data()[C2PlanarLayout::PLANE_U]); in setEncodeArgs()
1256 int32_t uStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in setEncodeArgs()
1288 && layout.planes[layout.PLANE_U].colInc == 1 in setEncodeArgs()
DC2SoftAvcDec.cpp557 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()
/frameworks/av/media/codec2/hidl/1.0/vts/functional/video/
DVtsHalMediaC2V1_0TargetVideoEncTest.cpp356 uint8_t* pU = view.data()[C2PlanarLayout::PLANE_U]; in encodeNFrames()
/frameworks/av/media/codec2/components/aom/
DC2SoftAomDec.cpp703 size_t dstUVStride = layout.planes[C2PlanarLayout::PLANE_U].rowInc; in outputBuffer()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1573 PLANE_U = 1, enumerator
/frameworks/av/media/codec2/components/mpeg2/
DC2SoftMpeg2Dec.cpp620 ps_decode_ip->s_out_buffer.pu1_bufs[1] = outBuffer->data()[C2PlanarLayout::PLANE_U]; in setDecodeArgs()