Camera: Bump camera splitter output slots
Currently we are configuring the number of output slots in each new shared surface as the sum between the maxiumum stream buffers and the minimum undequeued buffers per surface. However the total number of buffers that will get allocated in the input stream queue increases with the latter undequeued ammount on each new output. The delta between these values could result in insufficient output slots for some outputs that consume buffers with vastly different speeds combined with a slow camera producer that exhausts all dequeued slots. To avoid this set the output slot count the the maximum supported number by the framework. Allocation is disabled so this should not increase the number of allocated buffers. Bug: 80079782 Test: Manual using application, Camera CTS Change-Id: I36eed94a169a802f33126b640dd1d95725aec8db
Loading
Please register or sign in to comment