Home
last modified time | relevance | path

Searched refs:PLANE_SIZE (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gchips/gralloc4/src/core/
Dexynos_format_allocation.h25 #define PLANE_SIZE(w, h) ((w) * (h)) macro
172 plane[0].size = PLANE_SIZE(width, height); in setup_420_sp()
181 plane[1].size = PLANE_SIZE(chroma_width, chroma_height); in setup_420_sp()
213 plane[0].size = PLANE_SIZE(width, height) + S2B_PLANE_SIZE(width, height) + mscl_ext; in setup_420_sp_s10b()
222 plane[1].size = PLANE_SIZE(chroma_width, chroma_height) in setup_420_sp_s10b()
246 plane[0].size = PLANE_SIZE(width * 2, height); in setup_p010_sp()
255 plane[1].size = PLANE_SIZE(chroma_width * 2, chroma_height); in setup_p010_sp()
279 plane[0].size = PLANE_SIZE(width, height); in setup_420_p()
288 plane[1].size = PLANE_SIZE(chroma_width, chroma_height); in setup_420_p()
293 plane[2].size = PLANE_SIZE(chroma_width, chroma_height); in setup_420_p()
[all …]
/hardware/google/gchips/gralloc3/src/
Dgralloc_helper.h65 #define PLANE_SIZE(w, h, ext_size) ((w) * (h) + ext_size) macro
70 #define NV12N_S8B_LUMA_SIZE(w, h, ext_size) PLANE_SIZE(w, h, ext_size)
73 #define NV12M_S8B_SIZE(w, h, ext_size) PLANE_SIZE(w, h, ext_size)
Dmali_gralloc_bufferallocation.cpp1039 luma_size = PLANE_SIZE(stride , h * 3 / 2, ext_size); in prepare_descriptor_exynos_formats()
1049 luma_size = PLANE_SIZE(stride, luma_vstride, ext_size); in prepare_descriptor_exynos_formats()
1051 …chroma_size = PLANE_SIZE(GRALLOC_ALIGN(stride / 2, 16), GRALLOC_ALIGN(luma_vstride / 2, CHROMA_VAL… in prepare_descriptor_exynos_formats()
1053 chroma_size = PLANE_SIZE(GRALLOC_ALIGN(stride / 2, 16), (luma_vstride / 2), ext_size); in prepare_descriptor_exynos_formats()
1062 luma_size = PLANE_SIZE(stride, luma_vstride, ext_size); in prepare_descriptor_exynos_formats()
1063 chroma_size = PLANE_SIZE(stride, chroma_vstride, ext_size); in prepare_descriptor_exynos_formats()
1071 chroma_size = PLANE_SIZE(GRALLOC_ALIGN(stride / 2, 16), h, ext_size); in prepare_descriptor_exynos_formats()
1072 luma_size = PLANE_SIZE(stride, h, 0) + chroma_size; in prepare_descriptor_exynos_formats()
1086 luma_size = PLANE_SIZE(stride, luma_vstride, ext_size); in prepare_descriptor_exynos_formats()
1088 chroma_size = PLANE_SIZE(stride, GRALLOC_ALIGN(luma_vstride / 2, CHROMA_VALIGN), ext_size); in prepare_descriptor_exynos_formats()
[all …]