Home
last modified time | relevance | path

Searched refs:flip (Results 1 – 25 of 246) sorted by relevance

12345678910

/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A Dvsp1_wpf.c57 if (rotate == wpf->flip.rotate) in vsp1_wpf_set_rotation()
85 wpf->flip.rotate = rotate; in vsp1_wpf_set_rotation()
99 u32 flip = 0; in vsp1_wpf_s_ctrl() local
103 rotation = wpf->flip.ctrls.rotate ? wpf->flip.ctrls.rotate->val : 0; in vsp1_wpf_s_ctrl()
114 if (wpf->flip.ctrls.vflip->val) in vsp1_wpf_s_ctrl()
115 flip |= BIT(WPF_CTRL_VFLIP); in vsp1_wpf_s_ctrl()
117 if (wpf->flip.ctrls.hflip && wpf->flip.ctrls.hflip->val) in vsp1_wpf_s_ctrl()
118 flip |= BIT(WPF_CTRL_HFLIP); in vsp1_wpf_s_ctrl()
121 flip ^= BIT(WPF_CTRL_VFLIP) | BIT(WPF_CTRL_HFLIP); in vsp1_wpf_s_ctrl()
123 spin_lock_irq(&wpf->flip.lock); in vsp1_wpf_s_ctrl()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Dpageflip.c105 ms_pageflip_free(struct ms_crtc_pageflip *flip) in ms_pageflip_free() argument
107 struct ms_flipdata *flipdata = flip->flipdata; in ms_pageflip_free()
109 free(flip); in ms_pageflip_free()
124 struct ms_crtc_pageflip *flip = data; in ms_pageflip_handler() local
125 struct ms_flipdata *flipdata = flip->flipdata; in ms_pageflip_handler()
130 if (flip->on_reference_crtc) { in ms_pageflip_handler()
142 ms_pageflip_free(flip); in ms_pageflip_handler()
151 struct ms_crtc_pageflip *flip = data; in ms_pageflip_abort() local
152 struct ms_flipdata *flipdata = flip->flipdata; in ms_pageflip_abort()
162 ms_pageflip_free(flip); in ms_pageflip_abort()
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Dbmp_helper.c53 int y_off, bool flip) in decode_rle8_bitmap() argument
62 if (flip) { in decode_rle8_bitmap()
74 if (flip) { in decode_rle8_bitmap()
88 if (flip) { in decode_rle8_bitmap()
150 bool flip = false; in bmpdecoder() local
167 flip = true; in bmpdecoder()
194 bpp, 0, 0, flip); in bmpdecoder()
199 if (flip) in bmpdecoder()
208 if (flip) in bmpdecoder()
220 if (flip) in bmpdecoder()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c40 bool flip; member
127 bool flip = nv_plane->flip; in nv10_update_plane() local
154 nvif_wr32(dev, NV_PVIDEO_BASE(flip), 0); in nv10_update_plane()
155 nvif_wr32(dev, NV_PVIDEO_OFFSET_BUFF(flip), nvbo->offset); in nv10_update_plane()
156 nvif_wr32(dev, NV_PVIDEO_SIZE_IN(flip), src_h << 16 | src_w); in nv10_update_plane()
157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane()
158 nvif_wr32(dev, NV_PVIDEO_DS_DX(flip), (src_w << 20) / crtc_w); in nv10_update_plane()
159 nvif_wr32(dev, NV_PVIDEO_DT_DY(flip), (src_h << 20) / crtc_h); in nv10_update_plane()
160 nvif_wr32(dev, NV_PVIDEO_POINT_OUT(flip), crtc_y << 16 | crtc_x); in nv10_update_plane()
161 nvif_wr32(dev, NV_PVIDEO_SIZE_OUT(flip), crtc_h << 16 | crtc_w); in nv10_update_plane()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/gl860/
H A Dgl860-mi2020.c364 sd->vcur.flip = 0; in mi2020_init_settings()
376 sd->vmax.flip = 1; in mi2020_init_settings()
445 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi2020_init_post_alt() local
474 dat_hvflip2[2] = 0x6c + 2 * (1 - flip) + (1 - mirror); in mi2020_init_post_alt()
475 dat_hvflip4[2] = 0x24 + 2 * (1 - flip) + (1 - mirror); in mi2020_init_post_alt()
594 sd->vold.flip = flip; in mi2020_init_post_alt()
633 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi2020_camera_settings() local
691 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in mi2020_camera_settings()
693 sd->vold.flip = flip; in mi2020_camera_settings()
695 dat_hvflip2[2] = 0x6c + 2 * (1 - flip) + (1 - mirror); in mi2020_camera_settings()
[all …]
H A Dgl860-ov2640.c184 sd->vcur.flip = 0; in ov2640_init_settings()
195 sd->vmax.flip = 1; in ov2640_init_settings()
248 sd->vold.flip = -1; in ov2640_init_pre_alt()
348 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) == 0); in ov2640_camera_settings() local
438 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in ov2640_camera_settings()
440 sd->vold.flip = flip; in ov2640_camera_settings()
448 flip = 0x50 * flip + mirror; in ov2640_camera_settings()
452 ctrl_out(gspca_dev, 0x40, 1, 0x6028 + flip, 0x0004, 0, NULL); in ov2640_camera_settings()
H A Dgl860-mi1320.c186 sd->vcur.flip = 0; in mi1320_init_settings()
198 sd->vmax.flip = 1; in mi1320_init_settings()
263 sd->vold.flip = -1; in mi1320_init_pre_alt()
349 s32 flip = (((sd->vcur.flip > 0) ^ sd->mirrorMask) > 0); in mi1320_camera_settings() local
480 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in mi1320_camera_settings()
483 sd->vold.flip = flip; in mi1320_camera_settings()
485 dat_hvflip2[3] = flip + 2 * mirror; in mi1320_camera_settings()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dsymbol_projection.cpp158 …phAlongLine(const float offsetX, const float lineOffsetX, const float lineOffsetY, const bool flip, in placeGlyphAlongLine() argument
161 const float combinedOffsetX = flip ? in placeGlyphAlongLine()
168 if (flip) { in placeGlyphAlongLine()
237 const bool flip, in placeFirstAndLastGlyph() argument
251 …aceGlyphAlongLine(fontScale * firstGlyphOffset, lineOffsetX, lineOffsetY, flip, anchorPoint, tileA… in placeFirstAndLastGlyph()
255 …laceGlyphAlongLine(fontScale * lastGlyphOffset, lineOffsetX, lineOffsetY, flip, anchorPoint, tileA… in placeFirstAndLastGlyph()
286 const bool flip, in placeGlyphsAlongLine() argument
302 …placeFirstAndLastGlyph(fontScale, lineOffsetX, lineOffsetY, flip, projectedAnchorPoint, symbol.anc… in placeGlyphsAlongLine()
310 if (keepUpright && !flip) { in placeGlyphsAlongLine()
321 …= placeGlyphAlongLine(glyphOffsetX * fontScale, lineOffsetX, lineOffsetY, flip, projectedAnchorPoi… in placeGlyphsAlongLine()
[all …]
/OK3568_Linux_fs/buildroot/package/weston/
H A D0040-HACK-backend-drm-Workaround-atomic-flip-for-BSP-4.4-.patch4 Subject: [PATCH 40/93] HACK: backend-drm: Workaround atomic flip for BSP 4.4
7 The Rockchip BSP 4.4 kernel might generate unexpected flip events
21 drm_debug(b, "[atomic][CRTC:%u] flip processing started\n", crtc_id);
26 + * generate unexpected flip events when dpms changed. */
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0037-HACK-backend-drm-Workaround-atomic-flip-for-BSP-4.4-.patch4 Subject: [PATCH 37/79] HACK: backend-drm: Workaround atomic flip for BSP 4.4
7 The Rockchip BSP 4.4 kernel might generate unexpected flip events
21 drm_debug(b, "[atomic][CRTC:%u] flip processing started\n", crtc_id);
26 + * generate unexpected flip events when dpms changed. */
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0040-HACK-backend-drm-Workaround-atomic-flip-for-BSP-4.4-.patch4 Subject: [PATCH 40/93] HACK: backend-drm: Workaround atomic flip for BSP 4.4
7 The Rockchip BSP 4.4 kernel might generate unexpected flip events
21 drm_debug(b, "[atomic][CRTC:%u] flip processing started\n", crtc_id);
26 + * generate unexpected flip events when dpms changed. */
/OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_android_apk_demo/app/src/main/java/com/rockchip/gpadc/demo/rga/
H A DRGA.java24 int width, int height, int flip) { in colorConvertAndFlip() argument
31 return color_convert_and_flip(src, srcFmt, dst, dstFmt, width, height, flip); in colorConvertAndFlip()
35 int width, int height, int flip); in color_convert_and_flip() argument
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/
H A Dfimc-reg.c43 u32 flip = FIMC_REG_MSCTRL_FLIP_NORMAL; in fimc_hw_get_in_flip() local
46 flip = FIMC_REG_MSCTRL_FLIP_Y_MIRROR; in fimc_hw_get_in_flip()
48 flip = FIMC_REG_MSCTRL_FLIP_X_MIRROR; in fimc_hw_get_in_flip()
51 return flip; in fimc_hw_get_in_flip()
53 return (flip ^ FIMC_REG_MSCTRL_FLIP_180) & FIMC_REG_MSCTRL_FLIP_180; in fimc_hw_get_in_flip()
58 u32 flip = FIMC_REG_CITRGFMT_FLIP_NORMAL; in fimc_hw_get_target_flip() local
61 flip |= FIMC_REG_CITRGFMT_FLIP_Y_MIRROR; in fimc_hw_get_target_flip()
63 flip |= FIMC_REG_CITRGFMT_FLIP_X_MIRROR; in fimc_hw_get_target_flip()
66 return flip; in fimc_hw_get_target_flip()
68 return (flip ^ FIMC_REG_CITRGFMT_FLIP_180) & FIMC_REG_CITRGFMT_FLIP_180; in fimc_hw_get_target_flip()
[all …]
/OK3568_Linux_fs/u-boot/drivers/input/
H A Dinput.c262 int flip = -1; in process_modifier() local
266 flip = FLAG_SCROLL_LOCK; in process_modifier()
269 flip = FLAG_NUM_LOCK; in process_modifier()
272 flip = FLAG_CAPS_LOCK; in process_modifier()
276 if (flip != -1) { in process_modifier()
279 config->flags ^= flip; in process_modifier()
287 config->leds_changed = flip; in process_modifier()
/OK3568_Linux_fs/buildroot/docs/website/css/
H A Dmain.css207 .flip-container {
210 /* flip the pane when hovered */
211 .flip-container:hover .flipper, .flip-container.hover .flipper {
215 .flip-container, .front, .back {
220 /* flip speed goes here */
/OK3568_Linux_fs/kernel/drivers/pcmcia/
H A Dpxa2xx_balloon3.c57 int flip; in balloon3_pcmcia_socket_state() local
61 flip = (status ^ balloon3_pcmcia_status[skt->nr]) in balloon3_pcmcia_socket_state()
68 if (flip) { in balloon3_pcmcia_socket_state()
/OK3568_Linux_fs/external/xserver/present/
H A Dpresent_wnmd.c125 if (vblank->flip) in present_wnmd_free_idle_vblanks()
249 if (vblank->flip) in present_wnmd_event_notify()
287 if (!screen_priv->wnmd_info->flip) in present_wnmd_check_flip()
357 if (vblank->queued && vblank->flip && in present_wnmd_check_flip_window()
360 vblank->flip = FALSE; in present_wnmd_check_flip_window()
378 return (*screen_priv->wnmd_info->flip) (window, in present_wnmd_flip()
412 if (!screen_priv->wnmd_info->flip) in present_wnmd_can_window_flip()
444 if (vblank->flip && vblank->pixmap && vblank->window) { in present_wnmd_execute()
463 if (vblank->flip) { in present_wnmd_execute()
512 vblank->flip = FALSE; in present_wnmd_execute()
H A Dpresent_scmd.c98 if (!screen_priv->info->flip) in present_check_flip()
159 return (*screen_priv->info->flip) (crtc, event_id, target_msc, pixmap, sync_flip); in present_flip()
481 …if (vblank->queued && vblank->flip && !present_check_flip(vblank->crtc, window, vblank->pixmap, vb… in present_check_flip_window()
482 vblank->flip = FALSE; in present_check_flip_window()
505 if (!screen_priv->info->flip) in present_scmd_can_window_flip()
548 if (vblank->flip && vblank->pixmap && vblank->window) { in present_execute()
566 if (vblank->flip) { in present_execute()
610 vblank->flip = FALSE; in present_execute()
729 vblank->flip = FALSE; in present_scmd_pixmap()
755 if (vblank->flip && vblank->sync_flip) in present_scmd_pixmap()
H A Dpresent_vblank.c118 vblank->flip = TRUE; in present_vblank_create()
123 vblank->flip = TRUE; in present_vblank_create()
144 target_crtc, vblank->flip, vblank->sync_flip, vblank->serial)); in present_vblank_create()
167 vblank->flip = FALSE; in present_vblank_scrap()
/OK3568_Linux_fs/kernel/sound/core/oss/
H A Dlinear.c39 unsigned int flip; /* MSB flip for signeness, done after endian conv */ member
51 tmp ^= data->flip; in do_convert()
143 data->flip = (__force u32)cpu_to_le32(0x80000000); in init_data()
145 data->flip = (__force u32)cpu_to_be32(0x80000000); in init_data()
H A Dmulaw.c153 u16 flip; /* MSB flip for signedness, done after endian conversion */ member
159 sample ^= data->flip; in cvt_s16_to_native()
210 sample ^= data->flip; in cvt_native_to_s16()
287 data->flip = 0x8000; in init_data()
/OK3568_Linux_fs/buildroot/package/qt5/qt5base/
H A D0013-linuxfb-Use-triple-buffer-by-default.patch79 - qErrnoWarning(errno, "Page flip failed");
96 + // Wait flip to make sure last buffer displayed
102 + qErrnoWarning(errno, "Page flip failed");
122 + // Wait flip before accessing new buffer
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/hwi/
H A DSensorHw.h93 …virtual XCamReturn set_mirror_flip(bool mirror, bool flip, int32_t& skip_frame_sequence) { return … in set_mirror_flip() argument
94 virtual XCamReturn get_mirror_flip(bool& mirror, bool& flip) { return XCAM_RETURN_NO_ERROR;} in get_mirror_flip() argument
129 virtual XCamReturn set_mirror_flip(bool mirror, bool flip, int32_t& skip_frame_sequence);
130 virtual XCamReturn get_mirror_flip(bool& mirror, bool& flip);
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/h265/
H A Dh265e_api.c134 prep->flip = 0; in h265e_init()
356 dst->flip = src->flip; in h265e_proc_prep_cfg()
366 dst->mirroring_ext < 0 || dst->flip < 0) { in h265e_proc_prep_cfg()
379 if (dst->flip) { 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/kernel/lib/
H A Drandom32.c576 u32 xor, flip; in prandom32_state_selftest() local
587 flip = total = 0; in prandom32_state_selftest()
593 flip |= xor; in prandom32_state_selftest()
606 bits, ~flip, data[0] & ~flip); in prandom32_state_selftest()

12345678910