commit | 79cf7c7454525ead0d47d5daded06d17d0d04282 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenw@quicinc.com> | Tue Sep 04 15:46:27 2012 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Tue Sep 04 21:16:38 2012 -0700 |
tree | 67aa069bc8334e24e0736295e201c85e28953eaa | |
parent | 661a58f851b67427ab55e65610fb9173562c7043 [diff] |
Gralloc: Fall back to HW_CAMERA_WRITE if HW_VIDEO_ENCODER is not set. In both video encoding and camera preview cases, HW_CAMERA_WRITE will be set. This is a hack so that if HW_VIDEO_ENCODER is set, allocate NV12 format; otherwise, allocate NV21 format. Change-Id: I61dc96b125e026159f55048cb79783578832460a