Replace V4L2 calls in V4L2Camera with wrapper.
Also updates naming of max streams to be in line with what they
technically are, not what they usually are (i.e. a non-stalling
processed stream is usually YUV, but not necessarily).
BUG: 30140438
Change-Id: Idb78c466a41c9c0e5957200fc7c8afc0cfdb88a6
diff --git a/modules/camera/3_4/V4L2Wrapper.h b/modules/camera/3_4/V4L2Wrapper.h
index 5fc8af6..1d42973 100644
--- a/modules/camera/3_4/V4L2Wrapper.h
+++ b/modules/camera/3_4/V4L2Wrapper.h
@@ -47,7 +47,8 @@
int GetControl(uint32_t control_id, int32_t* value);
int SetControl(uint32_t control_id, int32_t desired, int32_t* result);
// Manage format.
- int SetFormat(const default_camera_hal::Stream& stream);
+ int SetFormat(const default_camera_hal::Stream& stream,
+ uint32_t* result_max_buffers);
// Manage buffers.
int EnqueueBuffer(const camera3_stream_buffer_t* camera_buffer);
int DequeueBuffer(v4l2_buffer* buffer);