Home
last modified time | relevance | path

Searched refs:C2PlaneInfo (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp420 C2PlaneInfo::channel_t channel; in Gralloc4Mapper_lock()
425 channel = C2PlaneInfo::CHANNEL_Y; in Gralloc4Mapper_lock()
429 channel = C2PlaneInfo::CHANNEL_CB; in Gralloc4Mapper_lock()
433 channel = C2PlaneInfo::CHANNEL_CR; in Gralloc4Mapper_lock()
450 C2PlaneInfo::NATIVE, // endianness in Gralloc4Mapper_lock()
470 constexpr C2PlaneInfo::endianness_t kEndianness = C2PlaneInfo::NATIVE; in PopulatePlaneLayout()
511 C2PlaneInfo::CHANNEL_Y, // channel in PopulatePlaneLayout()
519 C2PlaneInfo::LITTLE_END, // endianness in PopulatePlaneLayout()
524 C2PlaneInfo::CHANNEL_CB, // channel in PopulatePlaneLayout()
532 C2PlaneInfo::LITTLE_END, // endianness in PopulatePlaneLayout()
[all …]
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp190 const C2PlaneInfo& yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST()
191 const C2PlaneInfo& uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in TEST()
192 const C2PlaneInfo& vPlane = layout.planes[C2PlanarLayout::PLANE_V]; in TEST()
327 const C2PlaneInfo& yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST()
328 const C2PlaneInfo& uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in TEST()
329 const C2PlaneInfo& vPlane = layout.planes[C2PlanarLayout::PLANE_V]; in TEST()
488 C2PlaneInfo::CHANNEL_Y, in YUVPlanarLayout()
496 C2PlaneInfo::NATIVE, in YUVPlanarLayout()
501 C2PlaneInfo::CHANNEL_CB, in YUVPlanarLayout()
509 C2PlaneInfo::NATIVE, in YUVPlanarLayout()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp310 C2PlaneInfo yPlane = layout.planes[C2PlanarLayout::PLANE_Y]; in GraphicView2MediaImageConverter()
311 C2PlaneInfo uPlane = layout.planes[C2PlanarLayout::PLANE_U]; in GraphicView2MediaImageConverter()
312 C2PlaneInfo vPlane = layout.planes[C2PlanarLayout::PLANE_V]; in GraphicView2MediaImageConverter()
313 if (yPlane.channel != C2PlaneInfo::CHANNEL_Y in GraphicView2MediaImageConverter()
314 || uPlane.channel != C2PlaneInfo::CHANNEL_CB in GraphicView2MediaImageConverter()
315 || vPlane.channel != C2PlaneInfo::CHANNEL_CR) { in GraphicView2MediaImageConverter()
325 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter()
539 const C2PlaneInfo &plane = layout.planes[0]; in GraphicView2MediaImageConverter()
563 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter()
584 const C2PlaneInfo &plane = layout.planes[i]; in GraphicView2MediaImageConverter()
[all …]
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp79 const C2PlaneInfo &plane = layout.planes[i]; in _ImageCopy()
296 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y in IsYUV420()
302 && layout.planes[layout.PLANE_U].channel == C2PlaneInfo::CHANNEL_CB in IsYUV420()
308 && layout.planes[layout.PLANE_V].channel == C2PlaneInfo::CHANNEL_CR in IsYUV420()
320 && layout.planes[layout.PLANE_Y].channel == C2PlaneInfo::CHANNEL_Y in IsYUV420_10bit()
325 && layout.planes[layout.PLANE_U].channel == C2PlaneInfo::CHANNEL_CB in IsYUV420_10bit()
330 && layout.planes[layout.PLANE_V].channel == C2PlaneInfo::CHANNEL_CR in IsYUV420_10bit()
/frameworks/av/media/codec2/tests/vndk/
DC2BufferTest.cpp435 void fillPlane(const C2Rect rect, const C2PlaneInfo info, uint8_t *addr, uint8_t value) { in fillPlane()
445 bool verifyPlane(const C2Rect rect, const C2PlaneInfo info, const uint8_t *addr, uint8_t value) { in verifyPlane()
473 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
475 C2PlaneInfo uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
477 C2PlaneInfo vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()
537 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
539 C2PlaneInfo uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
541 C2PlaneInfo vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()
/frameworks/av/media/codec2/core/include/
DC2Buffer.h1610 struct C2PlaneInfo { struct
1714 C2PlaneInfo planes[MAX_NUM_PLANES];