/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun4i_frontend.h | 144 struct drm_plane *plane); 146 struct drm_plane *plane); 148 struct drm_plane *plane, uint32_t out_fmt);
|
H A D | sun4i_backend.h | 199 int layer, struct drm_plane *plane); 201 int layer, struct drm_plane *plane); 203 int layer, struct drm_plane *plane); 207 int layer, struct drm_plane *plane);
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_clip_disable.c | 34 * value if the plane is disabled 38 * then overwrite it if that plane isn't enabled 44 /* store the original value again if the clip plane is enabled */ in recursive_if_chain() 67 unsigned plane; in lower_clip_plane_store() local 99 plane = nir_src_as_uint(deref->arr.index); in lower_clip_plane_store() 100 /* no need to make changes if the clip plane is enabled */ in lower_clip_plane_store() 101 if (clip_plane_enable & (1 << plane)) in lower_clip_plane_store()
|
/third_party/skia/src/gpu/ |
H A D | GrYUVATextureProxies.cpp | 104 int plane = fYUVALocations[i].fPlane; in GrYUVATextureProxies() local 105 if (plane >= 0) { in GrYUVATextureProxies() 107 switch (views[plane].swizzle()[chanAsIdx]) { in GrYUVATextureProxies()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 442 * Primary plane 458 int mgag200_primary_plane_helper_atomic_check(struct drm_plane *plane, in mgag200_primary_plane_helper_atomic_check() argument 461 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(new_state, plane); in mgag200_primary_plane_helper_atomic_check() 481 if (plane->state) in mgag200_primary_plane_helper_atomic_check() 482 fb = plane->state->fb; in mgag200_primary_plane_helper_atomic_check() 493 void mgag200_primary_plane_helper_atomic_update(struct drm_plane *plane, in mgag200_primary_plane_helper_atomic_update() argument 496 struct drm_device *dev = plane->dev; in mgag200_primary_plane_helper_atomic_update() 498 struct drm_plane_state *plane_state = plane->state; in mgag200_primary_plane_helper_atomic_update() 499 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(old_state, plane); in mgag200_primary_plane_helper_atomic_update() 515 void mgag200_primary_plane_helper_atomic_enable(struct drm_plane *plane, in mgag200_primary_plane_helper_atomic_enable() argument 528 mgag200_primary_plane_helper_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *old_state) mgag200_primary_plane_helper_atomic_disable() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_mode_config.c | 184 struct drm_plane *plane; in drm_mode_config_reset() local 189 drm_for_each_plane(plane, dev) in drm_mode_config_reset() 190 if (plane->funcs->reset) in drm_mode_config_reset() 191 plane->funcs->reset(plane); in drm_mode_config_reset() 492 struct drm_plane *plane, *plt; in drm_mode_config_cleanup() local 522 list_for_each_entry_safe(plane, plt, &dev->mode_config.plane_list, in drm_mode_config_cleanup() 524 plane->funcs->destroy(plane); in drm_mode_config_cleanup()
|
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/ |
H A D | mtk-mdp3-regs.c | 309 u32 bytesperline, unsigned int plane) in mdp_fmt_get_stride() 316 if (plane == 0) in mdp_fmt_get_stride() 318 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_stride() 328 u32 pix_stride, unsigned int plane) in mdp_fmt_get_stride_contig() 333 if (plane == 0) in mdp_fmt_get_stride_contig() 335 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_stride_contig() 346 u32 stride, u32 height, unsigned int plane) in mdp_fmt_get_plane_size() 353 if (plane == 0) in mdp_fmt_get_plane_size() 355 if (plane < MDP_COLOR_GET_PLANE_COUNT(c)) { in mdp_fmt_get_plane_size() 308 mdp_fmt_get_stride(const struct mdp_format *fmt, u32 bytesperline, unsigned int plane) mdp_fmt_get_stride() argument 327 mdp_fmt_get_stride_contig(const struct mdp_format *fmt, u32 pix_stride, unsigned int plane) mdp_fmt_get_stride_contig() argument 345 mdp_fmt_get_plane_size(const struct mdp_format *fmt, u32 stride, u32 height, unsigned int plane) mdp_fmt_get_plane_size() argument
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_w3fdif.c | 40 int linesize[4]; ///< bytes of pixel data per line for each plane 41 int planeheight[4]; ///< height of each plane 360 int jobnr, int nb_jobs, int plane) in deinterlace_plane_slice() 371 uint8_t *cur_data = cur->data[plane]; in deinterlace_plane_slice() 372 uint8_t *adj_data = adj->data[plane]; in deinterlace_plane_slice() 373 uint8_t *dst_data = out->data[plane]; in deinterlace_plane_slice() 374 const int linesize = s->linesize[plane]; in deinterlace_plane_slice() 375 const int height = s->planeheight[plane]; in deinterlace_plane_slice() 376 const int cur_line_stride = cur->linesize[plane]; in deinterlace_plane_slice() 377 const int adj_line_stride = adj->linesize[plane]; in deinterlace_plane_slice() 359 deinterlace_plane_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs, int plane) deinterlace_plane_slice() argument [all...] |
H A D | vf_minterpolate.c | 910 int x, y, plane; in set_frame_data() local 912 for (plane = 0; plane < mi_ctx->nb_planes; plane++) { in set_frame_data() 915 int chroma = plane == 1 || plane == 2; in set_frame_data() 953 val += pixel_weights->weights[i] * frame->avf->data[plane][x_mv + y_mv * frame->avf->linesize[plane]]; in set_frame_data() 959 avf_out->data[plane][(x >> mi_ctx->log2_chroma_w) + (y >> mi_ctx->log2_chroma_h) * avf_out->linesize[plane]] in set_frame_data() 1075 int plane, alpha; interpolate() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/ |
H A D | imx-drm-core.c | 30 #include "ipuv3-plane.h" 57 * updated in plane's ->atomic_check callback. in imx_drm_atomic_check() 80 struct drm_plane *plane; in imx_drm_atomic_commit_tail() local 93 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in imx_drm_atomic_commit_tail() 100 * plane disable is in-flight. As the core requires blocking commits in imx_drm_atomic_commit_tail() 108 for_each_old_plane_in_state(state, plane, old_plane_state, i) in imx_drm_atomic_commit_tail() 109 ipu_plane_disable_deferred(plane); in imx_drm_atomic_commit_tail()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_crtc.c | 172 struct drm_plane *plane, in exynos_drm_crtc_create() 191 ret = drm_crtc_init_with_planes(drm_dev, crtc, plane, NULL, in exynos_drm_crtc_create() 201 plane->funcs->destroy(plane); in exynos_drm_crtc_create() 171 exynos_drm_crtc_create(struct drm_device *drm_dev, struct drm_plane *plane, enum exynos_drm_output_type type, const struct exynos_drm_crtc_ops *ops, void *ctx) exynos_drm_crtc_create() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-crtc.c | 185 crtc->plane[0] = dcss_plane_init(drm, drm_crtc_mask(&crtc->base), in dcss_crtc_init() 187 if (IS_ERR(crtc->plane[0])) in dcss_crtc_init() 188 return PTR_ERR(crtc->plane[0]); in dcss_crtc_init() 193 ret = drm_crtc_init_with_planes(drm, &crtc->base, &crtc->plane[0]->base, in dcss_crtc_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_kms.h | 92 /* Atomic plane state. Subclasses the base drm_plane_state in order to 275 uint32_t mdp5_plane_get_flush(struct drm_plane *plane); 276 enum mdp5_pipe mdp5_plane_pipe(struct drm_plane *plane); 277 enum mdp5_pipe mdp5_plane_right_pipe(struct drm_plane *plane); 289 struct drm_plane *plane,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun4i_backend.h | 199 int layer, struct drm_plane *plane); 201 int layer, struct drm_plane *plane); 203 int layer, struct drm_plane *plane); 207 int layer, struct drm_plane *plane);
|
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus.h | 225 unsigned int plane) in cedrus_buf_addr() 230 pix_fmt->height * plane : 0); in cedrus_buf_addr() 235 unsigned int plane) in cedrus_dst_buf_addr() 237 return buf ? cedrus_buf_addr(buf, &ctx->dst_fmt, plane) : 0; in cedrus_dst_buf_addr() 223 cedrus_buf_addr(struct vb2_buffer *buf, struct v4l2_pix_format *pix_fmt, unsigned int plane) cedrus_buf_addr() argument 233 cedrus_dst_buf_addr(struct cedrus_ctx *ctx, struct vb2_buffer *buf, unsigned int plane) cedrus_dst_buf_addr() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_crtc.c | 174 struct drm_plane *plane, in exynos_drm_crtc_create() 193 ret = drm_crtc_init_with_planes(drm_dev, crtc, plane, NULL, in exynos_drm_crtc_create() 203 plane->funcs->destroy(plane); in exynos_drm_crtc_create() 173 exynos_drm_crtc_create(struct drm_device *drm_dev, struct drm_plane *plane, enum exynos_drm_output_type type, const struct exynos_drm_crtc_ops *ops, void *ctx) exynos_drm_crtc_create() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_fb_pin.c | 240 struct intel_plane *plane = to_intel_plane(plane_state->uapi.plane); in intel_plane_pin_fb() local 241 struct drm_i915_private *dev_priv = to_i915(plane->base.dev); in intel_plane_pin_fb() 245 plane->id == PLANE_CURSOR && in intel_plane_pin_fb()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_kms.h | 92 /* Atomic plane state. Subclasses the base drm_plane_state in order to 275 uint32_t mdp5_plane_get_flush(struct drm_plane *plane); 276 enum mdp5_pipe mdp5_plane_pipe(struct drm_plane *plane); 277 enum mdp5_pipe mdp5_plane_right_pipe(struct drm_plane *plane); 289 struct drm_plane *plane,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/ipuv3/ |
H A D | imx-drm-core.c | 28 #include "ipuv3-plane.h" 55 * updated in plane's ->atomic_check callback. in imx_drm_atomic_check() 78 struct drm_plane *plane; in imx_drm_atomic_commit_tail() local 91 for_each_oldnew_plane_in_state(state, plane, old_plane_state, new_plane_state, i) { in imx_drm_atomic_commit_tail() 98 * plane disable is in-flight. As the core requires blocking commits in imx_drm_atomic_commit_tail() 106 for_each_old_plane_in_state(state, plane, old_plane_state, i) in imx_drm_atomic_commit_tail() 107 ipu_plane_disable_deferred(plane); in imx_drm_atomic_commit_tail()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-crtc.c | 190 crtc->plane[0] = dcss_plane_init(drm, drm_crtc_mask(&crtc->base), in dcss_crtc_init() 192 if (IS_ERR(crtc->plane[0])) in dcss_crtc_init() 193 return PTR_ERR(crtc->plane[0]); in dcss_crtc_init() 198 ret = drm_crtc_init_with_planes(drm, &crtc->base, &crtc->plane[0]->base, in dcss_crtc_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/tests/ |
H A D | vc4_mock.c | 113 struct drm_plane *plane; in __build_one_pipe() local 121 plane = &dummy_plane->plane.base; in __build_one_pipe() 122 dummy_crtc = vc4_mock_pv(test, drm, plane, pipe->data); in __build_one_pipe()
|
/third_party/ffmpeg/libavcodec/ |
H A D | snowdec.c | 33 Plane *p= &s->plane[plane_index]; in predict_slice_buffered() 282 if (plane_index==2) q= s->plane[1].band[level][orientation].qlog; in decode_qlogs() 283 else if(orientation==2) q= s->plane[plane_index].band[level][1].qlog; in decode_qlogs() 285 s->plane[plane_index].band[level][orientation].qlog= q; in decode_qlogs() 361 Plane *p= &s->plane[plane_index]; in decode_header() 377 s->plane[2].diag_mc= s->plane[1].diag_mc; in decode_header() 378 s->plane[2].htaps = s->plane[1].htaps; in decode_header() 379 memcpy(s->plane[ in decode_header() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLIOSurfaceClientBufferTest.cpp | 95 for (const IOSurfacePlaneInfo &plane : planes) in CreateIOSurface() 100 AddIntegerValue(planeInfo, kIOSurfacePlaneWidth, plane.width); in CreateIOSurface() 101 AddIntegerValue(planeInfo, kIOSurfacePlaneHeight, plane.height); in CreateIOSurface() 102 AddIntegerValue(planeInfo, kIOSurfacePlaneBytesPerElement, plane.bytesPerElement); in CreateIOSurface() 173 EGLint plane, in createIOSurfacePbuffer() 182 EGL_IOSURFACE_PLANE_ANGLE, plane, in createIOSurfacePbuffer() 200 EGLint plane, in bindIOSurfaceToTexture() 206 createIOSurfacePbuffer(ioSurface, width, height, plane, internalFormat, type, pbuffer); in bindIOSurfaceToTexture() 218 EGLint plane, in doClearTest() 224 doClearTest(ioSurface, width, height, plane, internalForma in doClearTest() 170 createIOSurfacePbuffer(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, EGLSurface *pbuffer) const createIOSurfacePbuffer() argument 197 bindIOSurfaceToTexture(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, EGLSurface *pbuffer, GLTexture *texture) const bindIOSurfaceToTexture() argument 215 doClearTest(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, const GLColor &data) doClearTest() argument 228 doClearTest(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, const std::array<T, dataSize> &data) doClearTest() argument 296 doSampleTest(const ScopedIOSurfaceRef &ioSurface, EGLint width, EGLint height, EGLint plane, GLenum internalFormat, GLenum type, void *data, size_t dataSize, int mask) doSampleTest() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.c | 109 * vmw_cursor_update_image - update the cursor image on the provided plane 111 * @vps: the plane state of the cursor plane 141 * @vps: the plane state of the cursor plane 183 * @vps: cursor plane state 504 void vmw_du_cursor_plane_destroy(struct drm_plane *plane) in vmw_du_cursor_plane_destroy() argument 506 struct vmw_cursor_plane *vcp = vmw_plane_to_vcp(plane); in vmw_du_cursor_plane_destroy() 509 vmw_cursor_update_position(plane->dev->dev_private, false, 0, 0); in vmw_du_cursor_plane_destroy() 514 drm_plane_cleanup(plane); in vmw_du_cursor_plane_destroy() 518 vmw_du_primary_plane_destroy(struct drm_plane *plane) vmw_du_primary_plane_destroy() argument 561 vmw_du_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) vmw_du_plane_cleanup_fb() argument 649 vmw_du_cursor_plane_cleanup_fb(struct drm_plane *plane, struct drm_plane_state *old_state) vmw_du_cursor_plane_cleanup_fb() argument 686 vmw_du_cursor_plane_prepare_fb(struct drm_plane *plane, struct drm_plane_state *new_state) vmw_du_cursor_plane_prepare_fb() argument 759 vmw_du_cursor_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) vmw_du_cursor_plane_atomic_update() argument 837 vmw_du_primary_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) vmw_du_primary_plane_atomic_check() argument 878 vmw_du_cursor_plane_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) vmw_du_cursor_plane_atomic_check() argument 1057 vmw_du_plane_duplicate_state(struct drm_plane *plane) vmw_du_plane_duplicate_state() argument 1094 vmw_du_plane_reset(struct drm_plane *plane) vmw_du_plane_reset() argument 1121 vmw_du_plane_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) vmw_du_plane_destroy_state() argument 2625 struct drm_plane *plane = crtc->primary; vmw_kms_helper_dirty() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ast/ |
H A D | ast_mode.c | 577 struct drm_plane *plane = &ast_plane->base; in ast_plane_init() local 583 return drm_universal_plane_init(dev, plane, possible_crtcs, funcs, in ast_plane_init() 589 * Primary plane 598 static int ast_primary_plane_helper_atomic_check(struct drm_plane *plane, in ast_primary_plane_helper_atomic_check() argument 601 struct drm_device *dev = plane->dev; in ast_primary_plane_helper_atomic_check() 602 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, plane); in ast_primary_plane_helper_atomic_check() 640 static void ast_primary_plane_helper_atomic_update(struct drm_plane *plane, in ast_primary_plane_helper_atomic_update() argument 643 struct drm_device *dev = plane->dev; in ast_primary_plane_helper_atomic_update() 645 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state, plane); in ast_primary_plane_helper_atomic_update() 648 struct drm_plane_state *old_plane_state = drm_atomic_get_old_plane_state(state, plane); in ast_primary_plane_helper_atomic_update() 679 ast_primary_plane_helper_atomic_enable(struct drm_plane *plane, struct drm_atomic_state *state) ast_primary_plane_helper_atomic_enable() argument 695 ast_primary_plane_helper_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) ast_primary_plane_helper_atomic_disable() argument 855 ast_cursor_plane_helper_atomic_check(struct drm_plane *plane, struct drm_atomic_state *state) ast_cursor_plane_helper_atomic_check() argument 879 ast_cursor_plane_helper_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) ast_cursor_plane_helper_atomic_update() argument 939 ast_cursor_plane_helper_atomic_disable(struct drm_plane *plane, struct drm_atomic_state *state) ast_cursor_plane_helper_atomic_disable() argument [all...] |