Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 25 of 42) sorted by relevance

12

/hardware/samsung_slsi/exynos5/librotator/
Dexynos_rotator.c71 int rotation; member
263 int rotation) in m_exynos_rotator_check_dst_size() argument
270 if (rotation == 90 || rotation == 270) { in m_exynos_rotator_check_dst_size()
487 if (info->rotation != value) { in m_exynos_rotator_set_format()
507 if (exynos_v4l2_s_ctrl(fd, V4L2_CID_ROTATE, info->rotation) < 0) { in m_exynos_rotator_set_format()
758 int rotation) in exynos_rotator_set_rotation() argument
771 int new_rotation = rotation % 360; in exynos_rotator_set_rotation()
774 ALOGE("%s::rotation(%d) cannot be acceptable fail", __func__, rotation); in exynos_rotator_set_rotation()
781 rotator_handle->src.rotation = new_rotation; in exynos_rotator_set_rotation()
782 rotator_handle->dst.rotation = new_rotation; in exynos_rotator_set_rotation()
[all …]
/hardware/ti/omap4xxx/hwc/
Dhwc.c64 __u8 rotation : 3; /* 90-degree clockwise rotations */ member
221 c->rotation, c->mirror ? "+mir" : "", in dump_dsscomp()
467 oc->rotation = 2; in omap4_hwc_setup_layer()
471 oc->rotation += oc->mirror ? -1 : 1; in omap4_hwc_setup_layer()
472 oc->rotation &= 3; in omap4_hwc_setup_layer()
572 m_rotate(ext->m, ext->current.rotation); in set_ext_matrix()
576 if (ext->current.rotation & 1) { in set_ext_matrix()
609 int c, swap = cfg->rotation & 1; in crop_to_rect()
614 if (cfg->rotation & 2) in crop_to_rect()
616 if ((!cfg->mirror) ^ !(cfg->rotation & 2)) in crop_to_rect()
[all …]
/hardware/qcom/display/msm8974/liboverlay/
DoverlayUtils.cpp186 int getMdpOrient(eTransform rotation) { in getMdpOrient() argument
192 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation); in getMdpOrient()
193 if(rotation & OVERLAY_TRANSFORM_ROT_90) { in getMdpOrient()
198 if(rotation & OVERLAY_TRANSFORM_FLIP_H) { in getMdpOrient()
207 if(rotation & OVERLAY_TRANSFORM_FLIP_V) { in getMdpOrient()
/hardware/samsung_slsi/exynos5/include/
Dfimg2d.h91 enum rotation { enum
240 enum rotation rotate;
Dexynos_rotator.h164 int rotation);
Dexynos_gscaler.h257 int rotation,
DExynosCamera.h122 int rotation; member
668 bool setRotation(int rotation);
/hardware/qcom/display/msm8x26/liboverlay/
DoverlayUtils.h417 int getMdpOrient(eTransform rotation);
559 inline int getMdpOrient(eTransform rotation) { in getMdpOrient() argument
560 ALOGE_IF(DEBUG_OVERLAY, "%s: rot=%d", __FUNCTION__, rotation); in getMdpOrient()
561 switch(rotation) in getMdpOrient()
577 __FUNCTION__, rotation); in getMdpOrient()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.h417 int getMdpOrient(eTransform rotation);
559 inline int getMdpOrient(eTransform rotation) { in getMdpOrient() argument
560 ALOGE_IF(DEBUG_OVERLAY, "%s: rot=%d", __FUNCTION__, rotation); in getMdpOrient()
561 switch(rotation) in getMdpOrient()
577 __FUNCTION__, rotation); in getMdpOrient()
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dfimg2d.h122 enum rotation { enum
351 enum rotation rotate;
/hardware/samsung_slsi/exynos5/libgscaler/
Dexynos_gsc_utils.h100 int rotation; member
Dexynos_gscaler.c245 int rotation) in m_exynos_gsc_check_dst_size() argument
608 if (exynos_v4l2_s_ctrl(fd, V4L2_CID_ROTATE, info->rotation) < 0) { in m_exynos_gsc_set_format()
1126 int rotation, in exynos_gsc_set_rotation() argument
1141 int new_rotation = rotation % 360; in exynos_gsc_set_rotation()
1144 ALOGE("%s::rotation(%d) cannot be acceptable fail", __func__, rotation); in exynos_gsc_set_rotation()
1151 gsc_handle->dst.rotation = new_rotation; in exynos_gsc_set_rotation()
1793 gsc_handle->dst.rotation) == false) { in exynos_gsc_m2m_run_core()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXAlgo.cpp1019 OMX_CONFIG_ROTATIONTYPE rotation; in setPictureRotation() local
1031 OMX_INIT_STRUCT(rotation, OMX_CONFIG_ROTATIONTYPE); in setPictureRotation()
1032 rotation.nRotation = degree; in setPictureRotation()
1033 rotation.nPortIndex = mCameraAdapterParameters.mImagePortIndex; in setPictureRotation()
1037 &rotation); in setPictureRotation()
/hardware/qcom/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h145 int rotation; member
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp63 int rotation = 0; variable
1139 rotation = 0; in initDefaults()
1168 params.set(CameraParameters::KEY_ROTATION, rotation); in initDefaults()
1324 printf(" 3. Picture Rotation: %3d degree\n", rotation ); in functional_menu()
1484 rotation += 90; in functional_menu()
1485 rotation %= 360; in functional_menu()
1486 params.set(CameraParameters::KEY_ROTATION, rotation); in functional_menu()
Dcamera_test_script.cpp32 extern int rotation;
263 rotation = atoi(cmd + 1); in execute_functional_script()
264 params.set(CameraParameters::KEY_ROTATION, rotation); in execute_functional_script()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3Channel.cpp1289 int rotation = mJpegSettings->jpeg_orientation; in getJpegRotation() local
1290 if (rotation < 0) { in getJpegRotation()
1291 rotation = 0; in getJpegRotation()
1293 return rotation; in getJpegRotation()
2181 if (reprocess_config.pp_feature_config.rotation == ROTATE_90 || in addReprocStreamsFromSource()
2182 reprocess_config.pp_feature_config.rotation == ROTATE_270) { in addReprocStreamsFromSource()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_snapshot.c96 job.encode_job.rotation = 0; in encodeData()
99 job.encode_job.rotation = 90; in encodeData()
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_device_copper.h151 unsigned long rotation; member
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWI.cpp3210 int rotation = mParameters.getJpegRotation(); in addOnlineReprocChannel() local
3211 if (rotation == 0) { in addOnlineReprocChannel()
3212 pp_config.rotation = ROTATE_0; in addOnlineReprocChannel()
3213 } else if (rotation == 90) { in addOnlineReprocChannel()
3214 pp_config.rotation = ROTATE_90; in addOnlineReprocChannel()
3215 } else if (rotation == 180) { in addOnlineReprocChannel()
3216 pp_config.rotation = ROTATE_180; in addOnlineReprocChannel()
3217 } else if (rotation == 270) { in addOnlineReprocChannel()
3218 pp_config.rotation = ROTATE_270; in addOnlineReprocChannel()
DQCameraChannel.cpp665 if (streamInfo->reprocess_config.pp_feature_config.rotation == ROTATE_90 || in addReprocStreamsFromSource()
666 streamInfo->reprocess_config.pp_feature_config.rotation == ROTATE_270) { in addReprocStreamsFromSource()
DQCameraPostProc.cpp1070 int rotation = m_parent->getJpegRotation(); in encodeData() local
1071 if (rotation == 90 || rotation ==270) { in encodeData()
1084 jpg_job.encode_job.rotation = m_parent->getJpegRotation(); in encodeData()
1086 ALOGV("%s: jpeg rotation is set to %d", __func__, jpg_job.encode_job.rotation); in encodeData()
DQCameraParameters.cpp1926 int rotation = params.getInt(KEY_ROTATION); in setRotation() local
1927 if (rotation != -1) { in setRotation()
1928 if (rotation == 0 || rotation == 90 || in setRotation()
1929 rotation == 180 || rotation == 270) { in setRotation()
1930 set(KEY_ROTATION, rotation); in setRotation()
1932 ALOGE("Invalid rotation value: %d", rotation); in setRotation()
5181 int rotation = getInt(KEY_ROTATION); in getJpegRotation() local
5182 if (rotation < 0) { in getJpegRotation()
5183 rotation = 0; in getJpegRotation()
5185 return rotation; in getJpegRotation()
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
Dvideo_encoder_device_v4l2.h151 unsigned long rotation; member
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp157 rotation = 0; in ExynosCameraInfo()
289 rotation = 0; in ExynosCameraInfoM5M0()
406 rotation = 0; in ExynosCameraInfoS5K6A3()
521 rotation = 0; in ExynosCameraInfoS5K4E5()
3178 bool ExynosCamera::setRotation(int rotation) in setRotation() argument
3180 if (rotation < 0) { in setRotation()
3181 ALOGE("ERR(%s):Invalid rotation (%d)", __func__, rotation); in setRotation()
3184 m_curCameraInfo->rotation = rotation; in setRotation()
3191 return m_curCameraInfo->rotation; in getRotation()
3724 switch (m_curCameraInfo->rotation) { in m_setExifChangedAttribute()

12