Home
last modified time | relevance | path

Searched refs:ycbcrLayout (Results 1 – 2 of 2) sorted by relevance

/hardware/google/av/codec2/vndk/
DC2AllocatorGralloc.cpp405 YCbCrLayout ycbcrLayout; in map() local
411 [&err, &ycbcrLayout](const auto &maperr, const auto &mapLayout) { in map()
414 ycbcrLayout = mapLayout; 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()
430 (int32_t)ycbcrLayout.yStride, // rowInc in map()
442 (int32_t)ycbcrLayout.chromaStep, // colInc in map()
443 (int32_t)ycbcrLayout.cStride, // rowInc in map()
455 (int32_t)ycbcrLayout.chromaStep, // colInc in map()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/video/
DVtsHalMediaOmxV1_0TargetVideoEncTest.cpp648 YCbCrLayout ycbcrLayout; in colorFormatConversion() local
666 ycbcrLayout = _n1; in colorFormatConversion()
682 char* ipBuffer = static_cast<char*>(ycbcrLayout.y); in colorFormatConversion()
685 ipBuffer += ycbcrLayout.yStride; in colorFormatConversion()
690 EXPECT_EQ(ycbcrLayout.chromaStep, 1U); in colorFormatConversion()
692 EXPECT_EQ(ycbcrLayout.chromaStep, 2U); in colorFormatConversion()
694 ipBuffer = static_cast<char*>(ycbcrLayout.cb); in colorFormatConversion()
697 ipBuffer[ycbcrLayout.chromaStep * x] = *imgTmp++; in colorFormatConversion()
699 ipBuffer += ycbcrLayout.cStride; in colorFormatConversion()
701 ipBuffer = static_cast<char*>(ycbcrLayout.cr); in colorFormatConversion()
[all …]