Home | History | Annotate | Download | only in camera

Lines Matching refs:previewWidth

1899         int previewWidth, previewHeight;
1900 this->getPreviewSize(&previewWidth, &previewHeight);
1901 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
1902 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f));
1904 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f));
1926 int previewWidth, previewHeight;
1927 this->getPreviewSize(&previewWidth, &previewHeight);
1930 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
1931 x1 = (uint16_t)((areas[i].x1 + 1000.0f)*(previewWidth/2000.0f));
1933 x2 = (uint16_t)((areas[i].x2 + 1000.0f)*(previewWidth/2000.0f));
2004 int previewWidth, previewHeight;
2005 this->getPreviewSize(&previewWidth, &previewHeight);
2006 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
2007 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f));
2009 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f));
2035 int previewWidth, previewHeight;
2036 this->getPreviewSize(&previewWidth, &previewHeight);
2039 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
2040 x1 = (uint16_t)((areas[i].x1 + 1000.0f)*(previewWidth/2000.0f));
2042 x2 = (uint16_t)((areas[i].x2 + 1000.0f)*(previewWidth/2000.0f));