Home | History | Annotate | Download | only in camera

Lines Matching refs:previewWidth

1898         int previewWidth, previewHeight;
1899 this->getPreviewSize(&previewWidth, &previewHeight);
1900 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
1901 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f));
1903 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f));
1925 int previewWidth, previewHeight;
1926 this->getPreviewSize(&previewWidth, &previewHeight);
1929 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
1930 x1 = (uint16_t)((areas[i].x1 + 1000.0f)*(previewWidth/2000.0f));
1932 x2 = (uint16_t)((areas[i].x2 + 1000.0f)*(previewWidth/2000.0f));
2003 int previewWidth, previewHeight;
2004 this->getPreviewSize(&previewWidth, &previewHeight);
2005 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
2006 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f));
2008 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f));
2034 int previewWidth, previewHeight;
2035 this->getPreviewSize(&previewWidth, &previewHeight);
2038 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight)
2039 x1 = (uint16_t)((areas[i].x1 + 1000.0f)*(previewWidth/2000.0f));
2041 x2 = (uint16_t)((areas[i].x2 + 1000.0f)*(previewWidth/2000.0f));