| /OK3568_Linux_fs/kernel/drivers/iio/imu/inv_mpu6050/ |
| H A D | inv_mpu_magn.c | 274 st->magn_orient.rotation[0] = st->orientation.rotation[3]; in inv_mpu_magn_set_orient() 275 st->magn_orient.rotation[1] = st->orientation.rotation[4]; in inv_mpu_magn_set_orient() 276 st->magn_orient.rotation[2] = st->orientation.rotation[5]; in inv_mpu_magn_set_orient() 278 st->magn_orient.rotation[3] = st->orientation.rotation[0]; in inv_mpu_magn_set_orient() 279 st->magn_orient.rotation[4] = st->orientation.rotation[1]; in inv_mpu_magn_set_orient() 280 st->magn_orient.rotation[5] = st->orientation.rotation[2]; in inv_mpu_magn_set_orient() 283 orient = st->orientation.rotation[6 + i]; in inv_mpu_magn_set_orient() 297 st->magn_orient.rotation[6 + i] = str; in inv_mpu_magn_set_orient()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_blend.c | 266 unsigned int rotation, in drm_plane_create_rotation_property() argument 280 WARN_ON(!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK)); in drm_plane_create_rotation_property() 281 WARN_ON(rotation & ~supported_rotations); in drm_plane_create_rotation_property() 289 drm_object_attach_property(&plane->base, prop, rotation); in drm_plane_create_rotation_property() 292 plane->state->rotation = rotation; in drm_plane_create_rotation_property() 318 unsigned int drm_rotation_simplify(unsigned int rotation, in drm_rotation_simplify() argument 321 if (rotation & ~supported_rotations) { in drm_rotation_simplify() 322 rotation ^= DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y; in drm_rotation_simplify() 323 rotation = (rotation & DRM_MODE_REFLECT_MASK) | in drm_rotation_simplify() 324 BIT((ffs(rotation & DRM_MODE_ROTATE_MASK) + 1) in drm_rotation_simplify() [all …]
|
| H A D | drm_rect.c | 255 unsigned int rotation) in drm_rect_rotate() argument 259 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate() 262 if (rotation & DRM_MODE_REFLECT_X) { in drm_rect_rotate() 267 if (rotation & DRM_MODE_REFLECT_Y) { in drm_rect_rotate() 273 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate() 329 unsigned int rotation) in drm_rect_rotate_inv() argument 333 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate_inv() 361 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate_inv() 364 if (rotation & DRM_MODE_REFLECT_X) { in drm_rect_rotate_inv() 369 if (rotation & DRM_MODE_REFLECT_Y) { in drm_rect_rotate_inv()
|
| H A D | drm_panel.c | 280 int rotation, ret; in of_drm_get_panel_orientation() local 282 ret = of_property_read_u32(np, "rotation", &rotation); in of_drm_get_panel_orientation() 292 if (rotation == 0) in of_drm_get_panel_orientation() 294 else if (rotation == 90) in of_drm_get_panel_orientation() 296 else if (rotation == 180) in of_drm_get_panel_orientation() 298 else if (rotation == 270) in of_drm_get_panel_orientation()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86Cursors.c | 55 return crtc->rotation; in xf86_crtc_cursor_rotation() 62 xf86_crtc_rotate_coord(Rotation rotation, in xf86_crtc_rotate_coord() argument 68 switch (rotation & 0xf) { in xf86_crtc_rotate_coord() 86 if (rotation & RR_Reflect_X) in xf86_crtc_rotate_coord() 88 if (rotation & RR_Reflect_Y) in xf86_crtc_rotate_coord() 98 xf86_crtc_rotate_coord_back(Rotation rotation, in xf86_crtc_rotate_coord_back() argument 105 if (rotation & RR_Reflect_X) in xf86_crtc_rotate_coord_back() 107 if (rotation & RR_Reflect_Y) in xf86_crtc_rotate_coord_back() 110 switch (rotation & 0xf) { in xf86_crtc_rotate_coord_back() 270 const Rotation rotation = xf86_crtc_cursor_rotation(crtc); in xf86_crtc_convert_cursor_to_argb() local [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86RandR.c | 45 Rotation rotation; member 101 RRSetCurrentConfig(pScreen, randrp->rotation, refresh, pSize); in xf86RandRGetInfo() 127 RRSetCurrentConfig(pScreen, randrp->rotation, refresh0, pSize); in xf86RandRGetInfo() 189 if (randrp->rotation & (RR_Rotate_90 | RR_Rotate_270)) { in xf86RandRSetMode() 230 Rotation rotation, int rate, RRScreenSizePtr pSize) in xf86RandRSetConfig() argument 237 Rotation oldRotation = randrp->rotation; in xf86RandRSetConfig() 264 if (randrp->rotation != rotation) { in xf86RandRSetConfig() 270 RRRotation.RRConfig.rotation = rotation; in xf86RandRSetConfig() 284 randrp->rotation = rotation; in xf86RandRSetConfig() 289 if (randrp->rotation != oldRotation) { in xf86RandRSetConfig() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-core/psplash/files/ |
| H A D | psplash-init | 34 rotation=0 35 if [ -e /etc/rotation ]; then 36 read rotation < /etc/rotation 39 /usr/bin/psplash --angle $rotation &
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/ |
| H A D | rkRgaApi.cpp | 52 src.rotation = 0; in rkRgaBlit() 53 src.rotation = HAL_TRANSFORM_ROT_90; in rkRgaBlit() 54 src.rotation = HAL_TRANSFORM_ROT_180; in rkRgaBlit() 55 src.rotation = HAL_TRANSFORM_ROT_270; in rkRgaBlit() 56 src.rotation = HAL_TRANSFORM_FLIP_V; in rkRgaBlit() 57 src.rotation = HAL_TRANSFORM_FLIP_H; in rkRgaBlit()
|
| H A D | display.c | 179 …d drm_commit(struct display *disp, int num, void *ptr, int fd, int fmt, int w, int h, int rotation) in drm_commit() argument 192 src.rotation = rotation; in drm_commit() 210 void display_commit(void *ptr, int fd, int fmt, int w, int h, int rotation) in display_commit() argument 214 drm_commit(&g_disp, num, ptr, fd, fmt, w, h, rotation); in display_commit() 233 void display_win(void *srcp, int fmt, int srcw, int srch, int rotation, void *dstp, int dstw, int d… in display_win() argument 240 src.rotation = rotation; in display_win() 251 void display_win1(void *ptr, int fd, int fmt, int w, int h, int rotation) in display_win1() argument 256 display_win(ptr, fmt, w, h, rotation, win1.bo.ptr, win1.width, win1.height); in display_win1() 260 void display_win2(void *ptr, int fd, int fmt, int w, int h, int rotation) in display_win2() argument 265 display_win(ptr, fmt, w, h, rotation, win2.bo.ptr, win2.width, win2.height); in display_win2()
|
| /OK3568_Linux_fs/external/recovery/minui/ |
| H A D | graphics.c | 58 static GRRotation rotation = ROTATION_NONE; variable 70 return x < 0 || x >= (rotation % 2 ? gr_draw->height : gr_draw->width) || y < 0 || in outside() 71 y >= (rotation % 2 ? gr_draw->width : gr_draw->height); in outside() 107 if (rotation % 2) { in incr_x() 108 *p = *p + (rotation == 1 ? 1 : -1) * row_pixels; in incr_x() 110 *p = *p + (rotation ? -1 : 1); in incr_x() 117 if (rotation % 2) { in incr_y() 118 *p = *p + (rotation == 1 ? -1 : 1); in incr_y() 120 *p = *p + (rotation ? -1 : 1) * row_pixels; in incr_y() 127 switch (rotation) { in pixel_at() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/ |
| H A D | affine.hpp | 196 void rotation(const Mat3& R); 206 void rotation(const Vec3& rvec); 218 void rotation(const Mat& data); 239 Mat3 rotation() const; 344 rotation(R); in Affine3() 353 rotation(_rvec); in Affine3() 372 rotation(data(Rect(0, 0, 3, 3))); in Affine3() 377 rotation(data); in Affine3() 396 void cv::Affine3<T>::rotation(const Mat3& R) in rotation() function in cv::Affine3 402 void cv::Affine3<T>::rotation(const Vec3& _rvec) in rotation() function in cv::Affine3 [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/ |
| H A D | affine.hpp | 196 void rotation(const Mat3& R); 206 void rotation(const Vec3& rvec); 218 void rotation(const Mat& data); 239 Mat3 rotation() const; 344 rotation(R); in Affine3() 353 rotation(_rvec); in Affine3() 372 rotation(data(Rect(0, 0, 3, 3))); in Affine3() 377 rotation(data); in Affine3() 396 void cv::Affine3<T>::rotation(const Mat3& R) in rotation() function in cv::Affine3 402 void cv::Affine3<T>::rotation(const Vec3& _rvec) in rotation() function in cv::Affine3 [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/ |
| H A D | affine.hpp | 196 void rotation(const Mat3& R); 206 void rotation(const Vec3& rvec); 218 void rotation(const Mat& data); 239 Mat3 rotation() const; 344 rotation(R); in Affine3() 353 rotation(_rvec); in Affine3() 372 rotation(data(Rect(0, 0, 3, 3))); in Affine3() 377 rotation(data); in Affine3() 396 void cv::Affine3<T>::rotation(const Mat3& R) in rotation() function in cv::Affine3 402 void cv::Affine3<T>::rotation(const Vec3& _rvec) in rotation() function in cv::Affine3 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/aty/ |
| H A D | mach64_accel.c | 30 u32 rotation; in rotation24bpp() local 32 rotation = (dx / 4) % 6; in rotation24bpp() 34 rotation = ((dx + 2) / 4) % 6; in rotation24bpp() 37 return ((rotation << 8) | DST_24_ROTATION_ENABLE); in rotation24bpp() 203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local 235 rotation = rotation24bpp(dx, direction); in atyfb_copyarea() 243 aty_st_le32(DST_CNTL, direction | rotation, par); in atyfb_copyarea() 250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local 272 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT); in atyfb_fillrect() 283 DST_X_LEFT_TO_RIGHT | rotation, par); in atyfb_fillrect() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/omap/ |
| H A D | omap_voutdef.h | 154 enum dss_rotation rotation; member 186 return (vout->rotation == dss_rotation_90_degree || in is_rotation_90_or_270() 187 vout->rotation == dss_rotation_270_degree); in is_rotation_90_or_270() 195 return vout->rotation || vout->mirror; in is_rotation_enabled() 204 return vout->rotation; in calc_rotation() 206 switch (vout->rotation) { in calc_rotation()
|
| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rrcrtc.c | 83 crtc->rotation = RR_Rotate_0; in RRCrtcCreate() 136 Rotation rotation, in RRCrtcNotify() argument 215 if (rotation != crtc->rotation) { in RRCrtcNotify() 216 crtc->rotation = rotation; in RRCrtcNotify() 226 rotation, in RRCrtcNotify() 249 .rotation = crtc->rotation, in RRDeliverCrtcEvent() 432 int x, int y, Rotation rotation) in rrCreateSharedPixmap() argument 502 int x, int y, Rotation rotation, Bool sync, in rrSetupPixmapSharing() argument 540 x, y, rotation); in rrSetupPixmapSharing() 556 x, y, rotation); in rrSetupPixmapSharing() [all …]
|
| H A D | rrtransform.c | 144 Rotation rotation, in RRTransformCompute() argument 165 if (rotation != RR_Rotate_0) { in RRTransformCompute() 172 switch (rotation & 0xf) { in RRTransformCompute() 231 if (rotation & RR_Reflect_X) { in RRTransformCompute() 234 if (rotation & (RR_Rotate_0 | RR_Rotate_180)) { in RRTransformCompute() 243 if (rotation & RR_Reflect_Y) { in RRTransformCompute() 246 if (rotation & (RR_Rotate_0 | RR_Rotate_180)) { in RRTransformCompute()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/vp8/ |
| H A D | vp8e_api_v2.c | 79 prep->rotation = MPP_ENC_ROT_0; in vp8e_init() 164 RK_S32 rotation; in vp8e_proc_prep_cfg() local 192 rotation = dst->rotation_ext; in vp8e_proc_prep_cfg() 197 rotation += MPP_ENC_ROT_180; in vp8e_proc_prep_cfg() 198 rotation &= MPP_ENC_ROT_270; in vp8e_proc_prep_cfg() 202 dst->rotation = rotation; in vp8e_proc_prep_cfg() 218 if (dst->rotation == MPP_ENC_ROT_90 || dst->rotation == MPP_ENC_ROT_270) { in vp8e_proc_prep_cfg() 231 if (dst->rotation == MPP_ENC_ROT_90 || dst->rotation == MPP_ENC_ROT_270) { in vp8e_proc_prep_cfg()
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_blend.h | 38 static inline bool drm_rotation_90_or_270(unsigned int rotation) in drm_rotation_90_or_270() argument 40 return rotation & (DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_270); in drm_rotation_90_or_270() 47 unsigned int rotation, 49 unsigned int drm_rotation_simplify(unsigned int rotation,
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/mediatek/ |
| H A D | mtk_disp_ovl.c | 156 unsigned int rotation = 0; in mtk_ovl_layer_check() local 158 rotation = drm_rotation_simplify(state->rotation, in mtk_ovl_layer_check() 162 rotation &= ~DRM_MODE_ROTATE_0; in mtk_ovl_layer_check() 165 if ((rotation & DRM_MODE_ROTATE_MASK) != 0) in mtk_ovl_layer_check() 172 if (state->fb->format->is_yuv && rotation != 0) in mtk_ovl_layer_check() 175 state->rotation = rotation; in mtk_ovl_layer_check() 272 if (pending->rotation & DRM_MODE_REFLECT_Y) { in mtk_ovl_layer_config() 277 if (pending->rotation & DRM_MODE_REFLECT_X) { in mtk_ovl_layer_config()
|
| /OK3568_Linux_fs/external/xserver/dix/ |
| H A D | pixmap.c | 188 Rotation rotation) in PixmapStartDirtyTracking() argument 206 dirty_update->rotation = rotation; in PixmapStartDirtyTracking() 211 if (rotation != RR_Rotate_0) { in PixmapStartDirtyTracking() 215 rotation, in PixmapStartDirtyTracking() 231 if (dirty_update->rotation == RR_Rotate_90 || in PixmapStartDirtyTracking() 232 dirty_update->rotation == RR_Rotate_270) { in PixmapStartDirtyTracking() 382 if (dirty->rotation == RR_Rotate_90 || in PixmapSyncDirtyHelper() 383 dirty->rotation == RR_Rotate_270) { in PixmapSyncDirtyHelper() 411 if (!pScreen->root || dirty->rotation == RR_Rotate_0) in PixmapSyncDirtyHelper()
|
| /OK3568_Linux_fs/buildroot/package/frecon/ |
| H A D | 0009-Support-FB-rotating-and-scaling-with-environment.patch | 34 fb->buffer_properties.rotation = DRM_MODE_ROTATE_180; 44 + fb->buffer_properties.rotation = DRM_MODE_ROTATE_90; 47 + fb->buffer_properties.rotation = DRM_MODE_ROTATE_180; 50 + fb->buffer_properties.rotation = DRM_MODE_ROTATE_270; 53 + fb->buffer_properties.rotation = DRM_MODE_ROTATE_0;
|
| /OK3568_Linux_fs/external/gstreamer-rockchip/gst/rockchipmpp/ |
| H A D | gstmpp.c | 253 gst_mpp_rga_get_rotation (gint rotation) in gst_mpp_rga_get_rotation() argument 255 switch (rotation) { in gst_mpp_rga_get_rotation() 271 GstMemory * out_mem, GstVideoInfo * dst_vinfo, gint rotation) in gst_mpp_rga_convert() argument 304 src_info.rotation = gst_mpp_rga_get_rotation (rotation); in gst_mpp_rga_convert() 305 if (src_info.rotation < 0) in gst_mpp_rga_convert() 316 GstMemory * out_mem, GstVideoInfo * dst_vinfo, gint rotation) in gst_mpp_rga_convert_from_mpp_frame() argument 329 src_info.rotation = gst_mpp_rga_get_rotation (rotation); in gst_mpp_rga_convert_from_mpp_frame() 330 if (src_info.rotation < 0) in gst_mpp_rga_convert_from_mpp_frame()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h265/ |
| H A D | h265e_api.c | 129 prep->rotation = MPP_ENC_ROT_0; in h265e_init() 328 RK_S32 rotation; in h265e_proc_prep_cfg() local 377 rotation = dst->rotation_ext; in h265e_proc_prep_cfg() 381 rotation += MPP_ENC_ROT_180; in h265e_proc_prep_cfg() 382 rotation &= MPP_ENC_ROT_270; in h265e_proc_prep_cfg() 386 dst->rotation = rotation; in h265e_proc_prep_cfg() 390 if (dst->rotation == MPP_ENC_ROT_90 || dst->rotation == MPP_ENC_ROT_270) { in h265e_proc_prep_cfg() 404 if (dst->rotation == MPP_ENC_ROT_90 || dst->rotation == MPP_ENC_ROT_270) { in h265e_proc_prep_cfg() 418 if (MPP_FRAME_FMT_IS_FBC(dst->format) && (dst->mirroring || dst->rotation || dst->flip)) { in h265e_proc_prep_cfg() 422 dst->mirroring, dst->rotation, dst->flip); in h265e_proc_prep_cfg()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/include/ |
| H A D | drmrga.h | 87 int rotation; member 129 info->rotation = HAL_TRANSFORM_ROT_90; in rga_set_rotation() 131 info->rotation = HAL_TRANSFORM_ROT_180; in rga_set_rotation() 133 info->rotation = HAL_TRANSFORM_ROT_270; in rga_set_rotation()
|