• Home
  • Raw
  • Download

Lines Matching refs:rotation

3287     int32_t rotation = params.getInt(KEY_ROTATION);  in setRotation()  local
3288 if (rotation != -1) { in setRotation()
3289 if (rotation == 0 || rotation == 90 || in setRotation()
3290 rotation == 180 || rotation == 270) { in setRotation()
3291 set(KEY_ROTATION, rotation); in setRotation()
3294 rotation); in setRotation()
3295 mRotation = rotation; in setRotation()
3297 LOGE("Invalid rotation value: %d", rotation); in setRotation()
10143 cam_rotation_t rotation = ROTATE_0; in getStreamRotation() local
10151 rotation = ROTATE_90; in getStreamRotation()
10154 rotation = ROTATE_180; in getStreamRotation()
10157 rotation = ROTATE_270; in getStreamRotation()
10160 rotation = ROTATE_0; in getStreamRotation()
10166 return rotation; in getStreamRotation()
10189 cam_rotation_t rotation = getStreamRotation(streamType); in getStreamRotation() local
10190 featureConfig.rotation = ROTATE_0; in getStreamRotation()
10194 switch(rotation) { in getStreamRotation()
10197 featureConfig.rotation = ROTATE_90; in getStreamRotation()
10202 featureConfig.rotation = ROTATE_180; in getStreamRotation()
10206 featureConfig.rotation = ROTATE_270; in getStreamRotation()
10210 featureConfig.rotation = ROTATE_0; in getStreamRotation()
11038 int rotation = 0; in getRotation() local
11042 rotation = mRotation; in getRotation()
11043 if (rotation < 0) { in getRotation()
11044 rotation = 0; in getRotation()
11047 return (uint32_t)rotation; in getRotation()
11059 void QCameraParameters::setJpegRotation(int rotation) { in setJpegRotation() argument
11060 if (rotation == 0 || rotation == 90 || in setJpegRotation()
11061 rotation == 180 || rotation == 270) { in setJpegRotation()
11062 mJpegRotation = (uint32_t)rotation; in setJpegRotation()
11076 int rotation = 0; in getDeviceRotation() local
11078 rotation = mRotation; in getDeviceRotation()
11079 if (rotation < 0) { in getDeviceRotation()
11080 rotation = 0; in getDeviceRotation()
11083 return (uint32_t)rotation; in getDeviceRotation()
11096 int rotation = 0; in getJpegExifRotation() local
11099 rotation = mRotation; in getJpegExifRotation()
11100 if (rotation < 0) { in getJpegExifRotation()
11101 rotation = 0; in getJpegExifRotation()
11104 return (uint32_t)rotation; in getJpegExifRotation()
13738 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13751 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13764 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13781 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13828 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13842 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13860 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13875 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13893 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13912 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13928 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13942 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
13958 stream_config_info.rotation[stream_config_info.num_streams] = in setStreamConfigure()
14098 int32_t QCameraParameters::addOnlineRotation(uint32_t rotation, uint32_t streamId, in addOnlineRotation() argument
14106 if (rotation == 0) { in addOnlineRotation()
14107 rotation_info.rotation = ROTATE_0; in addOnlineRotation()
14108 } else if (rotation == 90) { in addOnlineRotation()
14109 rotation_info.rotation = ROTATE_90; in addOnlineRotation()
14110 } else if (rotation == 180) { in addOnlineRotation()
14111 rotation_info.rotation = ROTATE_180; in addOnlineRotation()
14112 } else if (rotation == 270) { in addOnlineRotation()
14113 rotation_info.rotation = ROTATE_270; in addOnlineRotation()
14115 rotation_info.rotation = ROTATE_0; in addOnlineRotation()