Home
last modified time | relevance | path

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

/aosp12/hardware/google/gchips/gralloc3/src/
H A 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
H A 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()
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()
1086 luma_size = PLANE_SIZE(stride, luma_vstride, ext_size); in prepare_descriptor_exynos_formats()
1090 chroma_size = PLANE_SIZE(stride, luma_vstride / 2, ext_size); in prepare_descriptor_exynos_formats()
1112 … luma_size = NV12M_S8B_SIZE(stride, luma_vstride, ext_size) + NV12M_S2B_LUMA_SIZE(w, h, ext_size); in prepare_descriptor_exynos_formats()
1113 …oma_size = NV12M_S8B_SIZE(stride, luma_vstride / 2, ext_size) + NV12M_S2B_CHROMA_SIZE(w, h, ext_si… in prepare_descriptor_exynos_formats()
1128 chroma_size = P010_PLANE_SIZE(stride, luma_vstride / 2, ext_size); in prepare_descriptor_exynos_formats()
[all …]
H A 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()
/aosp12/frameworks/av/media/libstagefright/id3/
H A DID3.cpp319 size_t ext_size; in parseV2() local
320 if (!ParseSyncsafeInteger(mData, &ext_size)) { in parseV2()
327 if (ext_size < 6 || ext_size > mSize) { in parseV2()
334 mFirstFrameOffset = ext_size; in parseV2()