Lines Matching refs:C2PlanarLayout
301 void mapGraphic(C2Rect rect, C2PlanarLayout *layout, uint8_t **addr) { in mapGraphic()
311 addr[C2PlanarLayout::PLANE_Y] = nullptr; in mapGraphic()
312 addr[C2PlanarLayout::PLANE_U] = nullptr; in mapGraphic()
313 addr[C2PlanarLayout::PLANE_V] = nullptr; in mapGraphic()
317 memcpy(mAddrGraphic, addr, sizeof(uint8_t*) * C2PlanarLayout::MAX_NUM_PLANES); in mapGraphic()
338 uint8_t* mAddrGraphic[C2PlanarLayout::MAX_NUM_PLANES];
458 uint8_t *addr[C2PlanarLayout::MAX_NUM_PLANES]; in TEST_F()
460 C2PlanarLayout layout; in TEST_F()
462 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F()
463 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F()
464 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_V]); in TEST_F()
466 uint8_t *y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F()
467 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; 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()
470 uint8_t *v = addr[C2PlanarLayout::PLANE_V]; in TEST_F()
471 C2PlaneInfo vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()
483 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_Y]); in TEST_F()
484 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_U]); in TEST_F()
485 ASSERT_NE(nullptr, addr[C2PlanarLayout::PLANE_V]); in TEST_F()
487 y = addr[C2PlanarLayout::PLANE_Y]; in TEST_F()
488 yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
489 u = addr[C2PlanarLayout::PLANE_U]; in TEST_F()
490 uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
491 v = addr[C2PlanarLayout::PLANE_V]; in TEST_F()
492 vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()
527 C2PlanarLayout layout = graphicView.layout(); in TEST_F()
530 uint8_t *y = data[C2PlanarLayout::PLANE_Y]; in TEST_F()
531 C2PlaneInfo yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; 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()
534 uint8_t *v = data[C2PlanarLayout::PLANE_V]; in TEST_F()
535 C2PlaneInfo vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()
558 const uint8_t *cy = constData[C2PlanarLayout::PLANE_Y]; in TEST_F()
559 yInfo = layout.planes[C2PlanarLayout::PLANE_Y]; in TEST_F()
560 const uint8_t *cu = constData[C2PlanarLayout::PLANE_U]; in TEST_F()
561 uInfo = layout.planes[C2PlanarLayout::PLANE_U]; in TEST_F()
562 const uint8_t *cv = constData[C2PlanarLayout::PLANE_V]; in TEST_F()
563 vInfo = layout.planes[C2PlanarLayout::PLANE_V]; in TEST_F()