vidc: 720p: Add IDR Frame type support for H264 format
Read IDR frame type from 720p core register set and
propagate it to user space using new IDR frame type
enumeration added in api header file. The IDR frame
type info is used in SYNCFRAME logic for H264 format
in userspace.
CRs-Fixed: 296738
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
diff --git a/include/linux/msm_vidc_dec.h b/include/linux/msm_vidc_dec.h
index 748c590..768fb3b 100644
--- a/include/linux/msm_vidc_dec.h
+++ b/include/linux/msm_vidc_dec.h
@@ -204,6 +204,7 @@
PICTURE_TYPE_B,
PICTURE_TYPE_BI,
PICTURE_TYPE_SKIP,
+ PICTURE_TYPE_IDR,
PICTURE_TYPE_UNKNOWN
};