jf: add hardware hdr support

Change-Id: I48b31965cf5acb6b9abcd2a62b1d341bfcab649c