Reduce sizes camera reports.

Due to gpu freezing on larger images.

BUG: http://b/33221285, http://b/33058456
TEST: ImageWriter cts tests no longer fail.
Change-Id: Ibc0fe4ec78181646074333c50ef6cd2b386ba3a4
This commit is contained in:
Ari Hausman-Cohen 2016-11-29 18:37:18 -08:00
parent 5acb400d18
commit c9bfa59e13

View file

@ -36,8 +36,7 @@
namespace v4l2_camera_hal {
const int32_t kStandardSizes[][2] = {
{1920, 1080}, {1280, 720}, {640, 480}, {320, 240}};
const int32_t kStandardSizes[][2] = {{640, 480}, {320, 240}};
V4L2Wrapper* V4L2Wrapper::NewV4L2Wrapper(const std::string device_path) {
std::unique_ptr<V4L2Gralloc> gralloc(V4L2Gralloc::NewV4L2Gralloc());