Merge "sf: optimize luma sampling code" into qt-r1-dev am: f1218eebee
am: 2e48e9cd96

Change-Id: Iba74c7bf332e10f18b34231498a2abcbb8ee099a