Home
last modified time | relevance | path

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

123

/hardware/intel/img/psb_video/src/android/
Dpsb_android_glue.cpp165 int psb_android_surfaceflinger_rotate(void* native_window, int *rotation) in psb_android_surfaceflinger_rotate() argument
178 *rotation = 1; in psb_android_surfaceflinger_rotate()
181 *rotation = 2; in psb_android_surfaceflinger_rotate()
184 *rotation = 3; in psb_android_surfaceflinger_rotate()
187 *rotation = 0; in psb_android_surfaceflinger_rotate()
Dpsb_android_glue.h41 …int psb_android_surfaceflinger_status(void** surface, int *sf_compostion, int *rotation, int *widi…
46 int psb_android_surfaceflinger_rotate(void* window, int *rotation);
Dpsb_output_android.c291 int rotation = 0, widi = 0;
372 psb_android_surfaceflinger_status(android_isurface, &output->sf_composition, &rotation, &widi);
390 delta_rotation = Rotation2Angle(driver_data->mipi0_rotation) - Rotation2Angle(rotation);
393 …sg(VIDEO_DEBUG_GENERAL, "New rotation degree %d of MIPI0 WM, Need to recalc rotation\n", rotation);
394 driver_data->mipi0_rotation = rotation;
395 driver_data->hdmi_rotation = rotation;
439 rotation, driver_data->va_rotate, driver_data->local_rotation);
/hardware/intel/img/psb_video/src/x11/
Dpsb_xrandr.c71 static int RRrotation2VArotation(Rotation rotation) in RRrotation2VArotation() argument
73 switch (rotation) { in RRrotation2VArotation()
269 if (psb_xrandr_info->mipi0_rotation != p_output->crtc->rotation) { in psb_xrandr_coordinate_init()
270 psb_xrandr_info->mipi0_rotation = p_output->crtc->rotation; in psb_xrandr_coordinate_init()
284 if (psb_xrandr_info->mipi1_rotation != p_output->crtc->rotation) { in psb_xrandr_coordinate_init()
285 psb_xrandr_info->mipi1_rotation = p_output->crtc->rotation; in psb_xrandr_coordinate_init()
299 if (psb_xrandr_info->hdmi_rotation != p_output->crtc->rotation) { in psb_xrandr_coordinate_init()
300 psb_xrandr_info->hdmi_rotation = p_output->crtc->rotation; in psb_xrandr_coordinate_init()
413 p_crtc->rotation = crtc_info->rotation; in psb_xrandr_refresh()
671 …b_output_device *local_device_enabled, int *x, int *y, int *width, int *height, Rotation *rotation) in psb_xrandr_local_crtc_coordinate() argument
[all …]
Dpsb_xrandr.h116 Rotation rotation; member
180 …_output_device *local_device_enabled, int *x, int *y, int *width, int *height, Rotation *rotation);
181 …abled, int *x, int *y, int *width, int *height, psb_xrandr_location *location, Rotation *rotation);
/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/msm8226/liboverlay/
DoverlayUtils.cpp223 int getMdpOrient(eTransform rotation) { in getMdpOrient() argument
229 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation); in getMdpOrient()
230 if(rotation & OVERLAY_TRANSFORM_ROT_90) { in getMdpOrient()
235 if(rotation & OVERLAY_TRANSFORM_FLIP_H) { in getMdpOrient()
244 if(rotation & OVERLAY_TRANSFORM_FLIP_V) { in getMdpOrient()
/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/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp223 int getMdpOrient(eTransform rotation) { in getMdpOrient() argument
229 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation); in getMdpOrient()
230 if(rotation & OVERLAY_TRANSFORM_ROT_90) { in getMdpOrient()
235 if(rotation & OVERLAY_TRANSFORM_FLIP_H) { in getMdpOrient()
244 if(rotation & OVERLAY_TRANSFORM_FLIP_V) { in getMdpOrient()
/hardware/ti/omap4-aah/hwc/
Dhwc.c72 __u8 rotation : 3; /* 90-degree clockwise rotations */ member
310 c->rotation, c->mirror ? "+mir" : "", in dump_dsscomp()
656 oc->rotation = 2; in omap4_hwc_setup_layer()
660 oc->rotation += oc->mirror ? -1 : 1; in omap4_hwc_setup_layer()
661 oc->rotation &= 3; in omap4_hwc_setup_layer()
761 m_rotate(ext->m, ext->current.rotation); in set_ext_matrix()
765 if (ext->current.rotation & 1) { in set_ext_matrix()
798 int c, swap = cfg->rotation & 1; in crop_to_rect()
803 if (cfg->rotation & 2) in crop_to_rect()
805 if ((!cfg->mirror) ^ !(cfg->rotation & 2)) in crop_to_rect()
[all …]
/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/intel/common/libva/va/
Dva_dec_jpeg.h76 unsigned int rotation; member
/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
/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/intel/img/psb_video/src/
Dpsb_overlay.c476 switch (pPriv->rotation) { in i830_display_video()
890 pPriv->rotation = driver_data->local_rotation; in I830PutImageFlipRotateSurface()
892 pPriv->rotation = 0; in I830PutImageFlipRotateSurface()
913 pPriv->rotation = driver_data->extend_rotation; in I830PutImageFlipRotateSurface()
915 pPriv->rotation = 0; in I830PutImageFlipRotateSurface()
1104 if (crtc->rotation & (RR_Rotate_90 | RR_Rotate_270)) { in I830PutImage()
1196 if (pPriv->rotation & (RR_Rotate_90 | RR_Rotate_270)) { in I830PutImage()
1212 && (pPriv->rotation != RR_Rotate_0) \ in I830PutImage()
1304 pPriv->rotation = VA_ROTATION_NONE; in psbSetupImageVideoOverlay()
Dpsb_drv_video.h740 inline static int Rotation2Angle(int rotation) in Rotation2Angle() argument
742 switch (rotation) { in Rotation2Angle()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXAlgo.cpp1045 OMX_CONFIG_ROTATIONTYPE rotation; in setPictureRotation() local
1057 OMX_INIT_STRUCT(rotation, OMX_CONFIG_ROTATIONTYPE); in setPictureRotation()
1058 rotation.nRotation = degree; in setPictureRotation()
1059 rotation.nPortIndex = mCameraAdapterParameters.mImagePortIndex; in setPictureRotation()
1063 &rotation); in setPictureRotation()
/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()
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_device_copper.h151 unsigned long rotation; member

123