libhardware: report stride on dequeue_buffer

Change-Id: Ic41f625f69e135fd2dc3929f99af83b9584f8c1d
Signed-off-by: Iliyan Malchev <malchev@google.com>
This commit is contained in:
Iliyan Malchev 2011-06-10 16:06:52 -07:00
parent 66d6b04b84
commit 4deb188904

View file

@ -93,7 +93,7 @@ typedef void (*camera_data_timestamp_callback)(int64_t timestamp,
typedef struct preview_stream_ops {
int (*dequeue_buffer)(struct preview_stream_ops* w,
buffer_handle_t** buffer);
buffer_handle_t** buffer, int *stride);
int (*enqueue_buffer)(struct preview_stream_ops* w,
buffer_handle_t* buffer);
int (*cancel_buffer)(struct preview_stream_ops* w,