EmulatedFakeCamera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED
Stop using CAMERA2_HAL_PIXEL_FORMAT_OPAQUE. Bug: 6243944 Change-Id: I96ea30228b126b4eed560a760269cb50bbbb62f7
This commit is contained in:
@@ -24,18 +24,6 @@
|
||||
#define BUFFER_HANDLE_MAGIC ((int)0xabfabfab)
|
||||
#define CB_HANDLE_NUM_INTS(nfds) (int)((sizeof(cb_handle_t) - (nfds)*sizeof(int)) / sizeof(int))
|
||||
|
||||
//
|
||||
// Emulator-specific gralloc formats
|
||||
//
|
||||
enum {
|
||||
// Request that gralloc select the proper format given the usage
|
||||
// flags. Pass this as the format to gralloc_alloc, and then the concrete
|
||||
// format can be found in cb_handle_t.format. It is invalid for
|
||||
// cb_handle_t.format to be AUTO; it must be a concrete format in either the
|
||||
// standard HAL_PIXEL_FORMAT enum or other values in this enum.
|
||||
GRALLOC_EMULATOR_PIXEL_FORMAT_AUTO = 0x100
|
||||
};
|
||||
|
||||
//
|
||||
// Our buffer handle structure
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user