diff options
author | Keith Mok <keithmok@google.com> | 2021-10-13 00:53:27 +0000 |
---|---|---|
committer | Keith Mok <keithmok@google.com> | 2021-10-13 16:09:50 +0000 |
commit | 0e6752c900fcadfde62b38e8111543a1184b25b0 (patch) | |
tree | 825d6d1e8bba1c44047743b4b8094d475e4b0d62 /camera/common/1.0/default/CameraModule.cpp | |
parent | e0f7bd7197969d7b4bc0b05a9b80a8bd0fe27765 (diff) |
Fix fuzzer error for FormatConvertFuzzer
The stride was not correct for the fuzzer.
And the FormatConvert have some restructions
on the width and height.
- YUYV
width and height must be even nmber
- YU12
width mush be divisible by 16
height must be even number
Bug: 202641239
Test: FormatConvertFuzzer_copyYV12toBGR32
Change-Id: I45ebea3e22854bdad037abb742fbdbe364b19ec5
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions