From 453ab5c3974a8340a2970dc051bd43f32db07d5b Mon Sep 17 00:00:00 2001 From: Ashish Kumar Date: Mon, 27 May 2019 22:43:03 +0530 Subject: [PATCH] commonsys-intf: display: Add flag for interlaced content. Add interlace flag to get the plane layout count and info in case of interlaced content. CRs-Fixed: 2464961 Change-Id: I6f1cc38f71a79a0fecde773a29ea0847020daeb9 --- gralloc/gralloc_priv.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gralloc/gralloc_priv.h b/gralloc/gralloc_priv.h index f9338d6c..0aa6c0d1 100644 --- a/gralloc/gralloc_priv.h +++ b/gralloc/gralloc_priv.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2018, The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2019, The Linux Foundation. All rights reserved. * Not a Contribution * * Copyright (C) 2008 The Android Open Source Project @@ -218,4 +218,11 @@ enum { enum { BUFFER_TYPE_UI = 0, BUFFER_TYPE_VIDEO }; +/* Flag to determine interlaced content + * Value maps to Flags presents in types.hal of QtiMapperextensions + */ +enum { + LAYOUT_INTERLACED_FLAG = 1 << 0, +}; + #endif // __GRALLOC_PRIV_H__