Lines Matching refs:C2PlanarLayout
68 const C2PlanarLayout &layout = view.layout(); in _ImageCopy()
191 const C2PlanarLayout &layout = view.layout(); in IsYUV420()
193 && layout.type == C2PlanarLayout::TYPE_YUV in IsYUV420()
218 const C2PlanarLayout &layout = view.layout(); in IsNV12()
232 const C2PlanarLayout &layout = view.layout(); in IsI420()
358 const C2PlanarLayout &layout = src.layout(); in ConvertRGBToPlanarYUV()
359 const uint8_t *pRed = src.data()[C2PlanarLayout::PLANE_R]; in ConvertRGBToPlanarYUV()
360 const uint8_t *pGreen = src.data()[C2PlanarLayout::PLANE_G]; in ConvertRGBToPlanarYUV()
361 const uint8_t *pBlue = src.data()[C2PlanarLayout::PLANE_B]; in ConvertRGBToPlanarYUV()
386 pRed += layout.planes[C2PlanarLayout::PLANE_R].colInc; in ConvertRGBToPlanarYUV()
387 pGreen += layout.planes[C2PlanarLayout::PLANE_G].colInc; in ConvertRGBToPlanarYUV()
388 pBlue += layout.planes[C2PlanarLayout::PLANE_B].colInc; in ConvertRGBToPlanarYUV()
396 pRed -= layout.planes[C2PlanarLayout::PLANE_R].colInc * src.width(); in ConvertRGBToPlanarYUV()
397 pGreen -= layout.planes[C2PlanarLayout::PLANE_G].colInc * src.width(); in ConvertRGBToPlanarYUV()
398 pBlue -= layout.planes[C2PlanarLayout::PLANE_B].colInc * src.width(); in ConvertRGBToPlanarYUV()
399 pRed += layout.planes[C2PlanarLayout::PLANE_R].rowInc; in ConvertRGBToPlanarYUV()
400 pGreen += layout.planes[C2PlanarLayout::PLANE_G].rowInc; in ConvertRGBToPlanarYUV()
401 pBlue += layout.planes[C2PlanarLayout::PLANE_B].rowInc; in ConvertRGBToPlanarYUV()