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.cpp647 YCbCrLayout ycbcrLayout; in colorFormatConversion() local
665 ycbcrLayout = _n1; in colorFormatConversion()
681 char* ipBuffer = static_cast<char*>(ycbcrLayout.y); in colorFormatConversion()
684 ipBuffer += ycbcrLayout.yStride; in colorFormatConversion()
689 EXPECT_EQ(ycbcrLayout.chromaStep, 1U); in colorFormatConversion()
691 EXPECT_EQ(ycbcrLayout.chromaStep, 2U); in colorFormatConversion()
693 ipBuffer = static_cast<char*>(ycbcrLayout.cb); in colorFormatConversion()
696 ipBuffer[ycbcrLayout.chromaStep * x] = *imgTmp++; in colorFormatConversion()
698 ipBuffer += ycbcrLayout.cStride; in colorFormatConversion()
700 ipBuffer = static_cast<char*>(ycbcrLayout.cr); in colorFormatConversion()
[all …]