Home
last modified time | relevance | path

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

1234

/hardware/intel/img/psb_video/src/android/
Dpsb_android_glue.cpp159 int psb_android_surfaceflinger_rotate(void* native_window, int *rotation) in psb_android_surfaceflinger_rotate() argument
172 *rotation = 1; in psb_android_surfaceflinger_rotate()
175 *rotation = 2; in psb_android_surfaceflinger_rotate()
178 *rotation = 3; in psb_android_surfaceflinger_rotate()
181 *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/qcom/display/msm8996/sdm/include/core/
Dlayer_stack.h120 float rotation = 0.0f; //!< Left most pixel coordinate. member
125 return (rotation == transform.rotation && flip_horizontal == transform.flip_horizontal &&
/hardware/qcom/display/msm8909/liboverlay/
DoverlayUtils.cpp217 int getMdpOrient(eTransform rotation) { in getMdpOrient() argument
223 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation); in getMdpOrient()
224 if(rotation & OVERLAY_TRANSFORM_ROT_90) { in getMdpOrient()
229 if(rotation & OVERLAY_TRANSFORM_FLIP_H) { in getMdpOrient()
238 if(rotation & OVERLAY_TRANSFORM_FLIP_V) { in getMdpOrient()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp217 int getMdpOrient(eTransform rotation) { in getMdpOrient() argument
223 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation); in getMdpOrient()
224 if(rotation & OVERLAY_TRANSFORM_ROT_90) { in getMdpOrient()
229 if(rotation & OVERLAY_TRANSFORM_FLIP_H) { in getMdpOrient()
238 if(rotation & OVERLAY_TRANSFORM_FLIP_V) { in getMdpOrient()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp238 int getMdpOrient(eTransform rotation) { in getMdpOrient() argument
244 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation); in getMdpOrient()
245 if(rotation & OVERLAY_TRANSFORM_ROT_90) { in getMdpOrient()
250 if(rotation & OVERLAY_TRANSFORM_FLIP_H) { in getMdpOrient()
259 if(rotation & OVERLAY_TRANSFORM_FLIP_V) { in getMdpOrient()
/hardware/qcom/camera/usbcamcore/src/
DQCameraMjpegDecode.cpp86 int32_t rotation; member
155 mjpegd->rotation = 0; in mjpegDecoderInit()
356 if (0 == p_args->rotation || 180 == p_args->rotation) in decoder_test()
364 else if (90 == p_args->rotation || 270 == p_args->rotation) in decoder_test()
428 config.rotation = p_args->rotation; in decoder_test()
/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/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/camera/QCamera2/stack/common/
Dmm_jpeg_interface.h191 uint32_t rotation; member
242 uint32_t rotation; member
291 uint32_t rotation; member
/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/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/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/mm-image-codec/qomx_core/
DQOMX_JpegExtensions.h211 OMX_U32 rotation; member
/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()
/hardware/qcom/camera/QCamera2/HAL/
DQCameraParametersIntf.h189 int32_t addOnlineRotation(uint32_t rotation, uint32_t streamId,
264 void setJpegRotation(int rotation);
DQCameraParameters.cpp3250 int32_t rotation = params.getInt(KEY_ROTATION); in setRotation() local
3251 if (rotation != -1) { in setRotation()
3252 if (rotation == 0 || rotation == 90 || in setRotation()
3253 rotation == 180 || rotation == 270) { in setRotation()
3254 set(KEY_ROTATION, rotation); in setRotation()
3257 rotation); in setRotation()
3258 mRotation = rotation; in setRotation()
3260 LOGE("Invalid rotation value: %d", rotation); in setRotation()
9852 featureConfig.rotation = ROTATE_0; in getStreamRotation()
9859 featureConfig.rotation = ROTATE_90; in getStreamRotation()
[all …]
/hardware/libhardware/include/hardware/
Dcamera3.h1674 int rotation; member
/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/msm8974/mm-video-legacy/vidc/venc/inc/
Dvideo_encoder_device_copper.h151 unsigned long rotation; member

1234