/kernel/linux/linux-6.6/drivers/gpu/drm/tve200/ |
H A D | tve200_display.c | 76 struct drm_framebuffer *old_fb = pipe->plane.state->fb; in tve200_display_check() 126 struct drm_plane *plane = &pipe->plane; in tve200_display_enable() local 130 struct drm_framebuffer *fb = plane->state->fb; in tve200_display_enable() 264 struct drm_plane *plane = &pipe->plane; in tve200_display_update() local 265 struct drm_plane_state *pstate = plane->state; in tve200_display_update() 273 /* For three plane YUV we need two more addresses */ in tve200_display_update()
|
/third_party/ffmpeg/libavfilter/ |
H A D | opencl.c | 265 AVFrame *frame, int plane, in ff_opencl_filter_work_size_from_image() 279 image = (cl_mem)frame->data[plane]; in ff_opencl_filter_work_size_from_image() 282 plane); in ff_opencl_filter_work_size_from_image() 290 "plane %d: %d.\n", plane, cle); in ff_opencl_filter_work_size_from_image() 295 plane); in ff_opencl_filter_work_size_from_image() 302 av_log(avctx, AV_LOG_ERROR, "Failed to query plane %d width: %d.\n", in ff_opencl_filter_work_size_from_image() 303 plane, cle); in ff_opencl_filter_work_size_from_image() 310 av_log(avctx, AV_LOG_ERROR, "Failed to query plane %d height: %d.\n", in ff_opencl_filter_work_size_from_image() 311 plane, cl in ff_opencl_filter_work_size_from_image() 263 ff_opencl_filter_work_size_from_image(AVFilterContext *avctx, size_t *work_size, AVFrame *frame, int plane, int block_alignment) ff_opencl_filter_work_size_from_image() argument [all...] |
H A D | vf_remap.c | 148 int x , y, plane; \ 150 for (plane = 0; plane < td->nb_planes ; plane++) { \ 151 const int dlinesize = out->linesize[plane] / div; \ 152 const uint##bits##_t *src = (const uint##bits##_t *)in->data[plane]; \ 153 uint##bits##_t *dst = (uint##bits##_t *)out->data[plane] + slice_start * dlinesize; \ 154 const int slinesize = in->linesize[plane] / div; \ 157 const int color = s->fill_color[plane]; \
|
H A D | vf_decimate.c | 88 int plane, i, j; in calc_diffs() local 92 for (plane = 0; plane < (dm->chroma && f1->data[2] ? 3 : 1); plane++) { in calc_diffs() 94 const int linesize1 = f1->linesize[plane]; in calc_diffs() 95 const int linesize2 = f2->linesize[plane]; in calc_diffs() 96 const uint8_t *f1p = f1->data[plane]; in calc_diffs() 97 const uint8_t *f2p = f2->data[plane]; in calc_diffs() 98 int width = plane ? AV_CEIL_RSHIFT(f1->width, dm->hsub) : f1->width; in calc_diffs() 99 int height = plane in calc_diffs() [all...] |
H A D | vf_pad.c | 232 int plane; in get_video_buffer() local 247 for (plane = 0; plane < 4 && frame->data[plane] && frame->linesize[plane]; plane++) { in get_video_buffer() 248 int hsub = s->draw.hsub[plane]; in get_video_buffer() 249 int vsub = s->draw.vsub[plane]; in get_video_buffer() 250 frame->data[plane] += (s->x >> hsub) * s->draw.pixelstep[plane] in get_video_buffer() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_crtc.c | 79 struct drm_plane *plane; in crtc_flush() local 82 drm_atomic_crtc_for_each_plane(plane, crtc) { in crtc_flush() 83 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in crtc_flush() 163 struct drm_plane *plane; in setup_mixer() local 165 drm_atomic_crtc_for_each_plane(plane, crtc) { in setup_mixer() 166 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in setup_mixer() 180 struct drm_plane *plane; in blend_setup() local 189 drm_atomic_crtc_for_each_plane(plane, crtc) { in blend_setup() 190 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in blend_setup() 194 to_mdp_format(msm_framebuffer_format(plane in blend_setup() 628 mdp4_crtc_init(struct drm_device *dev, struct drm_plane *plane, int id, int ovlp_id, enum mdp4_dma dma_id) mdp4_crtc_init() argument [all...] |
H A D | mdp4_kms.c | 303 struct drm_plane *plane; in modeset_init() local 326 plane = mdp4_plane_init(dev, vg_planes[i], false); in modeset_init() 327 if (IS_ERR(plane)) { in modeset_init() 329 "failed to construct plane for VG%d\n", i + 1); in modeset_init() 330 ret = PTR_ERR(plane); in modeset_init() 333 priv->planes[priv->num_planes++] = plane; in modeset_init() 337 plane = mdp4_plane_init(dev, rgb_planes[i], true); in modeset_init() 338 if (IS_ERR(plane)) { in modeset_init() 340 "failed to construct plane for RGB%d\n", i + 1); in modeset_init() 341 ret = PTR_ERR(plane); in modeset_init() [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 32 static void frame_init_plane(struct ia_css_frame_plane *plane, 39 struct ia_css_frame_plane *plane, 46 struct ia_css_frame_plane *plane, 276 * Frames with a U and V plane of 8 bits per pixel need to have in ia_css_frame_pad_width() 278 * Y plane if the horizontal decimation is 2. in ia_css_frame_pad_width() 450 static void frame_init_plane(struct ia_css_frame_plane *plane, in frame_init_plane() argument 456 plane->height = height; in frame_init_plane() 457 plane->width = width; in frame_init_plane() 458 plane->stride = stride; in frame_init_plane() 459 plane in frame_init_plane() 462 frame_init_single_plane(struct ia_css_frame *frame, struct ia_css_frame_plane *plane, unsigned int height, unsigned int subpixels_per_line, unsigned int bytes_per_pixel) frame_init_single_plane() argument 482 frame_init_raw_single_plane( struct ia_css_frame *frame, struct ia_css_frame_plane *plane, unsigned int height, unsigned int subpixels_per_line, unsigned int bits_per_pixel) frame_init_raw_single_plane() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_mode_config.c | 187 struct drm_plane *plane; in drm_mode_config_reset() local 192 drm_for_each_plane(plane, dev) in drm_mode_config_reset() 193 if (plane->funcs->reset) in drm_mode_config_reset() 194 plane->funcs->reset(plane); in drm_mode_config_reset() 495 struct drm_plane *plane, *plt; in drm_mode_config_cleanup() local 525 list_for_each_entry_safe(plane, plt, &dev->mode_config.plane_list, in drm_mode_config_cleanup() 527 plane->funcs->destroy(plane); in drm_mode_config_cleanup() 638 struct drm_plane *plane; in drm_mode_config_validate() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_crtc.c | 80 struct drm_plane *plane; in crtc_flush() local 83 drm_atomic_crtc_for_each_plane(plane, crtc) { in crtc_flush() 84 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in crtc_flush() 164 struct drm_plane *plane; in setup_mixer() local 166 drm_atomic_crtc_for_each_plane(plane, crtc) { in setup_mixer() 167 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in setup_mixer() 181 struct drm_plane *plane; in blend_setup() local 190 drm_atomic_crtc_for_each_plane(plane, crtc) { in blend_setup() 191 enum mdp4_pipe pipe_id = mdp4_plane_pipe(plane); in blend_setup() 195 to_mdp_format(msm_framebuffer_format(plane in blend_setup() 629 mdp4_crtc_init(struct drm_device *dev, struct drm_plane *plane, int id, int ovlp_id, enum mdp4_dma dma_id) mdp4_crtc_init() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | v4l2_buffers.c | 256 static int v4l2_buf_to_bufref(V4L2Buffer *in, int plane, AVBufferRef **buf) in v4l2_buf_to_bufref() argument 260 if (plane >= in->num_planes) in v4l2_buf_to_bufref() 264 *buf = av_buffer_create((char *)in->plane_info[plane].mm_addr + in->planes[plane].data_offset, in v4l2_buf_to_bufref() 265 in->plane_info[plane].length, v4l2_free_buffer, in, 0); in v4l2_buf_to_bufref() 276 static int v4l2_bufref_to_buf(V4L2Buffer *out, int plane, const uint8_t* data, int size, int offset) in v4l2_bufref_to_buf() argument 280 if (plane >= out->num_planes) in v4l2_bufref_to_buf() 283 length = out->plane_info[plane].length; in v4l2_bufref_to_buf() 286 memcpy((uint8_t*)out->plane_info[plane].mm_addr+offset, data, FFMIN(size, length-offset)); in v4l2_bufref_to_buf() 289 out->planes[plane] in v4l2_bufref_to_buf() [all...] |
/third_party/NuttX/drivers/video/ |
H A D | fb.c | 53 uint8_t plane; /* Video plan number */ member 384 case FIOC_MMAP: /* Get color plane info */ in fb_ioctl() 399 case FBIOGET_VIDEOINFO: /* Get color plane info */ in fb_ioctl() 417 case FBIOGET_PLANEINFO: /* Get video plane info */ in fb_ioctl() 423 ret = fb->vtable->getplaneinfo(fb->vtable, fb->plane, &pinfo); in fb_ioctl() 519 ret = fb->vtable->getplaneinfo(fb->vtable, fb->plane, &pinfo); in fb_ioctl() 709 * display number if the devices supports only a single plane. If the 712 * is the display plane. 718 * plane - Identifies the color plane o 727 fb_register(int display, int plane) fb_register() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_display_reg_defs.h | 19 #define _PLANE(plane, a, b) _PICK_EVEN(plane, a, b) 26 #define _MMIO_PLANE(plane, a, b) _MMIO(_PLANE(plane, a, b))
|
/third_party/mesa3d/src/gbm/main/ |
H A D | gbm_backend_abi.h | 137 union gbm_bo_handle (*bo_get_handle)(struct gbm_bo *bo, int plane); 138 int (*bo_get_plane_fd)(struct gbm_bo *bo, int plane); 139 uint32_t (*bo_get_stride)(struct gbm_bo *bo, int plane); 140 uint32_t (*bo_get_offset)(struct gbm_bo *bo, int plane);
|
/third_party/opencl-headers/CL/ |
H A D | cl_va_api_media_sharing_intel.h | 40 cl_uint plane, 50 cl_uint plane, 114 cl_uint plane, 121 cl_uint plane,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_kms.c | 280 void vmw_du_cursor_plane_destroy(struct drm_plane *plane) in vmw_du_cursor_plane_destroy() argument 282 vmw_cursor_update_position(plane->dev->dev_private, false, 0, 0); in vmw_du_cursor_plane_destroy() 284 drm_plane_cleanup(plane); in vmw_du_cursor_plane_destroy() 288 void vmw_du_primary_plane_destroy(struct drm_plane *plane) in vmw_du_primary_plane_destroy() argument 290 drm_plane_cleanup(plane); in vmw_du_primary_plane_destroy() 299 * @vps: plane state associated with the display surface 323 * @plane: display plane 331 vmw_du_plane_cleanup_fb(struct drm_plane *plane, in vmw_du_plane_cleanup_fb() argument 343 * @plane 349 vmw_du_cursor_plane_prepare_fb(struct drm_plane *plane, struct drm_plane_state *new_state) vmw_du_cursor_plane_prepare_fb() argument 377 vmw_du_cursor_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) vmw_du_cursor_plane_atomic_update() argument 444 vmw_du_primary_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *state) vmw_du_primary_plane_atomic_check() argument 483 vmw_du_cursor_plane_atomic_check(struct drm_plane *plane, struct drm_plane_state *new_state) vmw_du_cursor_plane_atomic_check() argument 663 vmw_du_plane_duplicate_state(struct drm_plane *plane) vmw_du_plane_duplicate_state() argument 698 vmw_du_plane_reset(struct drm_plane *plane) vmw_du_plane_reset() argument 726 vmw_du_plane_destroy_state(struct drm_plane *plane, struct drm_plane_state *state) vmw_du_plane_destroy_state() argument 2370 struct drm_plane *plane = crtc->primary; vmw_kms_helper_dirty() local [all...] |
H A D | vmwgfx_scrn.c | 373 * @plane: display plane 381 vmw_sou_primary_plane_cleanup_fb(struct drm_plane *plane, in vmw_sou_primary_plane_cleanup_fb() argument 385 struct drm_crtc *crtc = plane->state->crtc ? in vmw_sou_primary_plane_cleanup_fb() 386 plane->state->crtc : old_state->crtc; in vmw_sou_primary_plane_cleanup_fb() 393 vmw_du_plane_cleanup_fb(plane, old_state); in vmw_sou_primary_plane_cleanup_fb() 400 * @plane: display plane 401 * @new_state: info on the new plane state, including the FB 403 * The SOU backing buffer is our equivalent of the display plane 408 vmw_sou_primary_plane_prepare_fb(struct drm_plane *plane, struct drm_plane_state *new_state) vmw_sou_primary_plane_prepare_fb() argument 540 vmw_sou_plane_update_bo(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_sou_plane_update_bo() argument 701 vmw_sou_plane_update_surface(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_sou_plane_update_surface() argument 730 vmw_sou_primary_plane_atomic_update(struct drm_plane *plane, struct drm_plane_state *old_state) vmw_sou_primary_plane_atomic_update() argument [all...] |
/third_party/vulkan-headers/include/vulkan/ |
H A D | vulkan_format_traits.hpp | 564 case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane420Unorm: return "8-bit 3-plane 420"; in compatibilityClass() 565 case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane420Unorm: return "8-bit 2-plane 420"; in compatibilityClass() 566 case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane422Unorm: return "8-bit 3-plane 422"; in compatibilityClass() 567 case VULKAN_HPP_NAMESPACE::Format::eG8B8R82Plane422Unorm: return "8-bit 2-plane 422"; in compatibilityClass() 568 case VULKAN_HPP_NAMESPACE::Format::eG8B8R83Plane444Unorm: return "8-bit 3-plane 444"; in compatibilityClass() 574 case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane420Unorm3Pack16: return "10-bit 3-plane 420"; in compatibilityClass() 575 case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane420Unorm3Pack16: return "10-bit 2-plane 420"; in compatibilityClass() 576 case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane422Unorm3Pack16: return "10-bit 3-plane 422"; in compatibilityClass() 577 case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X62Plane422Unorm3Pack16: return "10-bit 2-plane 422"; in compatibilityClass() 578 case VULKAN_HPP_NAMESPACE::Format::eG10X6B10X6R10X63Plane444Unorm3Pack16: return "10-bit 3-plane 44 in compatibilityClass() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 32 static void frame_init_plane(struct ia_css_frame_plane *plane, 39 struct ia_css_frame_plane *plane, 46 struct ia_css_frame_plane *plane, 52 struct ia_css_frame_plane *plane, 471 /* frames with a U and V plane of 8 bits per pixel need to have in ia_css_frame_info_set_width() 473 Y plane if the horizontal decimation is 2. */ in ia_css_frame_info_set_width() 620 static void frame_init_plane(struct ia_css_frame_plane *plane, in frame_init_plane() argument 626 plane->height = height; in frame_init_plane() 627 plane->width = width; in frame_init_plane() 628 plane in frame_init_plane() 632 frame_init_single_plane(struct ia_css_frame *frame, struct ia_css_frame_plane *plane, unsigned int height, unsigned int subpixels_per_line, unsigned int bytes_per_pixel) frame_init_single_plane() argument 652 frame_init_raw_single_plane( struct ia_css_frame *frame, struct ia_css_frame_plane *plane, unsigned int height, unsigned int subpixels_per_line, unsigned int bits_per_pixel) frame_init_raw_single_plane() argument 671 frame_init_mipi_plane(struct ia_css_frame *frame, struct ia_css_frame_plane *plane, unsigned int height, unsigned int subpixels_per_line, unsigned int bytes_per_pixel) frame_init_mipi_plane() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-common.c | 339 static inline unsigned int v4l2_format_block_width(const struct v4l2_format_info *info, int plane) in v4l2_format_block_width() argument 341 if (!info->block_w[plane]) in v4l2_format_block_width() 343 return info->block_w[plane]; in v4l2_format_block_width() 346 static inline unsigned int v4l2_format_block_height(const struct v4l2_format_info *info, int plane) in v4l2_format_block_height() argument 348 if (!info->block_h[plane]) in v4l2_format_block_height() 350 return info->block_h[plane]; in v4l2_format_block_height() 374 struct v4l2_plane_pix_format *plane; in v4l2_fill_pixfmt_mp() local 387 plane = &pixfmt->plane_fmt[0]; in v4l2_fill_pixfmt_mp() 388 plane->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0] / info->bpp_div[0]; in v4l2_fill_pixfmt_mp() 389 plane in v4l2_fill_pixfmt_mp() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_trace.h | 199 __entry->primary = wm->pipe[crtc->pipe].plane[PLANE_PRIMARY]; 200 __entry->sprite = wm->pipe[crtc->pipe].plane[PLANE_SPRITE0]; 201 __entry->cursor = wm->pipe[crtc->pipe].plane[PLANE_CURSOR]; 202 __entry->sr_plane = wm->sr.plane; 205 __entry->hpll_plane = wm->hpll.plane; 245 __entry->primary = wm->pipe[crtc->pipe].plane[PLANE_PRIMARY]; 246 __entry->sprite0 = wm->pipe[crtc->pipe].plane[PLANE_SPRITE0]; 247 __entry->sprite1 = wm->pipe[crtc->pipe].plane[PLANE_SPRITE1]; 248 __entry->cursor = wm->pipe[crtc->pipe].plane[PLANE_CURSOR]; 249 __entry->sr_plane = wm->sr.plane; [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_scrn.c | 371 * @plane: display plane 379 vmw_sou_primary_plane_cleanup_fb(struct drm_plane *plane, in vmw_sou_primary_plane_cleanup_fb() argument 383 struct drm_crtc *crtc = plane->state->crtc ? in vmw_sou_primary_plane_cleanup_fb() 384 plane->state->crtc : old_state->crtc; in vmw_sou_primary_plane_cleanup_fb() 391 vmw_du_plane_cleanup_fb(plane, old_state); in vmw_sou_primary_plane_cleanup_fb() 398 * @plane: display plane 399 * @new_state: info on the new plane state, including the FB 401 * The SOU backing buffer is our equivalent of the display plane 406 vmw_sou_primary_plane_prepare_fb(struct drm_plane *plane, struct drm_plane_state *new_state) vmw_sou_primary_plane_prepare_fb() argument 534 vmw_sou_plane_update_bo(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_sou_plane_update_bo() argument 694 vmw_sou_plane_update_surface(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_sou_plane_update_surface() argument 722 vmw_sou_primary_plane_atomic_update(struct drm_plane *plane, struct drm_atomic_state *state) vmw_sou_primary_plane_atomic_update() argument [all...] |
/third_party/skia/src/image/ |
H A D | SkImage_GpuYUVA.cpp | 234 for (int plane = 0; plane < numPlanes; ++plane) { in MakeFromYUVATextures() 235 proxies[plane] = proxyProvider->wrapBackendTexture(yuvaTextures.texture(plane), in MakeFromYUVATextures() 240 if (!proxies[plane]) { in MakeFromYUVATextures() 282 // We assume no plane is larger than the image size (and at least one plane is as big). in MakeFromYUVAPixmaps() 300 if (!pixmaps.plane(i).scalePixels(tempPixmaps.plane( in MakeFromYUVAPixmaps() [all...] |
/third_party/skia/src/gpu/effects/ |
H A D | GrYUVtoRGBEffect.cpp | 24 auto [plane, channel] = yuvaProxies.yuvaLocations()[i]; in border_colors() 25 if (plane == -1) { in border_colors() 29 planeBorders[plane][c] = m[i*5 + 4]; in border_colors() 90 // If the image is not a multiple of the subsampling then the subsampled plane needs to in Make() 110 // libjpeg[-turbo]'s do_fancy_upsampling option. We will filter the subsampled plane, in Make() 121 // within this plane. in Make() 138 // The plane is subsampled and we have an overall subset on the image. We're in Make() 140 // y-plane pixel centers. Consider a logical image pixel at the edge of the subset. in Make() 142 // values from the subsampled plane. Depending on where the subset edge falls in in Make() 143 // actual subsampled plane, on in Make() [all...] |
/third_party/ffmpeg/libswscale/ |
H A D | swscale.c | 52 static av_always_inline void fillPlane(uint8_t *plane, int stride, int width, in fillPlane() argument 56 uint8_t *ptr = plane + stride * y; in fillPlane() 364 hout_slice->plane[0].sliceY = lastInLumBuf + 1; in swscale() 365 hout_slice->plane[1].sliceY = lastInChrBuf + 1; in swscale() 366 hout_slice->plane[2].sliceY = lastInChrBuf + 1; in swscale() 367 hout_slice->plane[3].sliceY = lastInLumBuf + 1; in swscale() 369 hout_slice->plane[0].sliceH = in swscale() 370 hout_slice->plane[1].sliceH = in swscale() 371 hout_slice->plane[2].sliceH = in swscale() 372 hout_slice->plane[ in swscale() 625 int plane = desc->comp[i].plane; check_image_pointers() local [all...] |