Searched defs:rotation (Results 1 - 25 of 42) sorted by relevance

12

/hardware/intel/img/psb_video/src/android/
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;
/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/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/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);
/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/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
H A Dexynos_gscaler.c245 int rotation)
613 if (exynos_v4l2_s_ctrl(fd, V4L2_CID_ROTATE, info->rotation) < 0) {
1141 int rotation,
1156 int new_rotation = rotation % 360;
1159 ALOGE("%s::rotation(%d) cannot be acceptable fail", __func__, rotation);
1166 gsc_handle->dst.rotation = new_rotation;
1808 gsc_handle->dst.rotation) == false) {
240 m_exynos_gsc_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
1139 exynos_gsc_set_rotation( void *handle, int rotation, int flip_horizontal, int flip_vertical) argument
/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/intel/img/psb_video/src/x11/
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...]
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_coverlay.c907 Rotation rotation = RR_Rotate_0; local
958 ret = psb_xrandr_local_crtc_coordinate(&local_device, &primary_crtc_x, &primary_crtc_y, &pPriv->display_width, &pPriv->display_height, &rotation);
980 &pPriv->extend_display_width, &pPriv->extend_display_height, &extend_location, &rotation);
/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/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.h326 int rotation; member in struct:_PsbPortPrivRec
/hardware/qcom/display/msm8084/libcopybit/
H A Dc2d2.h220 C2D_ROTATE_BIT = (1 << 5), /* enables all rotation fields */
236 /* Target configuration bits, defines rotation + mirroring.
237 * Mirror is applied prior to rotation if enabled. */
241 C2D_TARGET_ROTATE_0 = (0 << 2), /* no rotation */
242 C2D_TARGET_ROTATE_90 = (1 << 2), /* 90 degree rotation */
243 C2D_TARGET_ROTATE_180 = (2 << 2), /* 180 degree rotation */
244 C2D_TARGET_ROTATE_270 = (3 << 2), /* 270 degree rotation, 90 + 180 */
280 C2D_OVERRIDE_TARGET_ROTATE_0 = (0 << 28), /* no rotation */
281 C2D_OVERRIDE_TARGET_ROTATE_90 = (1 << 28), /* 90 degree rotation */
282 C2D_OVERRIDE_TARGET_ROTATE_180 = (2 << 28), /* 180 degree rotation */
380 int32 rotation; /* clock-wise rotation in degrees, 16.16 fp */ member in struct:C2D_OBJECT_STR
[all...]
/hardware/qcom/display/msm8226/libcopybit/
H A Dc2d2.h220 C2D_ROTATE_BIT = (1 << 5), /* enables all rotation fields */
236 /* Target configuration bits, defines rotation + mirroring.
237 * Mirror is applied prior to rotation if enabled. */
241 C2D_TARGET_ROTATE_0 = (0 << 2), /* no rotation */
242 C2D_TARGET_ROTATE_90 = (1 << 2), /* 90 degree rotation */
243 C2D_TARGET_ROTATE_180 = (2 << 2), /* 180 degree rotation */
244 C2D_TARGET_ROTATE_270 = (3 << 2), /* 270 degree rotation, 90 + 180 */
280 C2D_OVERRIDE_TARGET_ROTATE_0 = (0 << 28), /* no rotation */
281 C2D_OVERRIDE_TARGET_ROTATE_90 = (1 << 28), /* 90 degree rotation */
282 C2D_OVERRIDE_TARGET_ROTATE_180 = (2 << 28), /* 180 degree rotation */
380 int32 rotation; /* clock-wise rotation in degrees, 16.16 fp */ member in struct:C2D_OBJECT_STR
[all...]
/hardware/qcom/display/msm8960/libcopybit/
H A Dc2d2.h220 C2D_ROTATE_BIT = (1 << 5), /* enables all rotation fields */
236 /* Target configuration bits, defines rotation + mirroring.
237 * Mirror is applied prior to rotation if enabled. */
241 C2D_TARGET_ROTATE_0 = (0 << 2), /* no rotation */
242 C2D_TARGET_ROTATE_90 = (1 << 2), /* 90 degree rotation */
243 C2D_TARGET_ROTATE_180 = (2 << 2), /* 180 degree rotation */
244 C2D_TARGET_ROTATE_270 = (3 << 2), /* 270 degree rotation, 90 + 180 */
280 C2D_OVERRIDE_TARGET_ROTATE_0 = (0 << 28), /* no rotation */
281 C2D_OVERRIDE_TARGET_ROTATE_90 = (1 << 28), /* 90 degree rotation */
282 C2D_OVERRIDE_TARGET_ROTATE_180 = (2 << 28), /* 180 degree rotation */
380 int32 rotation; /* clock-wise rotation in degrees, 16.16 fp */ member in struct:C2D_OBJECT_STR
[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/qcom/display/msm8974/libcopybit/
H A Dc2d2.h220 C2D_ROTATE_BIT = (1 << 5), /* enables all rotation fields */
236 /* Target configuration bits, defines rotation + mirroring.
237 * Mirror is applied prior to rotation if enabled. */
241 C2D_TARGET_ROTATE_0 = (0 << 2), /* no rotation */
242 C2D_TARGET_ROTATE_90 = (1 << 2), /* 90 degree rotation */
243 C2D_TARGET_ROTATE_180 = (2 << 2), /* 180 degree rotation */
244 C2D_TARGET_ROTATE_270 = (3 << 2), /* 270 degree rotation, 90 + 180 */
280 C2D_OVERRIDE_TARGET_ROTATE_0 = (0 << 28), /* no rotation */
281 C2D_OVERRIDE_TARGET_ROTATE_90 = (1 << 28), /* 90 degree rotation */
282 C2D_OVERRIDE_TARGET_ROTATE_180 = (2 << 28), /* 180 degree rotation */
380 int32 rotation; /* clock-wise rotation in degrees, 16.16 fp */ member in struct:C2D_OBJECT_STR
[all...]
/hardware/qcom/media/mm-video-legacy/vidc/venc/test/
H A Dvenc_test.cpp284 OMX_CONFIG_ROTATIONTYPE rotation; member in union:DynamicConfigData
1379 else if (!strcmp(config, "rotation"))
1382 dynamic_config.config_data.rotation.nPortIndex = PORT_INDEX_OUT;
1383 dynamic_config.config_data.rotation.nRotation = strtoul(param, NULL, 10);
/hardware/qcom/media/mm-video-v4l2/vidc/venc/inc/
H A Dvideo_encoder_device_v4l2.h162 unsigned long rotation; member in struct:msm_venc_rotation
/hardware/qcom/media/mm-video-v4l2/vidc/venc/test/
H A Dvenc_test.cpp315 OMX_CONFIG_ROTATIONTYPE rotation; member in union:DynamicConfigData
1387 } else if (!strcmp(config, "rotation")) {
1389 dynamic_config.config_data.rotation.nPortIndex = PORT_INDEX_OUT;
1390 dynamic_config.config_data.rotation.nRotation = strtoul(param, NULL, 10);
/hardware/samsung_slsi/exynos5/include/
H A DExynosCamera.h122 int rotation; member in struct:android::ExynosCameraInfo
667 //! Sets the rotation angle in degrees relative to the orientation of the camera.
668 bool setRotation(int rotation);
670 //! Gets the rotation angle in degrees relative to the orientation of the camera.
H A Dfimg2d.h91 enum rotation { enum
240 enum rotation rotate;

Completed in 2443 milliseconds

12