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

123

/hardware/intel/img/psb_video/src/android/
H A 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);
H A Dpsb_android_glue.cpp159 int psb_android_surfaceflinger_rotate(void* native_window, int *rotation) argument
172 *rotation = 1;
175 *rotation = 2;
178 *rotation = 3;
181 *rotation = 0;
H A Dpsb_output_android.c291 int rotation = 0, widi = 0;
293 int srf_rotate; /* primary surface rotation */
329 /* need to handle VA rotation, and set WM rotate to 0
330 * for Android, MIPI0/HDMI has the same WM rotation always
372 psb_android_surfaceflinger_status(android_isurface, &output->sf_composition, &rotation, &widi);
389 /* only care local rotation */
390 delta_rotation = Rotation2Angle(driver_data->mipi0_rotation) - Rotation2Angle(rotation);
393 drv_debug_msg(VIDEO_DEBUG_GENERAL, "New rotation degree %d of MIPI0 WM, Need to recalc rotation\n", rotation);
[all...]
/hardware/intel/common/libva/va/
H A Dva_dec_jpeg.h75 /** \brief Set to VA_ROTATION_* for a single rotation angle reported by VAConfigAttribDecJPEG. */
76 unsigned int rotation; member in struct:_VAPictureParameterBufferJPEGBaseline
/hardware/samsung_slsi/exynos5/include/
H A Dexynos_rotator.h149 * Set rotation.
156 * \param rotation
157 * image rotation. It should be multiple of 90[in]
164 int rotation);
H A Dfimg2d.h91 enum rotation { enum
240 enum rotation rotate;
H A Dexynos_gscaler.h236 * Set rotation.
243 * \param rotation
244 * image rotation. It should be multiple of 90[in]
257 int rotation,
/hardware/intel/img/psb_video/src/x11/
H A Dpsb_xrandr.h116 Rotation rotation; member in struct:_psb_xrandr_crtc_s
180 VAStatus psb_xrandr_local_crtc_coordinate(psb_output_device *local_device_enabled, int *x, int *y, int *width, int *height, Rotation *rotation);
181 VAStatus psb_xrandr_extend_crtc_coordinate(psb_output_device *extend_device_enabled, int *x, int *y, int *width, int *height, psb_xrandr_location *location, Rotation *rotation);
H A Dpsb_xrandr.c71 static int RRrotation2VArotation(Rotation rotation) argument
73 switch (rotation) {
269 if (psb_xrandr_info->mipi0_rotation != p_output->crtc->rotation) {
270 psb_xrandr_info->mipi0_rotation = p_output->crtc->rotation;
284 if (psb_xrandr_info->mipi1_rotation != p_output->crtc->rotation) {
285 psb_xrandr_info->mipi1_rotation = p_output->crtc->rotation;
299 if (psb_xrandr_info->hdmi_rotation != p_output->crtc->rotation) {
300 psb_xrandr_info->hdmi_rotation = p_output->crtc->rotation;
413 p_crtc->rotation = crtc_info->rotation;
671 psb_xrandr_local_crtc_coordinate(psb_output_device *local_device_enabled, int *x, int *y, int *width, int *height, Rotation *rotation) argument
721 psb_xrandr_extend_crtc_coordinate(psb_output_device *extend_device_enabled, int *x, int *y, int *width, int *height, psb_xrandr_location *location, Rotation *rotation) argument
[all...]
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayUtils.cpp217 int getMdpOrient(eTransform rotation) { argument
223 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation);
224 if(rotation & OVERLAY_TRANSFORM_ROT_90) {
229 if(rotation & OVERLAY_TRANSFORM_FLIP_H) {
238 if(rotation & OVERLAY_TRANSFORM_FLIP_V) {
247 ALOGD_IF(DEBUG_OVERLAY, "%s: Out rotation = %d", __FUNCTION__, retTrans);
258 // Use-case: Video playback [with downscaling and rotation].
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayUtils.cpp186 int getMdpOrient(eTransform rotation) { argument
192 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation);
193 if(rotation & OVERLAY_TRANSFORM_ROT_90) {
198 if(rotation & OVERLAY_TRANSFORM_FLIP_H) {
207 if(rotation & OVERLAY_TRANSFORM_FLIP_V) {
216 ALOGD_IF(DEBUG_OVERLAY, "%s: Out rotation = %d", __FUNCTION__, retTrans);
230 // Use-case: Video playback [with downscaling and rotation].
/hardware/samsung_slsi/exynos5/libgscaler/
H A Dexynos_gsc_utils.h100 int rotation; member in struct:gsc_info
/hardware/samsung_slsi/exynos5/librotator/
H A Dexynos_rotator.c71 int rotation; member in struct:rotator_info
263 int rotation)
270 if (rotation == 90 || rotation == 270) {
478 // rotation value;
487 if (info->rotation != value) {
488 ALOGV("%s::rotation is different..", __func__);
507 if (exynos_v4l2_s_ctrl(fd, V4L2_CID_ROTATE, info->rotation) < 0) {
758 int rotation)
771 int new_rotation = rotation
258 m_exynos_rotator_check_dst_size( unsigned int *w, unsigned int *h, unsigned int *crop_x, unsigned int *crop_y, unsigned int *crop_w, unsigned int *crop_h, int v4l2_colorformat, int rotation) argument
756 exynos_rotator_set_rotation( void *handle, int rotation) argument
[all...]
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayUtils.cpp223 int getMdpOrient(eTransform rotation) { argument
229 ALOGD_IF(DEBUG_OVERLAY, "%s: In rotation = %d", __FUNCTION__, rotation);
230 if(rotation & OVERLAY_TRANSFORM_ROT_90) {
235 if(rotation & OVERLAY_TRANSFORM_FLIP_H) {
244 if(rotation & OVERLAY_TRANSFORM_FLIP_V) {
253 ALOGD_IF(DEBUG_OVERLAY, "%s: Out rotation = %d", __FUNCTION__, retTrans);
264 // Use-case: Video playback [with downscaling and rotation].
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c64 __u8 rotation : 3; /* 90-degree clockwise rotations */ member in struct:ext_transform_t
65 __u8 hflip : 1; /* flip l-r (after rotation) */
102 EXT_ROTATION = 3, /* rotation while mirroring */
103 EXT_HFLIP = (1 << 2), /* flip l-r on output (after rotation) */
221 c->rotation, c->mirror ? "+mir" : "",
467 oc->rotation = 2;
471 oc->rotation += oc->mirror ? -1 : 1;
472 oc->rotation &= 3;
572 m_rotate(ext->m, ext->current.rotation);
576 if (ext->current.rotation
[all...]
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
H A Dfimg2d.h122 enum rotation { enum
340 * @rotate: rotation degree in clockwise
351 enum rotation rotate;
/hardware/ti/omap4-aah/hwc/
H A Dhwc.c72 __u8 rotation : 3; /* 90-degree clockwise rotations */ member in struct:ext_transform_t
73 __u8 hflip : 1; /* flip l-r (after rotation) */
110 EXT_ROTATION = 3, /* rotation while mirroring */
111 EXT_HFLIP = (1 << 2), /* flip l-r on output (after rotation) */
310 c->rotation, c->mirror ? "+mir" : "",
656 oc->rotation = 2;
660 oc->rotation += oc->mirror ? -1 : 1;
661 oc->rotation &= 3;
761 m_rotate(ext->m, ext->current.rotation);
765 if (ext->current.rotation
[all...]
/hardware/qcom/display/msm8960/liboverlay/
H A DoverlayUtils.h224 //Use rotator for 0 rotation. It is used anyway for others.
228 //then rotator will be used even if its 0 rotation case.
415 * rotation is 90, 180 etc
417 int getMdpOrient(eTransform rotation);
559 inline int getMdpOrient(eTransform rotation) { argument
560 ALOGE_IF(DEBUG_OVERLAY, "%s: rot=%d", __FUNCTION__, rotation);
561 switch(rotation)
568 //Clients in Android dont factor in 90 rotation while deciding flip.
576 ALOGE("%s: invalid rotation value (value = 0x%x",
577 __FUNCTION__, rotation);
[all...]
/hardware/ti/omap4xxx/test/CameraHal/
H A Dcamera_test_menu.cpp63 int rotation = 0; variable
1139 rotation = 0;
1168 params.set(CameraParameters::KEY_ROTATION, rotation);
1324 printf(" 3. Picture Rotation: %3d degree\n", rotation );
1484 rotation += 90;
1485 rotation %= 360;
1486 params.set(CameraParameters::KEY_ROTATION, rotation);
H A Dcamera_test_script.cpp32 extern int rotation;
263 rotation = atoi(cmd + 1);
264 params.set(CameraParameters::KEY_ROTATION, rotation);
/hardware/ti/omap4-aah/test/CameraHal/
H A Dcamera_test_script.cpp42 extern int rotation;
364 rotation = atoi(cmd + 1);
365 params.set(CameraParameters::KEY_ROTATION, rotation);
/hardware/qcom/media/mm-video-legacy/vidc/venc/inc/
H A Dvideo_encoder_device_copper.h151 unsigned long rotation; member in struct:msm_venc_rotation
/hardware/intel/img/psb_video/src/
H A Dpsb_overlay.c476 switch (pPriv->rotation) {
863 /* local/extend display doesn't have render rotation */
890 pPriv->rotation = driver_data->local_rotation;
892 pPriv->rotation = 0;
913 pPriv->rotation = driver_data->extend_rotation;
915 pPriv->rotation = 0;
1104 if (crtc->rotation & (RR_Rotate_90 | RR_Rotate_270)) {
1196 if (pPriv->rotation & (RR_Rotate_90 | RR_Rotate_270)) {
1212 && (pPriv->rotation != RR_Rotate_0) \
1304 pPriv->rotation
[all...]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
H A DOMXAlgo.cpp1045 OMX_CONFIG_ROTATIONTYPE rotation; local
1057 OMX_INIT_STRUCT(rotation, OMX_CONFIG_ROTATIONTYPE);
1058 rotation.nRotation = degree;
1059 rotation.nPortIndex = mCameraAdapterParameters.mImagePortIndex;
1063 &rotation);
1066 CAMHAL_LOGEB("Error while configuring rotation 0x%x", eError);
1128 CAMHAL_LOGEB("Error while configuring rotation 0x%x", eError);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXAlgo.cpp1019 OMX_CONFIG_ROTATIONTYPE rotation; local
1031 OMX_INIT_STRUCT(rotation, OMX_CONFIG_ROTATIONTYPE);
1032 rotation.nRotation = degree;
1033 rotation.nPortIndex = mCameraAdapterParameters.mImagePortIndex;
1037 &rotation);
1040 CAMHAL_LOGEB("Error while configuring rotation 0x%x", eError);
1099 CAMHAL_LOGEB("Error while configuring rotation 0x%x", eError);

Completed in 1602 milliseconds

123