EmulatedFakeCamera2: Add features needed for recording support for 320x240, NV21
- Support 320x240 in addition to 640x480 - Support NV21 (monochrome only right now) - Base simulated time on system time, since stagefright cares about timestamp base - Use emulator magic gralloc format to enable gralloc to pick format based on destination. Bug: 6243944 Change-Id: I3ea56bca726c69b51e03233ce86d4881401a3ffd
This commit is contained in:
@@ -43,7 +43,7 @@ typedef Vector<StreamBuffer> Buffers;
|
||||
struct Stream {
|
||||
const camera2_stream_ops_t *ops;
|
||||
uint32_t width, height;
|
||||
uint32_t format;
|
||||
int32_t format;
|
||||
uint32_t stride;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user