• Home
  • Raw
  • Download

Lines Matching refs:C2PlanarLayout

279             C2PlanarLayout *layout /* nonnull */, uint8_t **addr /* nonnull */) override;
329 uint8_t* addr[C2PlanarLayout::MAX_NUM_PLANES] = {}; in ~C2AllocationGralloc()
348 C2PlanarLayout *layout /* nonnull */, uint8_t **addr /* nonnull */) { in map()
421 addr[C2PlanarLayout::PLANE_Y] = (uint8_t *)ycbcrLayout.y; in map()
422 addr[C2PlanarLayout::PLANE_U] = (uint8_t *)ycbcrLayout.cb; in map()
423 addr[C2PlanarLayout::PLANE_V] = (uint8_t *)ycbcrLayout.cr; in map()
424 layout->type = C2PlanarLayout::TYPE_YUV; in map()
427 layout->planes[C2PlanarLayout::PLANE_Y] = { in map()
437 C2PlanarLayout::PLANE_Y, // rootIx in map()
440 layout->planes[C2PlanarLayout::PLANE_U] = { in map()
450 C2PlanarLayout::PLANE_U, // rootIx in map()
453 layout->planes[C2PlanarLayout::PLANE_V] = { in map()
463 C2PlanarLayout::PLANE_V, // rootIx in map()
467 intptr_t uvOffset = addr[C2PlanarLayout::PLANE_V] - addr[C2PlanarLayout::PLANE_U]; in map()
470 layout->planes[C2PlanarLayout::PLANE_V].rootIx = C2PlanarLayout::PLANE_U; in map()
471 layout->planes[C2PlanarLayout::PLANE_V].offset = uvOffset; in map()
474 layout->planes[C2PlanarLayout::PLANE_U].rootIx = C2PlanarLayout::PLANE_V; in map()
475 layout->planes[C2PlanarLayout::PLANE_U].offset = -uvOffset; in map()
501 addr[C2PlanarLayout::PLANE_R] = (uint8_t *)pointer; in map()
502 addr[C2PlanarLayout::PLANE_G] = (uint8_t *)pointer + 1; in map()
503 addr[C2PlanarLayout::PLANE_B] = (uint8_t *)pointer + 2; in map()
504 layout->type = C2PlanarLayout::TYPE_RGB; in map()
507 layout->planes[C2PlanarLayout::PLANE_R] = { in map()
517 C2PlanarLayout::PLANE_R, // rootIx in map()
520 layout->planes[C2PlanarLayout::PLANE_G] = { in map()
530 C2PlanarLayout::PLANE_R, // rootIx in map()
533 layout->planes[C2PlanarLayout::PLANE_B] = { in map()
543 C2PlanarLayout::PLANE_R, // rootIx in map()