Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/linux/drivers/gpu/drm/amd/display/dc/dml/dsc/
H A Drc_calc_fpu.c99 index = (bpp - table[0].bpp) * 2; in get_qp_set()
115bpp <= 6) ? (0) : ((((bpp >= 8) && (bpp <= 12))) ? (2) : ((bpp >= 15) ? (10) : ((((bpp > 6) && ( in get_ofs_set()
116bpp <= 6) ? (-2) : ((((bpp >= 8) && (bpp <= 12))) ? (0) : ((bpp >= 15) ? (8) : ((((bpp > 6) && ( in get_ofs_set()
117bpp <= 6) ? (-2) : ((((bpp >= 8) && (bpp <= 12))) ? (0) : ((bpp >= 15) ? (6) : ((((bpp > 6) && ( in get_ofs_set()
118bpp <= 6) ? (-4) : ((((bpp >= 8) && (bpp <= 12))) ? (-2) : ((bpp >= 15) ? (4) : ((((bpp > 6) && … in get_ofs_set()
119bpp <= 6) ? (-6) : ((((bpp >= 8) && (bpp <= 12))) ? (-4) : ((bpp >= 15) ? (2) : ((((bpp > 6) && … in get_ofs_set()
132 *p++ = (bpp <= 8) ? (0) : ((bpp >= 10) ? (8) : (0 + dsc_roundf((bpp - 8) * (8 / 2.0)))); in get_ofs_set()
133 *p++ = (bpp <= 8) ? (0) : ((bpp >= 10) ? (6) : (0 + dsc_roundf((bpp - 8) * (6 / 2.0)))); in get_ofs_set()
192 bpp_group = MODE_SELECT(bpp, bpp * 2.0, bpp * 2.0); in _do_calc_rc_params()
196 …t = (bpp >= 6) ? (2048) : ((bpp <= 4) ? (6144) : ((((bpp > 4) && (bpp <= 5))) ? (6144 - dsc_ro… in _do_calc_rc_params()
[all …]
/linux/drivers/gpu/drm/ci/xfails/
H A Di915-amly-fails.txt1 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
2 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
3 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
4 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling,Fail
5 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling,Fail
6 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling,Fail
7 kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling,Fail
8 kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-upscaling,Fail
10 kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-upscaling,Fail
14 kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling,Fail
[all …]
H A Di915-kbl-fails.txt3 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
4 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
5 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
6 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling,Fail
7 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling,Fail
8 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling,Fail
10 kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-upscaling,Fail
12 kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-upscaling,Fail
16 kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling,Fail
18 kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-upscaling,Fail
[all …]
H A Di915-cml-fails.txt1 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
2 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
3 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
4 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling,Fail
5 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling,Fail
6 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling,Fail
7 kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-downscaling,Fail
8 kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-upscaling,Fail
10 kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-upscaling,Fail
14 kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling,Fail
[all …]
H A Di915-glk-fails.txt5 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
6 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
7 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
8 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling,Fail
9 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling,Fail
10 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling,Fail
12 kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile-upscaling,Fail
14 kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-upscaling,Fail
18 kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling,Fail
20 kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-upscaling,Fail
[all …]
H A Di915-tgl-fails.txt12 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
13 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
14 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
15 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling,Fail
16 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling,Fail
17 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling,Fail
19 kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-upscaling,Fail
23 kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling,Fail
25 kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-upscaling,Fail
27 kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-upscaling,Fail
[all …]
H A Di915-whl-fails.txt12 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
13 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
14 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
15 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling,Fail
16 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling,Fail
17 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling,Fail
21 kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-upscaling,Fail
25 kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling,Fail
27 kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-upscaling,Fail
29 kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-upscaling,Fail
[all …]
H A Di915-apl-fails.txt11 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-downscaling,Fail
12 kms_flip_scaled_crc@flip-32bpp-linear-to-64bpp-linear-upscaling,Fail
13 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-downscaling,Fail
14 kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling,Fail
15 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling,Fail
16 kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-upscaling,Fail
20 kms_flip_scaled_crc@flip-64bpp-linear-to-16bpp-linear-upscaling,Fail
24 kms_flip_scaled_crc@flip-64bpp-xtile-to-16bpp-xtile-upscaling,Fail
26 kms_flip_scaled_crc@flip-64bpp-xtile-to-32bpp-xtile-upscaling,Fail
28 kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-upscaling,Fail
[all …]
/linux/drivers/gpu/drm/display/
H A Ddrm_dsc_helper.c342 u8 bpp; member
347 #define DSC_BPP(bpp) ((bpp) << 4) argument
357 .bpp = DSC_BPP(6), .bpc = 8,
367 .bpp = DSC_BPP(8), .bpc = 8,
377 .bpp = DSC_BPP(8), .bpc = 10,
391 .bpp = DSC_BPP(8), .bpc = 12,
402 .bpp = DSC_BPP(10), .bpc = 8,
433 .bpp = DSC_BPP(12), .bpc = 8,
505 .bpp = DSC_BPP(6), .bpc = 8,
559 .bpp = DSC_BPP(8), .bpc = 8,
[all …]
/linux/drivers/media/platform/sunxi/sun8i-rotate/
H A Dsun8i_formats.c18 .bpp = { 4, 0, 0 },
26 .bpp = { 4, 0, 0 },
34 .bpp = { 4, 0, 0 },
42 .bpp = { 4, 0, 0 },
50 .bpp = { 4, 0, 0 },
58 .bpp = { 4, 0, 0 },
66 .bpp = { 4, 0, 0 },
74 .bpp = { 4, 0, 0 },
82 .bpp = { 3, 0, 0 },
90 .bpp = { 3, 0, 0 },
[all …]
/linux/drivers/media/v4l2-core/
H A Dv4l2-common.c238 …24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .… in v4l2_format_info()
239 …24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .… in v4l2_format_info()
240 …24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .… in v4l2_format_info()
241 …32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info()
242 …R32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info()
243 …X32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .… in v4l2_format_info()
393 …plane->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0] / info->bpp_di… in v4l2_fill_pixfmt_mp()
405 plane->sizeimage += info->bpp[i] * in v4l2_fill_pixfmt_mp()
421 info->bpp[i] * DIV_ROUND_UP(aligned_width, hdiv) / info->bpp_div[i]; in v4l2_fill_pixfmt_mp()
447 …pixfmt->bytesperline = ALIGN(width, v4l2_format_block_width(info, 0)) * info->bpp[0] / info->bpp_d… in v4l2_fill_pixfmt()
[all …]
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_kms.c45 .bpp = 16,
53 .bpp = 16,
61 .bpp = 16,
68 .bpp = 32,
76 .bpp = 32,
84 .bpp = 16,
92 .bpp = 16,
100 .bpp = 12,
108 .bpp = 12,
116 .bpp = 16,
[all …]
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-common.c27 .bpp = 3,
42 .bpp = 3,
48 .bpp = 4,
56 .bpp = 1,
62 .bpp = 1,
68 .bpp = 1,
74 .bpp = 1,
80 .bpp = 2,
86 .bpp = 2,
92 .bpp = 2,
[all …]
/linux/drivers/video/fbdev/
H A Dc2p_iplan2.c52 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2()
65 for (i = 0; i < bpp/2; i++, dst += 4) in store_iplan2_masked()
86 u32 height, u32 dst_nextline, u32 src_nextline, u32 bpp) in c2p_iplan2() argument
96 dst += dy*dst_nextline+(dx & ~15)*bpp; in c2p_iplan2()
113 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
114 p += bpp*2; in c2p_iplan2()
125 store_iplan2_masked(p, bpp, d.words, first); in c2p_iplan2()
126 p += bpp*2; in c2p_iplan2()
134 store_iplan2(p, bpp, d.words); in c2p_iplan2()
135 p += bpp*2; in c2p_iplan2()
[all …]
H A Dc2p_planar.c48 static inline void store_planar(void *dst, u32 dst_inc, u32 bpp, u32 d[8]) in store_planar() argument
52 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar()
61 static inline void store_planar_masked(void *dst, u32 dst_inc, u32 bpp, in store_planar_masked() argument
66 for (i = 0; i < bpp; i++, dst += dst_inc) in store_planar_masked()
88 u32 src_nextline, u32 bpp) in c2p_planar() argument
113 store_planar_masked(p, dst_nextplane, bpp, d.words, in c2p_planar()
126 store_planar_masked(p, dst_nextplane, bpp, in c2p_planar()
136 store_planar(p, dst_nextplane, bpp, d.words); in c2p_planar()
146 store_planar_masked(p, dst_nextplane, bpp, in c2p_planar()
H A Dsh7760fb.c159 if (bpp) in sh7760fb_get_color_info()
160 *bpp = lbpp; in sh7760fb_get_color_info()
172 int ret, bpp; in sh7760fb_check_var() local
206 int ret, bpp, gray; in sh7760fb_set_par() local
274 if (bpp == 1) in sh7760fb_set_par()
276 else if (bpp == 2) in sh7760fb_set_par()
278 else if (bpp == 4) in sh7760fb_set_par()
378 int ret, bpp; in sh7760fb_alloc_mem() local
395 if (bpp == 1) in sh7760fb_alloc_mem()
397 else if (bpp == 2) in sh7760fb_alloc_mem()
[all …]
/linux/drivers/video/fbdev/core/
H A Dcfbimgblt.c84 u32 null_bits = 32 - bpp; in color_imageblit()
108 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
116 shift += bpp; in color_imageblit()
146 u32 null_bits = 32 - bpp; in slow_imageblit()
153 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
154 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
182 shift += bpp; in slow_imageblit()
229 switch (bpp) { in fast_imageblit()
247 fgx <<= bpp; in fast_imageblit()
248 bgx <<= bpp; in fast_imageblit()
[all …]
H A Dsysimgblt.c59 u32 null_bits = 32 - bpp; in color_imageblit()
82 color <<= FB_LEFT_POS(p, bpp); in color_imageblit()
90 shift += bpp; in color_imageblit()
118 u32 null_bits = 32 - bpp; in slow_imageblit()
124 fgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
125 bgcolor <<= FB_LEFT_POS(p, bpp); in slow_imageblit()
153 shift += bpp; in slow_imageblit()
199 switch (bpp) { in fast_imageblit()
217 fgx <<= bpp; in fast_imageblit()
218 bgx <<= bpp; in fast_imageblit()
[all …]
H A Dfb_draw.h26 pixel_to_pat( u32 bpp, u32 pixel) in pixel_to_pat() argument
28 switch (bpp) { in pixel_to_pat()
46 WARN(1, "pixel_to_pat(): unsupported pixelformat %d\n", bpp); in pixel_to_pat()
52 pixel_to_pat( u32 bpp, u32 pixel) in pixel_to_pat() argument
54 switch (bpp) { in pixel_to_pat()
72 WARN(1, "pixel_to_pat(): unsupported pixelformat %d\n", bpp); in pixel_to_pat()
148 unsigned bpp = info->var.bits_per_pixel; in fb_compute_bswapmask() local
150 if ((bpp < 8) && (info->var.nonstd & FB_NONSTD_REV_PIX_IN_B)) { in fb_compute_bswapmask()
155 bswapmask = 7 - bpp + 1; in fb_compute_bswapmask()
/linux/drivers/gpu/drm/i915/gvt/
H A Dfb_decoder.c151 u32 tiled, int stride_mask, int bpp) in intel_vgpu_get_stride() argument
170 if (bpp == 8) in intel_vgpu_get_stride()
172 else if (bpp == 16 || bpp == 32 || bpp == 64) in intel_vgpu_get_stride()
235 plane->bpp = skl_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane()
240 plane->bpp = bdw_pixel_formats[fmt].bpp; in intel_vgpu_decode_primary_plane()
244 if (!plane->bpp) { in intel_vgpu_decode_primary_plane()
265 _PRI_PLANE_STRIDE_MASK, plane->bpp); in intel_vgpu_decode_primary_plane()
356 if (!cursor_pixel_formats[index].bpp) { in intel_vgpu_decode_cursor_plane()
361 plane->bpp = cursor_pixel_formats[index].bpp; in intel_vgpu_decode_cursor_plane()
438 if (!sprite_pixel_formats[fmt].bpp) { in intel_vgpu_decode_sprite_plane()
[all …]
/linux/drivers/staging/media/imx/
H A Dimx-media-utils.c24 .bpp = 16,
32 .bpp = 16,
36 .bpp = 12,
41 .bpp = 12,
46 .bpp = 16,
51 .bpp = 12,
56 .bpp = 16,
62 .bpp = 32,
70 .bpp = 16,
113 .bpp = 8,
[all …]
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_kms.c31 .bpp = 16,
38 .bpp = 24,
45 .bpp = 32,
52 .bpp = 32,
59 .bpp = 12,
66 .bpp = 12,
73 .bpp = 16,
80 .bpp = 16,
87 .bpp = 24,
94 .bpp = 24,
[all …]
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Darb.c45 int bpp; member
56 int pagemiss, cas, bpp; in nv04_calc_arb() local
68 bpp = arb->bpp; in nv04_calc_arb()
84 crtc_drain_rate = pclk_freq * bpp / 8; in nv04_calc_arb()
94 p1 = p1 * bpp / 8; in nv04_calc_arb()
124 drain_rate = pclk_freq * arb->bpp / 8; /* kB/s */ in nv10_calc_arb()
161 + (arb->bpp == 32 ? 8 : 4); /* Margin of error. */ in nv10_calc_arb()
193 nv04_update_arb(struct drm_device *dev, int VClk, int bpp, in nv04_update_arb() argument
208 sim_data.bpp = bpp; in nv04_update_arb()
252 nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) in nouveau_calc_arb() argument
[all …]
/linux/include/linux/sunrpc/
H A Dcache.h84 char **bpp, int *blen);
249 extern void qword_add(char **bpp, int *lp, char *str);
251 extern int qword_get(char **bpp, char *dest, int bufsize);
253 static inline int get_int(char **bpp, int *anint) in get_int() argument
258 int len = qword_get(bpp, buf, sizeof(buf)); in get_int()
273 static inline int get_uint(char **bpp, unsigned int *anint) in get_uint() argument
276 int len = qword_get(bpp, buf, sizeof(buf)); in get_uint()
289 static inline int get_time(char **bpp, time64_t *time) in get_time() argument
293 int len = qword_get(bpp, buf, sizeof(buf)); in get_time()
307 static inline int get_expiry(char **bpp, time64_t *rvp) in get_expiry() argument
[all …]
/linux/Documentation/fb/
H A Darkfb.rst19 * 4 bpp pseudocolor modes (with 18bit palette, two variants)
20 * 8 bpp pseudocolor mode (with 18bit palette)
21 * 16 bpp truecolor modes (RGB 555 and RGB 565)
22 * 24 bpp truecolor mode (RGB 888)
23 * 32 bpp truecolor mode (RGB 888)
24 * text mode (activated by bpp = 0)
36 There are two 4 bpp modes. First mode (selected if nonstd == 0) is mode with
54 * support for fontwidths != 8 in 4 bpp modes

12345678910>>...22