Home
last modified time | relevance | path

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

/hardware/google/gchips/gralloc3/src/
Dgralloc_helper.h65 #define PLANE_SIZE(w, h, ext_size) ((w) * (h) + ext_size) argument
67 #define P010_PLANE_SIZE(w, h, ext_size) ((((w) * 2) * (h)) + ext_size) argument
70 #define NV12N_S8B_LUMA_SIZE(w, h, ext_size) PLANE_SIZE(w, h, ext_size) argument
71 #define NV12N_S8B_CHROMA_SIZE(w, h, ext_size) (GRALLOC_ALIGN(((w) * (h)) + ext_size argument
73 #define NV12M_S8B_SIZE(w, h, ext_size) PLANE_SIZE(w, h, ext_size) argument
76 …ine NV12M_S2B_LUMA_SIZE(w, h, ext_size) ((GRALLOC_ALIGN((w) / 4, 16) * (GRALLOC_… argument
77 … NV12M_S2B_CHROMA_SIZE(w, h, ext_size) ((GRALLOC_ALIGN((w) / 4, 16) * (GRALLOC_ALI… argument
79 #define NV12M_S2B_LUMA_SIZE(w, h, ext_size) ((GRALLOC_ALIGN((w) / 4, 16) * (h)) +… argument
80 #define NV12M_S2B_CHROMA_SIZE(w, h, ext_size) ((GRALLOC_ALIGN((w) / 4, 16) * (h / 2… argument
Dmali_gralloc_bufferallocation.cpp892 size_t luma_size=0, chroma_size=0, ext_size=256; in prepare_descriptor_exynos_formats() local
1039 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 …LANE_SIZE(GRALLOC_ALIGN(stride / 2, 16), GRALLOC_ALIGN(luma_vstride / 2, CHROMA_VALIGN), ext_size); 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()
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 …]
Dmali_gralloc_bufferaccess.cpp682 static const int ext_size = 256; in get_flexlayout_exynos_formats_only() local
900 uOffset = NV12N_S8B_LUMA_SIZE(ycbcr.ystride, hnd->plane_info[0].alloc_height, ext_size); in get_flexlayout_exynos_formats_only()
914 …uOffset = NV12N_S8B_LUMA_SIZE(ycbcr.ystride, hnd->plane_info[0].alloc_height, ext_size) + NV12N_S2… in get_flexlayout_exynos_formats_only()