Home
last modified time | relevance | path

Searched refs:drm_format (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/i915/gvt/
H A Dfb_decoder.c232 plane->drm_format = skl_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane()
237 plane->drm_format = bdw_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane()
358 plane->drm_format = cursor_pixel_formats[index].drm_format; in intel_vgpu_decode_cursor_plane()
416 int drm_format; in intel_vgpu_decode_sprite_plane() local
440 drm_format = sprite_pixel_formats[fmt].drm_format; in intel_vgpu_decode_sprite_plane()
449 drm_format = DRM_FORMAT_XBGR8888; in intel_vgpu_decode_sprite_plane()
455 drm_format = DRM_FORMAT_YUYV; in intel_vgpu_decode_sprite_plane()
458 drm_format = DRM_FORMAT_UYVY; in intel_vgpu_decode_sprite_plane()
461 drm_format = DRM_FORMAT_YVYU; in intel_vgpu_decode_sprite_plane()
464 drm_format = DRM_FORMAT_VYUY; in intel_vgpu_decode_sprite_plane()
[all …]
H A Dfb_decoder.h111 u32 drm_format; /* format in DRM definition */ member
126 u32 drm_format; /* format in DRM definition */ member
142 u32 drm_format; /* format in DRM definition */ member
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/i915/gvt/
H A Dfb_decoder.c232 plane->drm_format = skl_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane()
237 plane->drm_format = bdw_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane()
358 plane->drm_format = cursor_pixel_formats[index].drm_format; in intel_vgpu_decode_cursor_plane()
416 int drm_format; in intel_vgpu_decode_sprite_plane() local
440 drm_format = sprite_pixel_formats[fmt].drm_format; in intel_vgpu_decode_sprite_plane()
449 drm_format = DRM_FORMAT_XBGR8888; in intel_vgpu_decode_sprite_plane()
455 drm_format = DRM_FORMAT_YUYV; in intel_vgpu_decode_sprite_plane()
458 drm_format = DRM_FORMAT_UYVY; in intel_vgpu_decode_sprite_plane()
461 drm_format = DRM_FORMAT_YVYU; in intel_vgpu_decode_sprite_plane()
464 drm_format = DRM_FORMAT_VYUY; in intel_vgpu_decode_sprite_plane()
[all …]
H A Dfb_decoder.h111 u32 drm_format; /* format in DRM definition */ member
126 u32 drm_format; /* format in DRM definition */ member
142 u32 drm_format; /* format in DRM definition */ member
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/i915/gvt/
H A Dfb_decoder.c232 plane->drm_format = skl_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane()
237 plane->drm_format = bdw_pixel_formats[fmt].drm_format; in intel_vgpu_decode_primary_plane()
358 plane->drm_format = cursor_pixel_formats[index].drm_format; in intel_vgpu_decode_cursor_plane()
416 int drm_format; in intel_vgpu_decode_sprite_plane() local
440 drm_format = sprite_pixel_formats[fmt].drm_format; in intel_vgpu_decode_sprite_plane()
449 drm_format = DRM_FORMAT_XBGR8888; in intel_vgpu_decode_sprite_plane()
455 drm_format = DRM_FORMAT_YUYV; in intel_vgpu_decode_sprite_plane()
458 drm_format = DRM_FORMAT_UYVY; in intel_vgpu_decode_sprite_plane()
461 drm_format = DRM_FORMAT_YVYU; in intel_vgpu_decode_sprite_plane()
464 drm_format = DRM_FORMAT_VYUY; in intel_vgpu_decode_sprite_plane()
[all …]
H A Dfb_decoder.h111 u32 drm_format; /* format in DRM definition */ member
126 u32 drm_format; /* format in DRM definition */ member
142 u32 drm_format; /* format in DRM definition */ member
/dports/www/chromium-legacy/chromium-88.0.4324.182/media/gpu/test/
H A Dlocal_gpu_memory_buffer_manager.cc253 const uint32_t drm_format = GetDrmFormat(format); in CreateGpuMemoryBuffer() local
254 if (!drm_format) { in CreateGpuMemoryBuffer()
266 if (!gbm_device_is_format_supported(gbm_device_, drm_format, gbm_usage)) { in CreateGpuMemoryBuffer()
271 size.height(), drm_format, gbm_usage); in CreateGpuMemoryBuffer()
298 const uint32_t drm_format = GetDrmFormat(format); in ImportDmaBuf() local
299 if (!drm_format) { in ImportDmaBuf()
305 base::checked_cast<uint32_t>(size.height()), drm_format, in ImportDmaBuf()
331 const uint32_t drm_format = GetDrmFormat(format); in IsFormatAndUsageSupported() local
332 if (!drm_format) in IsFormatAndUsageSupported()
337 return gbm_device_is_format_supported(gbm_device_, drm_format, gbm_usage); in IsFormatAndUsageSupported()
/dports/x11-wm/mutter/mutter-41.1/src/backends/native/
H A Dmeta-cogl-utils.c29 uint32_t drm_format; member
62 meta_cogl_pixel_format_from_drm_format (uint32_t drm_format, in meta_cogl_pixel_format_from_drm_format() argument
71 if (pixel_format_map[i].drm_format == drm_format) in meta_cogl_pixel_format_from_drm_format()
H A Dmeta-kms-utils.c85 uint32_t drm_format) in meta_drm_format_to_string() argument
89 if (drm_format == DRM_FORMAT_INVALID) in meta_drm_format_to_string()
95 char c = (drm_format >> (i * 8)) & 0xff; in meta_drm_format_to_string()
H A Dmeta-drm-buffer-gbm.c222 uint32_t drm_format; in meta_drm_buffer_gbm_fill_timings() local
237 drm_format = gbm_bo_get_format (buffer_gbm->bo); in meta_drm_buffer_gbm_fill_timings()
238 result = meta_cogl_pixel_format_from_drm_format (drm_format, in meta_drm_buffer_gbm_fill_timings()
263 drm_format, in meta_drm_buffer_gbm_fill_timings()
340 uint32_t drm_format; in meta_drm_buffer_gbm_blit_to_framebuffer() local
355 drm_format = gbm_bo_get_format (buffer_gbm->bo); in meta_drm_buffer_gbm_blit_to_framebuffer()
356 result = meta_cogl_pixel_format_from_drm_format (drm_format, in meta_drm_buffer_gbm_blit_to_framebuffer()
381 drm_format, in meta_drm_buffer_gbm_blit_to_framebuffer()
/dports/x11-wm/mutter/mutter-41.1/src/wayland/
H A Dmeta-wayland-dma-buf.c75 uint32_t drm_format; member
106 switch (dma_buf->drm_format) in meta_wayland_dma_buf_realize_texture()
157 "Unsupported buffer format %d", dma_buf->drm_format); in meta_wayland_dma_buf_realize_texture()
179 dma_buf->drm_format, in meta_wayland_dma_buf_realize_texture()
242 .format = dma_buf->drm_format, in import_scanout_gbm_bo()
268 .format = dma_buf->drm_format, in import_scanout_gbm_bo()
292 uint32_t drm_format; in meta_wayland_dma_buf_try_acquire_scanout() local
306 drm_format = dma_buf->drm_format; in meta_wayland_dma_buf_try_acquire_scanout()
310 drm_format, in meta_wayland_dma_buf_try_acquire_scanout()
461 uint32_t drm_format, in buffer_params_create_common() argument
[all …]
/dports/multimedia/libva-intel-hybrid-driver/intel-hybrid-driver-1.0.2/src/
H A Di965_output_wayland.c220 uint32_t name, drm_format;
241 drm_format = WL_DRM_FORMAT_NV12;
259 drm_format = WL_DRM_FORMAT_YUV411;
262 drm_format = WL_DRM_FORMAT_YUV420;
266 drm_format = WL_DRM_FORMAT_YUV422;
269 drm_format = WL_DRM_FORMAT_YUV444;
292 drm_format,
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/minigbm/src/
H A Dvirtio_gpu.c73 uint32_t drm_format) in virtio_gpu_supports_format() argument
75 uint32_t virgl_format = translate_format(drm_format); in virtio_gpu_supports_format()
87 static void virtio_gpu_add_combination(struct driver *drv, uint32_t drm_format, in virtio_gpu_add_combination() argument
94 !virtio_gpu_supports_format(&priv->caps.v1.render, drm_format)) { in virtio_gpu_add_combination()
95 drv_log("Skipping unsupported render format: %d\n", drm_format); in virtio_gpu_add_combination()
100 !virtio_gpu_supports_format(&priv->caps.v1.sampler, drm_format)) { in virtio_gpu_add_combination()
101 drv_log("Skipping unsupported texture format: %d\n", drm_format); in virtio_gpu_add_combination()
105 !virtio_gpu_supports_format(&priv->caps.v2.scanout, drm_format)) { in virtio_gpu_add_combination()
106 drv_log("Unsupported scanout format: %d\n", drm_format); in virtio_gpu_add_combination()
111 drv_add_combination(drv, drm_format, metadata, use_flags); in virtio_gpu_add_combination()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/minigbm/src/
H A Dvirtio_gpu.c73 uint32_t drm_format) in virtio_gpu_supports_format() argument
75 uint32_t virgl_format = translate_format(drm_format); in virtio_gpu_supports_format()
87 static void virtio_gpu_add_combination(struct driver *drv, uint32_t drm_format, in virtio_gpu_add_combination() argument
94 !virtio_gpu_supports_format(&priv->caps.v1.render, drm_format)) { in virtio_gpu_add_combination()
95 drv_log("Skipping unsupported render format: %d\n", drm_format); in virtio_gpu_add_combination()
100 !virtio_gpu_supports_format(&priv->caps.v1.sampler, drm_format)) { in virtio_gpu_add_combination()
101 drv_log("Skipping unsupported texture format: %d\n", drm_format); in virtio_gpu_add_combination()
105 !virtio_gpu_supports_format(&priv->caps.v2.scanout, drm_format)) { in virtio_gpu_add_combination()
106 drv_log("Unsupported scanout format: %d\n", drm_format); in virtio_gpu_add_combination()
111 drv_add_combination(drv, drm_format, metadata, use_flags); in virtio_gpu_add_combination()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/ozone/platform/drm/gpu/
H A Ddrm_framebuffer.cc40 const auto drm_format = force_opaque ? opaque_format : params.format; in AddFramebuffer() local
43 if (!drm_device->AddFramebuffer2(params.width, params.height, drm_format, in AddFramebuffer()
52 if (opaque_format != drm_format && in AddFramebuffer()
63 std::move(drm_device), framebuffer_id, drm_format, opaque_framebuffer_id, in AddFramebuffer()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/ozone/platform/drm/gpu/
H A Ddrm_framebuffer.cc41 const auto drm_format = force_opaque ? opaque_format : params.format; in AddFramebuffer() local
44 if (!drm_device->AddFramebuffer2(params.width, params.height, drm_format, in AddFramebuffer()
53 if (opaque_format != drm_format && in AddFramebuffer()
64 std::move(drm_device), framebuffer_id, drm_format, opaque_framebuffer_id, in AddFramebuffer()
/dports/multimedia/libva-intel-driver/intel-vaapi-driver-2.4.1/src/
H A Di965_output_wayland.c278 uint32_t name, drm_format; in va_GetSurfaceBufferWl() local
304 drm_format = WL_DRM_FORMAT_NV12; in va_GetSurfaceBufferWl()
322 drm_format = WL_DRM_FORMAT_YUV411; in va_GetSurfaceBufferWl()
325 drm_format = WL_DRM_FORMAT_YUV420; in va_GetSurfaceBufferWl()
329 drm_format = WL_DRM_FORMAT_YUV422; in va_GetSurfaceBufferWl()
332 drm_format = WL_DRM_FORMAT_YUV444; in va_GetSurfaceBufferWl()
358 drm_format, in va_GetSurfaceBufferWl()
/dports/multimedia/obs-studio/obs-studio-27.1.3/libobs-opengl/
H A Dgl-egl-common.c91 unsigned int height, uint32_t drm_format, in create_dmabuf_egl_image() argument
112 attribs[atti++] = drm_format; in create_dmabuf_egl_image()
182 unsigned int height, uint32_t drm_format, in gl_egl_create_dmabuf_image() argument
194 drm_format, n_planes, fds, strides, in gl_egl_create_dmabuf_image()
/dports/emulators/qemu/qemu-6.2.0/ui/
H A Dqemu-pixman.c93 uint32_t drm_format; member
101 pixman_format_code_t qemu_drm_format_to_pixman(uint32_t drm_format) in qemu_drm_format_to_pixman() argument
106 if (drm_format == drm_format_pixman_map[i].drm_format) { in qemu_drm_format_to_pixman()
119 return drm_format_pixman_map[i].drm_format; in qemu_pixman_to_drm_format()
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/ui/
H A Dqemu-pixman.c93 uint32_t drm_format; member
101 pixman_format_code_t qemu_drm_format_to_pixman(uint32_t drm_format) in qemu_drm_format_to_pixman() argument
106 if (drm_format == drm_format_pixman_map[i].drm_format) { in qemu_drm_format_to_pixman()
119 return drm_format_pixman_map[i].drm_format; in qemu_pixman_to_drm_format()
/dports/devel/qt5-testlib/kde-qtbase-5.15.2p263/src/plugins/platforms/linuxfb/
H A Dqlinuxfbdrmscreen.cpp245 const uint32_t bpp = bppForDrmFormat(output->kmsOutput.drm_format); in createFramebuffer()
268 if (drmModeAddFB2(fd(), w, h, output->kmsOutput.drm_format, in createFramebuffer()
288 …g(qLcFbDrm, "FB is %u (DRM format 0x%x), mapped at %p", fb.fb, output->kmsOutput.drm_format, fb.p); in createFramebuffer()
291 …mage(static_cast<uchar *>(fb.p), w, h, fb.pitch, formatForDrmFormat(output->kmsOutput.drm_format)); in createFramebuffer()
416 mDepth = depthForDrmFormat(output->kmsOutput.drm_format); in initialize()
417 mFormat = formatForDrmFormat(output->kmsOutput.drm_format); in initialize()
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/plugins/platforms/linuxfb/
H A Dqlinuxfbdrmscreen.cpp245 const uint32_t bpp = bppForDrmFormat(output->kmsOutput.drm_format); in createFramebuffer()
268 if (drmModeAddFB2(fd(), w, h, output->kmsOutput.drm_format, in createFramebuffer()
288 …g(qLcFbDrm, "FB is %u (DRM format 0x%x), mapped at %p", fb.fb, output->kmsOutput.drm_format, fb.p); in createFramebuffer()
291 …mage(static_cast<uchar *>(fb.p), w, h, fb.pitch, formatForDrmFormat(output->kmsOutput.drm_format)); in createFramebuffer()
416 mDepth = depthForDrmFormat(output->kmsOutput.drm_format); in initialize()
417 mFormat = formatForDrmFormat(output->kmsOutput.drm_format); in initialize()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/plugins/platforms/linuxfb/
H A Dqlinuxfbdrmscreen.cpp245 const uint32_t bpp = bppForDrmFormat(output->kmsOutput.drm_format); in createFramebuffer()
268 if (drmModeAddFB2(fd(), w, h, output->kmsOutput.drm_format, in createFramebuffer()
288 …g(qLcFbDrm, "FB is %u (DRM format 0x%x), mapped at %p", fb.fb, output->kmsOutput.drm_format, fb.p); in createFramebuffer()
291 …mage(static_cast<uchar *>(fb.p), w, h, fb.pitch, formatForDrmFormat(output->kmsOutput.drm_format)); in createFramebuffer()
416 mDepth = depthForDrmFormat(output->kmsOutput.drm_format); in initialize()
417 mFormat = formatForDrmFormat(output->kmsOutput.drm_format); in initialize()
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/plugins/platforms/linuxfb/
H A Dqlinuxfbdrmscreen.cpp245 const uint32_t bpp = bppForDrmFormat(output->kmsOutput.drm_format); in createFramebuffer()
268 if (drmModeAddFB2(fd(), w, h, output->kmsOutput.drm_format, in createFramebuffer()
288 …g(qLcFbDrm, "FB is %u (DRM format 0x%x), mapped at %p", fb.fb, output->kmsOutput.drm_format, fb.p); in createFramebuffer()
291 …mage(static_cast<uchar *>(fb.p), w, h, fb.pitch, formatForDrmFormat(output->kmsOutput.drm_format)); in createFramebuffer()
416 mDepth = depthForDrmFormat(output->kmsOutput.drm_format); in initialize()
417 mFormat = formatForDrmFormat(output->kmsOutput.drm_format); in initialize()
/dports/textproc/qt5-xml/kde-qtbase-5.15.2p263/src/plugins/platforms/linuxfb/
H A Dqlinuxfbdrmscreen.cpp245 const uint32_t bpp = bppForDrmFormat(output->kmsOutput.drm_format); in createFramebuffer()
268 if (drmModeAddFB2(fd(), w, h, output->kmsOutput.drm_format, in createFramebuffer()
288 …g(qLcFbDrm, "FB is %u (DRM format 0x%x), mapped at %p", fb.fb, output->kmsOutput.drm_format, fb.p); in createFramebuffer()
291 …mage(static_cast<uchar *>(fb.p), w, h, fb.pitch, formatForDrmFormat(output->kmsOutput.drm_format)); in createFramebuffer()
416 mDepth = depthForDrmFormat(output->kmsOutput.drm_format); in initialize()
417 mFormat = formatForDrmFormat(output->kmsOutput.drm_format); in initialize()

12345678910>>...13