jf: add hardware hdr support

Change-Id: I48b31965cf5acb6b9abcd2a62b1d341bfcab649c
Merge "jf: add hardware hdr support" into cm-10.1