IFE: fix bls offset scaling (#33905)

14u

Co-authored-by: Comma Device <device@comma.ai>
pull/33907/head
ZwX1616 6 months ago committed by GitHub
parent c979282cfa
commit 7899b9964c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      system/camerad/cameras/ife.h

@ -67,7 +67,7 @@ int build_update(uint8_t *dst, const SensorInfo *s, std::vector<uint32_t> &patch
// black level scale + offset
dst += write_cont(dst, 0x6b0, {
((uint32_t)(1 << 11) << 0xf) | (s->black_level << 0),
((uint32_t)(1 << 11) << 0xf) | (s->black_level << (14 - s->bits_per_pixel)),
0x0,
0x0,
});

Loading…
Cancel
Save