Home | History | Annotate | Download | only in camera

Lines Matching refs:rotation

139 int8_t (*LINK_jpeg_encoder_setRotation)(uint32_t rotation);
2605 int rotation = mParameters.getInt("rotation");
2609 rotation = (rotation + 90)%360;
2612 rotation = 0;
2613 if (rotation >= 0) {
2614 ALOGI("initJpegParameters, rotation = %d", rotation);
2615 mImageEncodeParms.rotation = rotation;
4565 int rotation = mParameters.getInt("rotation");
4569 rotation = (rotation + 90)%360;
4572 rotation = 0;
4573 ret = native_set_parms(CAMERA_PARM_JPEG_ROTATION, sizeof(int), &rotation);
5957 int rotation = mParameters.getInt("rotation");
5958 native_set_parms(CAMERA_PARM_JPEG_ROTATION, sizeof(int), &rotation);
7069 int rotation = (mRotation + sensor_rotation)%360;
7070 rotCtrl.rotation = (rotation == 0) ? ROT_NONE :
7071 ((rotation == 90) ? ROT_CLOCKWISE_90 :
7072 ((rotation == 180) ? ROT_CLOCKWISE_180 : ROT_CLOCKWISE_270));
7075 && (rotation == 90 || rotation == 270) ){
7079 ALOGI("video resolution (%dx%d) with rotation (%d) is not supported, setting rotation to NONE",
7080 videoWidth, videoHeight, rotation);
7081 rotCtrl.rotation = ROT_NONE;
7083 ALOGV("rotCtrl.rotation = %d", rotCtrl.rotation);
8862 int rotation = params.getInt(QCameraParameters::KEY_ROTATION);
8863 if (rotation != NOT_FOUND) {
8864 if (rotation == 0 || rotation == 90 || rotation == 180
8865 || rotation == 270) {
8866 rotation = (rotation + sensor_mount_angle)%360;
8867 mParameters.set(QCameraParameters::KEY_ROTATION, rotation);
8868 mRotation = rotation;
8870 ALOGE("Invalid rotation value: %d", rotation);