Lines Matching refs:rotation

136 int8_t (*LINK_jpeg_encoder_setRotation)(uint32_t rotation);
2602 int rotation = mParameters.getInt("rotation"); in initImageEncodeParameters() local
2606 rotation = (rotation + 90)%360; in initImageEncodeParameters()
2609 rotation = 0; in initImageEncodeParameters()
2610 if (rotation >= 0) { in initImageEncodeParameters()
2611 ALOGI("initJpegParameters, rotation = %d", rotation); in initImageEncodeParameters()
2612 mImageEncodeParms.rotation = rotation; in initImageEncodeParameters()
4562 int rotation = mParameters.getInt("rotation"); in initRaw() local
4566 rotation = (rotation + 90)%360; in initRaw()
4569 rotation = 0; in initRaw()
4570 ret = native_set_parms(CAMERA_PARM_JPEG_ROTATION, sizeof(int), &rotation); in initRaw()
5954 int rotation = mParameters.getInt("rotation"); in takePicture() local
5955 native_set_parms(CAMERA_PARM_JPEG_ROTATION, sizeof(int), &rotation); in takePicture()
7066 int rotation = (mRotation + sensor_rotation)%360; in setVpeParameters() local
7067 rotCtrl.rotation = (rotation == 0) ? ROT_NONE : in setVpeParameters()
7068 ((rotation == 90) ? ROT_CLOCKWISE_90 : in setVpeParameters()
7069 ((rotation == 180) ? ROT_CLOCKWISE_180 : ROT_CLOCKWISE_270)); in setVpeParameters()
7072 && (rotation == 90 || rotation == 270) ){ in setVpeParameters()
7077 videoWidth, videoHeight, rotation); in setVpeParameters()
7078 rotCtrl.rotation = ROT_NONE; in setVpeParameters()
7080 ALOGV("rotCtrl.rotation = %d", rotCtrl.rotation); in setVpeParameters()
8859 int rotation = params.getInt(QCameraParameters::KEY_ROTATION); in setRotation() local
8860 if (rotation != NOT_FOUND) { in setRotation()
8861 if (rotation == 0 || rotation == 90 || rotation == 180 in setRotation()
8862 || rotation == 270) { in setRotation()
8863 rotation = (rotation + sensor_mount_angle)%360; in setRotation()
8864 mParameters.set(QCameraParameters::KEY_ROTATION, rotation); in setRotation()
8865 mRotation = rotation; in setRotation()
8867 ALOGE("Invalid rotation value: %d", rotation); in setRotation()