Searched refs:bpp (Results 1 - 25 of 462) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/amd/display/dc/dml/dsc/
H A Drc_calc_fpu.c65 enum max_min max_min, float bpp)
99 index = (bpp - table[0].bpp) * 2;
103 dm_error("ERROR: Requested rc_calc to find a bpp entry that exceeds the table size\n");
110 static void get_ofs_set(qp_set ofs, enum colour_mode mode, float bpp) argument
115 *p++ = (bpp <= 6) ? (0) : ((((bpp >= 8) && (bpp <= 12))) ? (2) : ((bpp >= 15) ? (10) : ((((bpp >
64 get_qp_set(qp_set qps, enum colour_mode cm, enum bits_per_comp bpc, enum max_min max_min, float bpp) argument
174 float bpp; local
[all...]
/linux-master/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
[all...]
H A Dsun8i-formats.h16 int bpp[3]; member in struct:rotate_format
/linux-master/drivers/gpu/drm/display/
H A Ddrm_dsc_helper.c320 * For 6bpp, RC Buffer threshold 12 and 13 need a different value
342 u8 bpp; member in struct:rc_parameters_data
347 #define DSC_BPP(bpp) ((bpp) << 4)
351 * to DSC 1.1 fractional bpp underflow SCR (DSC_v1.1_E1.pdf)
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
[all...]
/linux-master/drivers/video/fbdev/via/
H A Dvia_utility.h16 void viafb_set_gamma_table(int bpp, unsigned int *gamma_table);
18 void viafb_get_gamma_support_state(int bpp, unsigned int *support_state);
/linux-master/drivers/video/fbdev/
H A Dc2p_iplan2.c48 static inline void store_iplan2(void *dst, u32 bpp, u32 d[4]) argument
52 for (i = 0; i < bpp/2; i++, dst += 4)
61 static inline void store_iplan2_masked(void *dst, u32 bpp, u32 d[4], u32 mask) argument
65 for (i = 0; i < bpp/2; i++, dst += 4)
82 * @bpp: Bits per pixel of the planar frame buffer (2, 4, or 8)
86 u32 height, u32 dst_nextline, u32 src_nextline, u32 bpp)
96 dst += dy*dst_nextline+(dx & ~15)*bpp;
113 store_iplan2_masked(p, bpp, d.words, first);
114 p += bpp*2;
125 store_iplan2_masked(p, bpp,
85 c2p_iplan2(void *dst, const void *src, u32 dx, u32 dy, u32 width, u32 height, u32 dst_nextline, u32 src_nextline, u32 bpp) argument
[all...]
H A Dc2p.h15 u32 src_nextline, u32 bpp);
19 u32 bpp);
H A Dc2p_planar.c48 static inline void store_planar(void *dst, u32 dst_inc, u32 bpp, u32 d[8]) argument
52 for (i = 0; i < bpp; i++, dst += dst_inc)
61 static inline void store_planar_masked(void *dst, u32 dst_inc, u32 bpp, argument
66 for (i = 0; i < bpp; i++, dst += dst_inc)
83 * @bpp: Bits per pixel of the planar frame buffer (1-8)
88 u32 src_nextline, u32 bpp)
113 store_planar_masked(p, dst_nextplane, bpp, d.words,
126 store_planar_masked(p, dst_nextplane, bpp,
136 store_planar(p, dst_nextplane, bpp, d.words);
146 store_planar_masked(p, dst_nextplane, bpp,
86 c2p_planar(void *dst, const void *src, u32 dx, u32 dy, u32 width, u32 height, u32 dst_nextline, u32 dst_nextplane, u32 src_nextline, u32 bpp) argument
[all...]
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-common.c238 { .format = V4L2_PIX_FMT_BGR24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
239 { .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
240 { .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 3, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
241 { .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
242 { .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
243 { .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
244 { .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
245 { .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
246 { .format = V4L2_PIX_FMT_RGBX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp = { 4, 0, 0, 0 }, .bpp_div = { 1, 1, 1, 1 }, .hdiv = 1, .vdiv = 1 },
247 { .format = V4L2_PIX_FMT_HSV32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes = 1, .bpp
[all...]
/linux-master/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
[all...]
/linux-master/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
[all...]
H A Dshmob_drm_kms.h23 u8 bpp; member in struct:shmob_drm_format_info
/linux-master/drivers/video/fbdev/core/
H A Dsysimgblt.c58 int i, n, bpp = p->var.bits_per_pixel; local
59 u32 null_bits = 32 - bpp;
82 color <<= FB_LEFT_POS(p, bpp);
90 shift += bpp;
115 u32 shift, color = 0, bpp = p->var.bits_per_pixel; local
118 u32 null_bits = 32 - bpp;
124 fgcolor <<= FB_LEFT_POS(p, bpp);
125 bgcolor <<= FB_LEFT_POS(p, bpp);
153 shift += bpp;
189 u32 fgx = fgcolor, bgx = bgcolor, bpp local
217 fgx <<= bpp; local
218 bgx <<= bpp; local
291 u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; local
[all...]
H A Dfb_draw.h26 pixel_to_pat( u32 bpp, u32 pixel) argument
28 switch (bpp) {
46 WARN(1, "pixel_to_pat(): unsupported pixelformat %d\n", bpp);
52 pixel_to_pat( u32 bpp, u32 pixel) argument
54 switch (bpp) {
72 WARN(1, "pixel_to_pat(): unsupported pixelformat %d\n", bpp);
148 unsigned bpp = info->var.bits_per_pixel; local
150 if ((bpp < 8) && (info->var.nonstd & FB_NONSTD_REV_PIX_IN_B)) {
153 * works only for 1, 2 and 4 bpp
155 bswapmask = 7 - bpp
[all...]
H A Dcfbimgblt.c83 int i, n, bpp = p->var.bits_per_pixel; local
84 u32 null_bits = 32 - bpp;
108 color <<= FB_LEFT_POS(p, bpp);
116 shift += bpp;
143 u32 shift, color = 0, bpp = p->var.bits_per_pixel; local
146 u32 null_bits = 32 - bpp;
153 fgcolor <<= FB_LEFT_POS(p, bpp);
154 bgcolor <<= FB_LEFT_POS(p, bpp);
182 shift += bpp;
219 u32 fgx = fgcolor, bgx = bgcolor, bpp local
247 fgx <<= bpp; local
248 bgx <<= bpp; local
321 u32 bpl = sizeof(u32), bpp = p->var.bits_per_pixel; local
[all...]
/linux-master/drivers/gpu/drm/i915/gvt/
H A Dfb_decoder.c45 int bpp; /* Bits per pixel, 0 indicates invalid */ member in struct:pixel_format
58 /* non-supported format has bpp default to 0 */
78 /* non-supported format has bpp default to 0 */
148 u32 tiled, int stride_mask, int bpp)
167 if (bpp == 8)
169 else if (bpp == 16 || bpp == 32 || bpp == 64)
172 gvt_dbg_core("skl: unsupported bpp:%d\n", bpp);
147 intel_vgpu_get_stride(struct intel_vgpu *vgpu, int pipe, u32 tiled, int stride_mask, int bpp) argument
283 u8 bpp; /* Bits per pixel; 0 indicates invalid */ member in struct:cursor_mode_format
[all...]
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Darb.c45 int bpp; member in struct:nv_sim_state
56 int pagemiss, cas, bpp; local
68 bpp = arb->bpp;
84 crtc_drain_rate = pclk_freq * bpp / 8;
94 p1 = p1 * bpp / 8;
124 drain_rate = pclk_freq * arb->bpp / 8; /* kB/s */
161 + (arb->bpp == 32 ? 8 : 4); /* Margin of error. */
193 nv04_update_arb(struct drm_device *dev, int VClk, int bpp, argument
208 sim_data.bpp
252 nouveau_calc_arb(struct drm_device *dev, int vclk, int bpp, int *burst, int *lwm) argument
[all...]
/linux-master/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
451 unsigned int bpp = format->planes == 1 ? format->bpp / 8 : 1; local
[all...]
/linux-master/arch/powerpc/boot/
H A Dredboot.h44 short bpp; /* Bits/pixel */ member in struct:bd_info::__anon641
/linux-master/drivers/gpu/drm/armada/
H A Darmada_drm.h31 static inline uint32_t armada_pitch(uint32_t width, uint32_t bpp) argument
33 uint32_t pitch = bpp != 4 ? width * ((bpp + 7) / 8) : width / 2;
/linux-master/include/linux/sunrpc/
H A Dcache.h84 char **bpp, int *blen);
249 extern void qword_add(char **bpp, int *lp, char *str);
250 extern void qword_addhex(char **bpp, int *lp, char *buf, int blen);
251 extern int qword_get(char **bpp, char *dest, int bufsize);
253 static inline int get_int(char **bpp, int *anint) argument
258 int len = qword_get(bpp, buf, sizeof(buf));
273 static inline int get_uint(char **bpp, unsigned int *anint) argument
276 int len = qword_get(bpp, buf, sizeof(buf));
289 static inline int get_time(char **bpp, time64_t *time) argument
293 int len = qword_get(bpp, bu
307 get_expiry(char **bpp, time64_t *rvp) argument
[all...]
/linux-master/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,
79 .bpp
[all...]
/linux-master/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_format_caps.c40 u32 bpp; local
44 bpp = 12;
47 bpp = 15;
50 bpp = info->cpp[0] * 8;
54 return bpp;
/linux-master/drivers/gpu/drm/
H A Ddrm_dumb_buffers.c68 if (!args->width || !args->height || !args->bpp)
72 if (args->bpp > U32_MAX - 8)
74 cpp = DIV_ROUND_UP(args->bpp, 8);
/linux-master/arch/powerpc/sysdev/
H A Dfsl_soc.h32 unsigned int bpp);

Completed in 307 milliseconds

1234567891011>>