| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/ |
| H A D | amdgpu_dcn20_dpp.c | 109 uint32_t pixel_format = 0; in dpp2_cnv_setup() local 134 pixel_format = 1; in dpp2_cnv_setup() 137 pixel_format = 3; in dpp2_cnv_setup() 142 pixel_format = 8; in dpp2_cnv_setup() 146 pixel_format = 10; in dpp2_cnv_setup() 151 pixel_format = 65; in dpp2_cnv_setup() 157 pixel_format = 64; in dpp2_cnv_setup() 163 pixel_format = 67; in dpp2_cnv_setup() 169 pixel_format = 66; in dpp2_cnv_setup() 174 pixel_format = 22; in dpp2_cnv_setup() [all …]
|
| H A D | amdgpu_dcn20_dsc.c | 367 …dsc_reg_vals->pixel_format = dsc_dc_pixel_encoding_to_dsc_pixel_format(dsc_cfg->pixel_encoding, ds… in dsc_prepare_config() 390 …if (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420 || dsc_reg_vals->pixel_format == DSC_… in dsc_prepare_config() 395 dsc_reg_vals->pps.convert_rgb = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB ? 1 : 0; in dsc_prepare_config() 396 dsc_reg_vals->pps.native_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR422); in dsc_prepare_config() 397 dsc_reg_vals->pps.native_420 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_NATIVE_YCBCR420); in dsc_prepare_config() 398 dsc_reg_vals->pps.simple_422 = (dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422); in dsc_prepare_config() 409 dsc_optc_cfg->is_pixel_format_444 = dsc_reg_vals->pixel_format == DSC_PIXFMT_RGB || in dsc_prepare_config() 410 dsc_reg_vals->pixel_format == DSC_PIXFMT_YCBCR444 || in dsc_prepare_config() 411 dsc_reg_vals->pixel_format == DSC_PIXFMT_SIMPLE_YCBCR422; in dsc_prepare_config() 555 INPUT_PIXEL_FORMAT, reg_vals->pixel_format, in dsc_write_to_registers() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/ |
| H A D | amdgpu_dcn10_dpp.c | 301 uint32_t pixel_format; in dpp1_cnv_setup() local 314 pixel_format = 0; in dpp1_cnv_setup() 344 pixel_format = 1; in dpp1_cnv_setup() 347 pixel_format = 3; in dpp1_cnv_setup() 352 pixel_format = 8; in dpp1_cnv_setup() 356 pixel_format = 10; in dpp1_cnv_setup() 360 pixel_format = 65; in dpp1_cnv_setup() 366 pixel_format = 64; in dpp1_cnv_setup() 372 pixel_format = 67; in dpp1_cnv_setup() 378 pixel_format = 66; in dpp1_cnv_setup() [all …]
|
| H A D | amdgpu_dcn10_dpp_dscl.c | 154 static bool dpp1_dscl_is_video_format(enum pixel_format format) in dpp1_dscl_is_video_format() 163 static bool dpp1_dscl_is_420_format(enum pixel_format format) in dpp1_dscl_is_420_format()
|
| /netbsd-src/sys/dev/usb/ |
| H A D | uvideo.c | 171 enum video_pixel_format pixel_format; member 759 enum video_pixel_format pixel_format, in uvideo_stream_guess_format() argument 765 if (format->format.pixel_format != pixel_format) in uvideo_stream_guess_format() 1285 struct uvideo_pixel_format *pixel_format; in uvideo_stream_free() local 1303 while ((pixel_format = SIMPLEQ_FIRST(&vs->vs_pixel_formats)) != NULL) { in uvideo_stream_free() 1305 kmem_free(pixel_format, sizeof(*pixel_format)); in uvideo_stream_free() 1325 enum video_pixel_format pixel_format; in uvideo_stream_init_frame_based_format() local 1336 pixel_format = VIDEO_FORMAT_UNDEFINED; in uvideo_stream_init_frame_based_format() 1355 pixel_format = VIDEO_FORMAT_YUY2; in uvideo_stream_init_frame_based_format() 1357 pixel_format = VIDEO_FORMAT_NV12; in uvideo_stream_init_frame_based_format() [all …]
|
| H A D | auvitek_video.c | 207 format->pixel_format = VIDEO_FORMAT_UYVY; in auvitek_enum_format() 216 format->pixel_format = VIDEO_FORMAT_UYVY; in auvitek_get_format() 235 if (format->pixel_format != VIDEO_FORMAT_UYVY) in auvitek_set_format()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
| H A D | fb_decoder.c | 47 struct pixel_format { struct 53 static struct pixel_format bdw_pixel_formats[] = { argument 66 static struct pixel_format skl_pixel_formats[] = { 399 static struct pixel_format sprite_pixel_formats[SPRITE_FORMAT_NUM] = {
|
| /netbsd-src/sys/dev/ |
| H A D | video.c | 658 switch (src->pixel_format) { in video_format_to_v4l2_format() 695 src->pixel_format)); in video_format_to_v4l2_format() 735 dest->pixel_format = VIDEO_FORMAT_UYVY; in v4l2_format_to_video_format() 738 dest->pixel_format = VIDEO_FORMAT_YUV420; in v4l2_format_to_video_format() 741 dest->pixel_format = VIDEO_FORMAT_YUY2; in v4l2_format_to_video_format() 744 dest->pixel_format = VIDEO_FORMAT_NV12; in v4l2_format_to_video_format() 747 dest->pixel_format = VIDEO_FORMAT_RGB24; in v4l2_format_to_video_format() 750 dest->pixel_format = VIDEO_FORMAT_RGB555; in v4l2_format_to_video_format() 753 dest->pixel_format = VIDEO_FORMAT_RGB565; in v4l2_format_to_video_format() 756 dest->pixel_format = VIDEO_FORMAT_SBGGR8; in v4l2_format_to_video_format() [all …]
|
| H A D | video_if.h | 366 enum video_pixel_format pixel_format; member
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| H A D | nouveau_display.c | 250 (mode_cmd->pixel_format == DRM_FORMAT_YUYV || in nouveau_framebuffer_new() 251 mode_cmd->pixel_format == DRM_FORMAT_UYVY || in nouveau_framebuffer_new() 252 mode_cmd->pixel_format == DRM_FORMAT_NV12 || in nouveau_framebuffer_new() 253 mode_cmd->pixel_format == DRM_FORMAT_NV21) && in nouveau_framebuffer_new() 260 drm_get_format_name(mode_cmd->pixel_format, in nouveau_framebuffer_new()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| H A D | vlv_dsi_pll.c | 129 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in vlv_dsi_pll_compute() 264 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in vlv_dsi_get_pclk() 331 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in bxt_dsi_get_pclk() 467 dsi_clk = dsi_clk_from_pclk(intel_dsi->pclk, intel_dsi->pixel_format, in bxt_dsi_pll_compute()
|
| H A D | icl_dsi.c | 320 bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in afe_clk() 694 switch (intel_dsi->pixel_format) { in gen11_dsi_configure_transcoder() 696 MISSING_CASE(intel_dsi->pixel_format); in gen11_dsi_configure_transcoder() 819 div = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in gen11_dsi_set_transcoder_timings() 847 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB666 && hactive % 4 != 0) in gen11_dsi_set_transcoder_timings() 1286 int mul = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in gen11_dsi_get_timings() 1405 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB888) in gen11_dsi_compute_config()
|
| H A D | intel_dsi.c | 16 int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in intel_dsi_bitrate()
|
| H A D | intel_dsi.h | 82 enum mipi_dsi_pixel_format pixel_format; member
|
| H A D | vlv_dsi.c | 293 if (intel_dsi->pixel_format == MIPI_DSI_FMT_RGB888) in intel_dsi_compute_config() 675 if (intel_dsi->pixel_format != MIPI_DSI_FMT_RGB888) in intel_dsi_port_enable() 1237 unsigned int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in set_dsi_timings() 1326 unsigned int bpp = mipi_dsi_pixel_format_to_bpp(intel_dsi->pixel_format); in intel_dsi_prepare() 1385 val |= pixel_format_to_reg(intel_dsi->pixel_format); in intel_dsi_prepare()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_framebuffer.c | 131 r.pixel_format = drm_driver_legacy_fb_format(dev, or->bpp, or->depth); in drm_mode_addfb() 132 if (r.pixel_format == DRM_FORMAT_INVALID) { in drm_mode_addfb() 184 info = __drm_format_info(r->pixel_format); in framebuffer_check() 189 drm_get_format_name(r->pixel_format, in framebuffer_check() 253 if (r->pixel_format != DRM_FORMAT_NV12 || in framebuffer_check()
|
| /netbsd-src/sys/arch/arm/ti/ |
| H A D | ti_lcdc.c | 556 uint32_t pixel_format; in tilcdc_fb_probe() local 565 pixel_format = DRM_FORMAT_XBGR8888; in tilcdc_fb_probe() 567 pixel_format = DRM_FORMAT_XRGB8888; in tilcdc_fb_probe() 584 fb->format = drm_format_info(pixel_format); in tilcdc_fb_probe()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/xen/ |
| H A D | xen_drm_front.h | 154 u32 height, u32 pixel_format);
|
| H A D | xen_drm_front.c | 280 u32 height, u32 pixel_format) in xen_drm_front_fb_attach() argument 306 req->op.fb_attach.pixel_format = pixel_format; in xen_drm_front_fb_attach()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/virtio/ |
| H A D | virtgpu_display.c | 309 if (mode_cmd->pixel_format != DRM_FORMAT_HOST_XRGB8888 && in virtio_gpu_user_framebuffer_create() 310 mode_cmd->pixel_format != DRM_FORMAT_HOST_ARGB8888) in virtio_gpu_user_framebuffer_create()
|
| /netbsd-src/sys/external/mit/xen-include-public/dist/xen/include/public/io/ |
| H A D | displif.h | 624 uint32_t pixel_format; member
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/ |
| H A D | hw_shared.h | 171 enum pixel_format surface_pixel_format;
|
| H A D | transform.h | 182 enum pixel_format format;
|
| /netbsd-src/sys/compat/netbsd32/ |
| H A D | netbsd32_drm.c | 873 uint32_t pixel_format; member 886 req64->pixel_format = req32->pixel_format; in map_req32to64()
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
| H A D | vmwgfx_kms.c | 926 switch (mode_cmd->pixel_format) { in vmw_kms_new_framebuffer_surface() 941 drm_get_format_name(mode_cmd->pixel_format, &format_name)); in vmw_kms_new_framebuffer_surface() 1159 switch (mode_cmd->pixel_format) { in vmw_create_bo_proxy() 1179 drm_get_format_name(mode_cmd->pixel_format, &format_name)); in vmw_create_bo_proxy() 1242 switch (mode_cmd->pixel_format) { in vmw_kms_new_framebuffer_bo() 1251 drm_get_format_name(mode_cmd->pixel_format, &format_name)); in vmw_kms_new_framebuffer_bo()
|