From 3ef9fa6abc653221f986283658efefc53a03fb95 Mon Sep 17 00:00:00 2001 From: Domi Papoi Date: Mon, 5 Oct 2015 16:08:08 -0400 Subject: tv_input: Add buffer count support Buffer producer thread only works on one buffer at a time, we need to be able to configure number of buffers allocated for datapath. Change-Id: I6165d87e7a5e0fe1c7dc0456d05ee9ab1f67201d --- include/hardware/tv_input.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/hardware/tv_input.h b/include/hardware/tv_input.h index ed3fafb..456b06e 100644 --- a/include/hardware/tv_input.h +++ b/include/hardware/tv_input.h @@ -278,6 +278,9 @@ typedef struct buffer_producer_stream { /* OUT: Client must allocate a buffer with this format. */ uint32_t format; + + /* OUT: Client must allocate buffers based on this count. */ + uint32_t buffer_count; } buffer_producer_stream_t; typedef struct tv_stream { -- cgit v1.1