• Home
  • Raw
  • Download

Lines Matching refs:height

1071 status_t CameraHal::allocPreviewBufs(int width, int height, const char* previewFormat,  in allocPreviewBufs()  argument
1089 mPreviewBufs = (int32_t *) mDisplayAdapter->allocateBuffer(width, height, in allocPreviewBufs()
1221 status_t CameraHal::allocImageBufs(unsigned int width, unsigned int height, size_t size, const char… in allocImageBufs() argument
1270 status_t CameraHal::allocVideoBufs(uint32_t width, uint32_t height, uint32_t bufferCount) in allocVideoBufs() argument
1288 …ret = GrallocAlloc.alloc(width, height, HAL_PIXEL_FORMAT_NV12, CAMHAL_GRALLOC_USAGE, &buf, &stride… in allocVideoBufs()
1595 int width, height; in startPreview() local
1596 mParameters.getPreviewSize(&width, &height); in startPreview()
1625 … ret = mDisplayAdapter->enableDisplay(width, height, &mStartPreview, isS3d ? &s3dParams : NULL); in startPreview()
1629 ret = mDisplayAdapter->enableDisplay(width, height, NULL, isS3d ? &s3dParams : NULL); in startPreview()
3079 bool CameraHal::isResolutionValid(unsigned int width, unsigned int height, const char *supportedRes… in isResolutionValid() argument
3095 status = snprintf(tmpBuffer, PARAM_BUFFER, "%dx%d", width, height); in isResolutionValid()
3212 status_t CameraHal::parseResolution(const char *resStr, int &width, int &height) in parseResolution() argument
3251 height = atoi(pHeight); in parseResolution()
3328 int width, height; in initDefaultParameters() local
3332 ret = parseResolution(mCameraProperties->get(CameraProperties::PREVIEW_SIZE), width, height); in initDefaultParameters()
3336 p.setPreviewSize(width, height); in initDefaultParameters()
3343 ret = parseResolution(mCameraProperties->get(CameraProperties::PICTURE_SIZE), width, height); in initDefaultParameters()
3347 p.setPictureSize(width, height); in initDefaultParameters()
3354 …et = parseResolution(mCameraProperties->get(CameraProperties::JPEG_THUMBNAIL_SIZE), width, height); in initDefaultParameters()
3359 p.set(CameraParameters::KEY_JPEG_THUMBNAIL_HEIGHT, height); in initDefaultParameters()
3541 void CameraHal::setPreferredPreviewRes(int width, int height) in setPreferredPreviewRes() argument
3545 if ( (width == 320) && (height == 240)){ in setPreferredPreviewRes()
3548 if ( (width == 176) && (height == 144)){ in setPreferredPreviewRes()
3555 void CameraHal::resetPreviewRes(CameraParameters *mParams, int width, int height) in resetPreviewRes() argument
3559 if ( (width <= 320) && (height <= 240)){ in resetPreviewRes()