commit | c6313cc1e438afa7024bb425aea5f39bd4288af7 | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Mon Jul 27 13:04:33 2020 -0700 |
committer | Changyeon Jo <changyeon@google.com> | Tue Jul 28 13:58:20 2020 -0700 |
tree | 9a5c4be6c2ed3b14777b858689b498de63aa1224 | |
parent | 66044abc757b49b8c24ad5bc604441af381aa68e [diff] |
Handle VIDIOC_REQBUFS response properly EVS reference HAL implementation assumes that the target device always grants the number of buffers the client requests. However, when the device grants more than what EVS requested, EVS fails to operate a target video stream and behaves unexpectedly. This change therefore reads back what VIDIOC_REQBUFS ioctl command returns and allocates the resources to run the target device properly. Fix: 162253137 Test: go/aaos-evs-vivid Change-Id: I011f427a98d295690393932ba3db8f4194a7cff2
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.