Lines Matching refs:planes
343 layout->planes[i].bits_per_component = 8; in ycbcr_to_flexible_layout()
344 layout->planes[i].bits_used = 8; in ycbcr_to_flexible_layout()
345 layout->planes[i].h_increment = 1; in ycbcr_to_flexible_layout()
346 layout->planes[i].v_increment = 1; in ycbcr_to_flexible_layout()
347 layout->planes[i].h_subsampling = 2; in ycbcr_to_flexible_layout()
348 layout->planes[i].v_subsampling = 2; in ycbcr_to_flexible_layout()
351 layout->planes[0].top_left = (uint8_t*)ycbcr->y; in ycbcr_to_flexible_layout()
352 layout->planes[0].component = FLEX_COMPONENT_Y; in ycbcr_to_flexible_layout()
353 layout->planes[0].v_increment = (int32_t)ycbcr->ystride; in ycbcr_to_flexible_layout()
355 layout->planes[1].top_left = (uint8_t*)ycbcr->cb; in ycbcr_to_flexible_layout()
356 layout->planes[1].component = FLEX_COMPONENT_Cb; in ycbcr_to_flexible_layout()
357 layout->planes[1].h_increment = (int32_t)ycbcr->chroma_step; in ycbcr_to_flexible_layout()
358 layout->planes[1].v_increment = (int32_t)ycbcr->cstride; in ycbcr_to_flexible_layout()
360 layout->planes[2].top_left = (uint8_t*)ycbcr->cr; in ycbcr_to_flexible_layout()
361 layout->planes[2].component = FLEX_COMPONENT_Cr; in ycbcr_to_flexible_layout()
362 layout->planes[2].h_increment = (int32_t)ycbcr->chroma_step; in ycbcr_to_flexible_layout()
363 layout->planes[2].v_increment = (int32_t)ycbcr->cstride; in ycbcr_to_flexible_layout()