| commit | 944db82377da1c02459f84b4b6124a6b6f3b4743 | [log] [tgz] |
|---|---|---|
| author | Hirokazu Honda <hiroh@google.com> | Wed Aug 07 19:21:14 2019 +0900 |
| committer | Pin-chih Lin <johnylin@google.com> | Wed Oct 30 17:15:05 2019 +0800 |
| tree | 7d152781325df4b642124239e41450509ba88651 | |
| parent | fae94907c21cf42d2cb23cd278f8d650820dc937 [diff] |
V4L2VDA: Check if the number of allocated buffers by a driver is not smaller than requested The number of allocated buffers by a driver by VIDIOC_REQBUFS should not be smaller than requested unless the driver runs out of memory. This CL correct the exisiting check for CAPTURE queue and add the check for OUTPUT queue. Bug: None Test: ARC e2e decoder test Change-Id: I95fe5564979b77594ebbfa83815037755e85c38c (cherry picked from commit 7bbeeecb65916f75bd089e8f118b392494db0da6)