Lines Matching refs:C2PlanarLayout
302 void mapGraphic(C2Rect rect, C2PlanarLayout *layout, uint8_t **addr) { in mapGraphic()
312 addr[C2PlanarLayout::PLANE_Y] = nullptr; in mapGraphic()
313 addr[C2PlanarLayout::PLANE_U] = nullptr; in mapGraphic()
314 addr[C2PlanarLayout::PLANE_V] = nullptr; in mapGraphic()
318 memcpy(mAddrGraphic, addr, sizeof(uint8_t*) * C2PlanarLayout::MAX_NUM_PLANES); in mapGraphic()
344 uint8_t* mAddrGraphic[C2PlanarLayout::MAX_NUM_PLANES];
464 uint8_t *addr[C2PlanarLayout::MAX_NUM_PLANES]; in TEST_F()
466 C2PlanarLayout layout; in TEST_F()
468 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F()
469 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F()
470 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_V]); in TEST_F()
472 uint8_t *y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F()
473 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; 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()
476 uint8_t *v = addr[C2PlanarLayout::PLANE_V]; in TEST_F()
477 C2PlaneInfo vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()
489 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F()
490 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F()
491 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_V]); in TEST_F()
493 y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F()
494 yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
495 u = addr[C2PlanarLayout::PLANE_U]; in TEST_F()
496 uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
497 v = addr[C2PlanarLayout::PLANE_V]; in TEST_F()
498 vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()
533 C2PlanarLayout layout = graphicView.layout(); in TEST_F()
536 uint8_t *y = data[C2PlanarLayout::PLANE_Y]; in TEST_F()
537 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; 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()
540 uint8_t *v = data[C2PlanarLayout::PLANE_V]; in TEST_F()
541 C2PlaneInfo vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()
564 const uint8_t *cy = constData[C2PlanarLayout::PLANE_Y]; in TEST_F()
565 yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
566 const uint8_t *cu = constData[C2PlanarLayout::PLANE_U]; in TEST_F()
567 uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
568 const uint8_t *cv = constData[C2PlanarLayout::PLANE_V]; in TEST_F()
569 vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()