| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/ |
| H A D | affine.hpp | 68 * where \f$R\f$ is a 3x3 rotation matrix and \f$t\f$ is a 3x1 translation vector. 70 * You can specify \f$R\f$ either by a 3x3 rotation matrix or by a 3x1 rotation vector, 71 * which is converted to a 3x3 rotation matrix by the Rodrigues formula. 73 … * To construct a matrix \f$T\f$ representing first rotation around the axis \f$r\f$ with rotation 81 * If you already have the rotation matrix \f$R\f$, then you can use 88 * To extract the rotation matrix \f$R\f$ from \f$T\f$, use 91 * cv::Matx33f R = T.rotation(); 100 * To extract the rotation vector \f$r\f$ from \f$T\f$, use 106 * Note that since the mapping from rotation vectors to rotation matrices 107 * is many to one. The returned rotation vector is not necessarily the one [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/ |
| H A D | affine.hpp | 68 * where \f$R\f$ is a 3x3 rotation matrix and \f$t\f$ is a 3x1 translation vector. 70 * You can specify \f$R\f$ either by a 3x3 rotation matrix or by a 3x1 rotation vector, 71 * which is converted to a 3x3 rotation matrix by the Rodrigues formula. 73 … * To construct a matrix \f$T\f$ representing first rotation around the axis \f$r\f$ with rotation 81 * If you already have the rotation matrix \f$R\f$, then you can use 88 * To extract the rotation matrix \f$R\f$ from \f$T\f$, use 91 * cv::Matx33f R = T.rotation(); 100 * To extract the rotation vector \f$r\f$ from \f$T\f$, use 106 * Note that since the mapping from rotation vectors to rotation matrices 107 * is many to one. The returned rotation vector is not necessarily the one [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/ |
| H A D | affine.hpp | 68 * where \f$R\f$ is a 3x3 rotation matrix and \f$t\f$ is a 3x1 translation vector. 70 * You can specify \f$R\f$ either by a 3x3 rotation matrix or by a 3x1 rotation vector, 71 * which is converted to a 3x3 rotation matrix by the Rodrigues formula. 73 … * To construct a matrix \f$T\f$ representing first rotation around the axis \f$r\f$ with rotation 81 * If you already have the rotation matrix \f$R\f$, then you can use 88 * To extract the rotation matrix \f$R\f$ from \f$T\f$, use 91 * cv::Matx33f R = T.rotation(); 100 * To extract the rotation vector \f$r\f$ from \f$T\f$, use 106 * Note that since the mapping from rotation vectors to rotation matrices 107 * is many to one. The returned rotation vector is not necessarily the one [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/omap/ |
| H A D | omap_voutdef.h | 59 /* Enum for Rotation 60 * DSS understands rotation in 0, 1, 2, 3 context 70 /* Enum for choosing rotation type for vout 71 * DSS2 doesn't understand no rotation as an 73 * rotation in the case where VRFB is not built in 154 enum dss_rotation rotation; member 182 * Return true if rotation is 90 or 270 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() 191 * Return true if rotation is enabled [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86Cursors.c | 47 * Returns the rotation being performed by the server. If the driver indicates 50 static Rotation 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() [all …]
|
| H A D | xf86Crtc.h | 171 * Create shadow pixmap for rotation support 235 Rotation rotation, int x, int y); 279 Rotation rotation; member 299 Rotation desiredRotation; 396 * transform (including rotation and reflection). 598 * Desired initial rotation 600 Rotation initial_rotation; 786 /* For crtc-based rotation */ 818 /* wrap screen BlockHandler for rotation */ 895 Rotation rotation, RRTransformPtr transform, int x, [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86RandR.c | 45 Rotation rotation; member 65 xf86RandRGetInfo(ScreenPtr pScreen, Rotation * rotations) in xf86RandRGetInfo() 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() 276 * Currently we need to rely on HW support for rotation. in xf86RandRSetConfig() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_blend.c | 101 * rotation: 102 * Rotation is set up with drm_plane_create_rotation_property(). It adds a 103 * rotation and reflection step between the source and destination rectangles. 232 * drm_plane_create_rotation_property - create a new rotation property 234 * @rotation: initial value of the rotation property 239 * Since a rotation by 180° degress is the same as reflecting both along the x 240 * and the y axis the rotation property is somewhat redundant. Drivers can use 244 * drm_property_create_bitmask()) called "rotation" and has the following 260 * Rotation is the specified amount in degrees in counter clockwise direction, 262 * rotation. After reflection, the rotation is applied to the image sampled from [all …]
|
| H A D | drm_rect.c | 242 * @rotation: Transformation to be applied 244 * Apply @rotation to the coordinates of rectangle @r. 246 * @width and @height combined with @rotation define 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() 308 * @rotation: Transformation whose inverse is to be applied 310 * Apply the inverse of @rotation to the coordinates [all …]
|
| H A D | drm_panel.c | 266 * the "rotation" binding from a device tree node 270 * Looks up the rotation of a panel in the device tree. The orientation of the 271 * panel is expressed as a property name "rotation" in the device tree. The 272 * rotation in the device tree is counter clockwise. 274 * Return: 0 when a valid rotation value (0, 90, 180, or 270) is read or the 275 * rotation property doesn't exist. Return a negative error code on failure. 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() 284 /* Don't return an error if there's no rotation property. */ in of_drm_get_panel_orientation() 292 if (rotation == 0) in of_drm_get_panel_orientation() [all …]
|
| /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/include/video/ |
| H A D | imx-ipu-image-convert.h | 5 * i.MX Queued image conversion support, with tiling and rotation. 61 * @rot_mode: rotation mode 70 * and rotation mode meet IPU restrictions. 74 * @rot_mode: rotation mode 76 * Returns 0 if the formats and rotation mode meet IPU restrictions, 89 * @rot_mode: rotation mode 94 * on failure. The input/output formats and rotation mode must already meet 159 * @rot_mode: rotation mode 165 * As with ipu_image_convert_prepare(), the input/output formats and rotation 186 * @rot_mode: rotation mode [all …]
|
| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rrcrtc.c | 83 crtc->rotation = RR_Rotate_0; in RRCrtcCreate() 113 RRCrtcSetRotations(RRCrtcPtr crtc, Rotation rotations) in RRCrtcSetRotations() 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() [all …]
|
| H A D | randrstr.h | 117 Rotation rotation; member 118 Rotation rotations; 218 Rotation rotation, 259 typedef Bool (*RRGetInfoProcPtr) (ScreenPtr pScreen, Rotation * rotations); 301 Rotation rotation, 312 Rotation rotation); 391 Rotation rotations; 397 Rotation rotation; member 625 Rotation rotation, int rate, RRScreenSizePtr pSize); 627 extern _X_EXPORT Rotation RRGetRotation(ScreenPtr pScreen); [all …]
|
| H A D | rrtransform.c | 134 * client-specified transform, rotation/reflection values and the crtc 144 Rotation rotation, in RRTransformCompute() argument 165 if (rotation != RR_Rotate_0) { in RRTransformCompute() 171 /* rotation */ 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()
|
| H A D | rrscreen.c | 100 .rotation = (CARD8) (crtc ? crtc->rotation : RR_Rotate_0), in RRDeliverScreenEvent() 110 if (se.rotation & (RR_Rotate_90 | RR_Rotate_270)) { in RRDeliverScreenEvent() 273 Rotation rotation = crtc->rotation; in ProcRRSetScreenSize() local 275 if (rotation & (RR_Rotate_90 | RR_Rotate_270)) { in ProcRRSetScreenSize() 792 .rotation = RR_Rotate_0, in ProcRRGetScreenInfo() 820 .rotation = output->crtc->rotation, in ProcRRGetScreenInfo() 888 swaps(&rep.rotation); in ProcRRGetScreenInfo() 913 Rotation rotation; in ProcRRSetScreenConfig() local 991 * Validate requested rotation in ProcRRSetScreenConfig() 993 rotation = (Rotation) stuff->rotation; in ProcRRSetScreenConfig() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/ |
| H A D | rkRgaApi.cpp | 50 /************ set the rga_mod ,rotation\composition\scale\copy .... **********/ in rkRgaBlit() 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() 104 // increments pixel pointer right, with current rotation. 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() 114 // increments pixel pointer down, with current rotation. 117 if (rotation % 2) { in incr_y() 118 *p = *p + (rotation == 1 ? -1 : 1); in incr_y() [all …]
|
| /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 188 … mpp_err("invalid trans: rotation %d, mirroring %d\n", dst->rotation_ext, dst->mirroring_ext); in vp8e_proc_prep_cfg() 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/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/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 367 … mpp_err("invalid trans: rotation %d, mirroring %d\n", dst->rotation_ext, dst->mirroring_ext); in h265e_proc_prep_cfg() 374 * which should be transformed to mirroring and rotation in hal. in h265e_proc_prep_cfg() 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() [all …]
|
| /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/kernel/Documentation/arm/omap/ |
| H A D | dss.rst | 167 rotate Rotation 0-3 for 0, 90, 180, 270 degrees 168 rotate_type 0 = DMA rotation, 1 = VRFB rotation 201 rotate Rotation 0-3 for 0, 90, 180, 270 degrees 304 Rotation and mirroring currently only supports RGB565 and RGB8888 modes. VRFB 307 VRFB rotation requires much more memory than non-rotated framebuffer, so you 308 probably need to increase your vram setting before using VRFB rotation. Also, 336 - Use VRFB rotation for all framebuffers. 339 - Default rotation applied to all framebuffers. 340 0 - 0 degree rotation 341 1 - 90 degree rotation [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 …]
|