Lines Matching refs:C2PlanarLayout
69 const C2PlanarLayout &layout = view.layout(); in _ImageCopy()
265 const C2PlanarLayout &layout = view.layout(); in IsYUV420()
267 && layout.type == C2PlanarLayout::TYPE_YUV in IsYUV420()
292 const C2PlanarLayout &layout = view.layout(); in IsNV12()
306 const C2PlanarLayout &layout = view.layout(); in IsNV21()
320 const C2PlanarLayout &layout = view.layout(); in IsI420()
537 const C2PlanarLayout &layout = src.layout(); in ConvertRGBToPlanarYUV()
538 const uint8_t *pRed = src.data()[C2PlanarLayout::PLANE_R]; in ConvertRGBToPlanarYUV()
539 const uint8_t *pGreen = src.data()[C2PlanarLayout::PLANE_G]; in ConvertRGBToPlanarYUV()
540 const uint8_t *pBlue = src.data()[C2PlanarLayout::PLANE_B]; in ConvertRGBToPlanarYUV()
575 pRed += layout.planes[C2PlanarLayout::PLANE_R].colInc; in ConvertRGBToPlanarYUV()
576 pGreen += layout.planes[C2PlanarLayout::PLANE_G].colInc; in ConvertRGBToPlanarYUV()
577 pBlue += layout.planes[C2PlanarLayout::PLANE_B].colInc; in ConvertRGBToPlanarYUV()
585 pRed -= layout.planes[C2PlanarLayout::PLANE_R].colInc * src.width(); in ConvertRGBToPlanarYUV()
586 pGreen -= layout.planes[C2PlanarLayout::PLANE_G].colInc * src.width(); in ConvertRGBToPlanarYUV()
587 pBlue -= layout.planes[C2PlanarLayout::PLANE_B].colInc * src.width(); in ConvertRGBToPlanarYUV()
588 pRed += layout.planes[C2PlanarLayout::PLANE_R].rowInc; in ConvertRGBToPlanarYUV()
589 pGreen += layout.planes[C2PlanarLayout::PLANE_G].rowInc; in ConvertRGBToPlanarYUV()
590 pBlue += layout.planes[C2PlanarLayout::PLANE_B].rowInc; in ConvertRGBToPlanarYUV()