*usage = GRALLOC_USAGE_SW_WRITE_OFTEN;
if (m_wideAspect)
*usage |= GRALLOC_USAGE_PRIVATE_CHROMA;
- *max_buffers = 6;
+ *max_buffers = 7;
newParameters.width = width;
newParameters.height = height;
*usage = GRALLOC_USAGE_SW_WRITE_OFTEN;
if (m_wideAspect)
*usage |= GRALLOC_USAGE_PRIVATE_CHROMA;
- *max_buffers = 6;
+ *max_buffers = 7;
subParameters->type = SUBSTREAM_TYPE_RECORD;
subParameters->width = width;
m_streamThreadInitialize((SignalDrivenThread*)AllocatedStream);
*format_actual = HAL_PIXEL_FORMAT_EXYNOS_YV12;
- *max_buffers = 6;
*format_actual = HAL_PIXEL_FORMAT_YCbCr_422_I; // YUYV
*usage = GRALLOC_USAGE_SW_WRITE_OFTEN;
if (m_wideAspect)
*usage |= GRALLOC_USAGE_PRIVATE_CHROMA;
- *max_buffers = 6;
+ *max_buffers = 7;
newParameters.width = width;
newParameters.height = height;
m_streamThreadInitialize((SignalDrivenThread*)AllocatedStream);
*format_actual = HAL_PIXEL_FORMAT_EXYNOS_YV12;
- *max_buffers = 6;
*format_actual = HAL_PIXEL_FORMAT_YCbCr_422_I; // YUYV
*usage = GRALLOC_USAGE_SW_WRITE_OFTEN;
if (m_wideAspect)
*usage |= GRALLOC_USAGE_PRIVATE_CHROMA;
- *max_buffers = 6;
+ *max_buffers = 7;
newParameters.width = width;
newParameters.height = height;
*usage = GRALLOC_USAGE_SW_WRITE_OFTEN;
if (m_wideAspect)
*usage |= GRALLOC_USAGE_PRIVATE_CHROMA;
- *max_buffers = 4;
+ *max_buffers = 5;
subParameters->type = SUBSTREAM_TYPE_JPEG;
subParameters->width = width;
*usage = GRALLOC_USAGE_SW_WRITE_OFTEN;
if (m_wideAspect)
*usage |= GRALLOC_USAGE_PRIVATE_CHROMA;
- *max_buffers = 6;
+ *max_buffers = 7;
subParameters->type = SUBSTREAM_TYPE_PRVCB;
subParameters->width = width;