int y_size = stride * preview_height;
int c_stride = ((stride >> 1) + 15) & (-16); // Round to 16 pixels
int c_size = c_stride * preview_height >> 1;
- int cr_offset = y_size;
- int cb_offset = y_size + c_size;
int size = y_size + (c_size << 1);
how_preview_big = size;
int y_size = stride * video_height;
int c_stride = ((stride >> 1) + 15) & (-16); // Round to 16 pixels
int c_size = c_stride * video_height >> 1;
- int cr_offset = y_size;
- int cb_offset = y_size + c_size;
int size = y_size + (c_size << 1);
how_recording_big = size;
int maxFramesToWait = 8;
int luminanceStableFor = 0;
int prevLuminance = 0;
- int prevDif = -1;
int stride = w << 1;
int thresh = (w >> 4) * (h >> 4) * 12; // 5% of full range
bool V4L2Camera::EnumFrameSizes(int pixfmt)
{
ALOGD("V4L2Camera::EnumFrameSizes: pixfmt: 0x%08x",pixfmt);
- int ret=0;
int fsizeind = 0;
struct v4l2_frmsizeenum fsize;