/linux-master/drivers/gpu/drm/amd/display/dc/dsc/ |
H A D | dscc_types.h | 45 uint32_t bytes_per_pixel; /* In u3.28 format */ member in struct:dsc_parameters
|
H A D | dsc.h | 50 uint32_t bytes_per_pixel; /* Bytes per pixel in u3.28 format */ member in struct:dsc_optc_config
|
H A D | rc_calc_dpi.c | 114 dsc_params->bytes_per_pixel =
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | fbdev.c | 75 unsigned int bytes_per_pixel; local 83 bytes_per_pixel = DIV_ROUND_UP(sizes->surface_bpp, 8); 87 cmd.pitches[0] = round_up(sizes->surface_width * bytes_per_pixel, 122 offset = info->var.xoffset * bytes_per_pixel +
|
/linux-master/drivers/gpu/drm/amd/display/dc/basics/ |
H A D | dce_calcs.c | 183 data->bytes_per_pixel[0] = 1; 184 data->bytes_per_pixel[2] = 1; 187 data->bytes_per_pixel[1] = 2; 188 data->bytes_per_pixel[3] = 2; 197 data->bytes_per_pixel[0] = 2; 198 data->bytes_per_pixel[2] = 2; 205 data->bytes_per_pixel[0] = 4; 206 data->bytes_per_pixel[2] = 4; 376 data->bytes_per_pixel[maximum_number_of_surfaces - 2] = 1; 377 data->bytes_per_pixel[maximum_number_of_surface [all...] |
H A D | calcs_logger.h | 397 DC_LOG_BANDWIDTH_CALCS(" [uint32_t] bytes_per_pixel[%d]:%d", i, data->bytes_per_pixel[i]);
|
/linux-master/drivers/media/test-drivers/vivid/ |
H A D | vivid-osd.c | 104 dev->display_byte_stride = var->xres * dev->bytes_per_pixel; 270 dev->bytes_per_pixel = dev->bits_per_pixel / 8; 275 dev->display_byte_stride = start_window.width * dev->bytes_per_pixel;
|
H A D | vivid-core.h | 298 int bytes_per_pixel; member in struct:vivid_dev
|
/linux-master/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
H A D | virtual_isys.c | 695 s32 bytes_per_pixel; local 701 bytes_per_pixel = ceil_div(bits_per_pixel, bits_per_byte); 704 * bytes_per_pixel; 735 cfg->dest_buf_cfg.stride = bytes_per_pixel
|
/linux-master/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
H A D | frame.c | 42 unsigned int bytes_per_pixel); 466 unsigned int bytes_per_pixel) 470 stride = subpixels_per_line * bytes_per_pixel; 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) argument
|
/linux-master/drivers/media/test-drivers/ |
H A D | vim2m.c | 446 unsigned int width, height, bytesperline, bytes_per_pixel; local 454 bytes_per_pixel = q_data_in->fmt->depth >> 3; 532 p_in_x[1] = p_line - x_offset * bytes_per_pixel; 534 p_in_x[1] = p_line + x_offset * bytes_per_pixel; 549 p_in_x[0] = p_line - x_offset * bytes_per_pixel; 551 p_in_x[0] = p_line + x_offset * bytes_per_pixel;
|
/linux-master/drivers/media/pci/ivtv/ |
H A D | ivtvfb.c | 165 int bytes_per_pixel; member in struct:osd_info 227 oi->display_byte_stride = osd->pixel_stride * oi->bytes_per_pixel; 550 oi->bytes_per_pixel = var->bits_per_pixel / 8; 973 oi->bytes_per_pixel = oi->bits_per_pixel / 8; 1001 start_window.width * oi->bytes_per_pixel;
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_mall_phantom.c | 35 uint32_t bytes_per_pixel = 0; local 55 bytes_per_pixel = pipe->plane_state->format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616 ? 8 : 4; 57 mblk_height = bytes_per_pixel == 4 ? mblk_width = ctx->config.mall_cfg.mblk_height_4bpe_pixels : ctx->config.mall_cfg.mblk_height_8bpe_pixels;
|
/linux-master/drivers/video/fbdev/ |
H A D | imxfb.c | 897 int bytes_per_pixel; local 954 bytes_per_pixel = (m->bpp + 7) / 8; 957 m->mode.xres * m->mode.yres * bytes_per_pixel);
|
/linux-master/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | dce_calcs.h | 374 uint32_t bytes_per_pixel[maximum_number_of_surfaces]; member in struct:bw_calcs_data
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn314/ |
H A D | dcn314_hwseq.c | 116 dsc_optc_cfg.bytes_per_pixel,
|
/linux-master/drivers/gpu/drm/amd/display/dc/dsc/dcn20/ |
H A D | dcn20_dsc.c | 455 dsc_optc_cfg->bytes_per_pixel = dsc_params.bytes_per_pixel;
|
/linux-master/drivers/gpu/drm/mgag200/ |
H A D | mgag200_mode.c | 794 uint64_t bytes_per_pixel = (bits_per_pixel + 7) / 8; local 807 bandwidth = pixels_per_second * bytes_per_pixel * 100;
|
/linux-master/drivers/gpu/drm/amd/display/dc/link/ |
H A D | link_dpms.c | 744 uint32_t bytes_per_pixel_int = config->bytes_per_pixel / precision; 745 uint32_t bytes_per_pixel_mod = config->bytes_per_pixel % precision; 757 config->bytes_per_pixel, bytes_per_pixel_int, (uint32_t)ll_bytes_per_pix_fraq); 843 dsc_optc_cfg.bytes_per_pixel, 854 dsc_optc_cfg.bytes_per_pixel,
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 46 #define GEOM(xshift, yshift, bytes_per_pixel) { \ 49 .cpp = (bytes_per_pixel), \
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | dce_v11_0.c | 738 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member in struct:dce10_wm_params 904 bpp.full = dfixed_const(wm->bytes_per_pixel); 956 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); 958 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); 1098 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ 1137 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */
|
H A D | dce_v10_0.c | 706 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member in struct:dce10_wm_params 872 bpp.full = dfixed_const(wm->bytes_per_pixel); 924 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); 926 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); 1066 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ 1105 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */
|
H A D | dce_v8_0.c | 659 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member in struct:dce8_wm_params 825 bpp.full = dfixed_const(wm->bytes_per_pixel); 877 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); 879 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); 1019 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ 1058 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */
|
H A D | dce_v6_0.c | 524 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member in struct:dce6_wm_params 690 bpp.full = dfixed_const(wm->bytes_per_pixel); 742 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); 744 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); 893 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ 920 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | si.c | 2044 u32 bytes_per_pixel; /* bytes per pixel display + overlay */ member in struct:dce6_wm_params 2171 bpp.full = dfixed_const(wm->bytes_per_pixel); 2214 lb_fill_bw = min(tmp, wm->disp_clk * wm->bytes_per_pixel / 1000); 2216 a.full = dfixed_const(max_src_lines_per_dst_line * wm->src_width * wm->bytes_per_pixel); 2326 wm_high.bytes_per_pixel = 4; /* XXX: get this from fb config */ 2353 wm_low.bytes_per_pixel = 4; /* XXX: get this from fb config */
|