OSDN Git Service

camera3: Pass consumer information in configure_streams
authorAlex Ray <aray@google.com>
Fri, 14 Jun 2013 22:09:30 +0000 (15:09 -0700)
committerAlex Ray <aray@google.com>
Fri, 21 Jun 2013 01:28:57 +0000 (18:28 -0700)
commit2ce219a7464d05c55f95783c1a7d9d3328cb2930
tree5f23e113285fbe074726680e86e1ddbc34b77af7
parentfbec86098615be134638900d03f3321a30a181d2
camera3: Pass consumer information in configure_streams

HALs seem to need to know the gralloc usage flags of the opposite
endpoint (producer/consumer) of a stream at configure time.
Instead of adding another call to pass stream information, we just
pass the usage flags in the existing usage field.

Change-Id: I745baf2c4dd9123273d811b9bd52ae68c854b70c
include/hardware/camera3.h