Home
last modified time | relevance | path

Searched refs:nformats (Results 1 – 25 of 45) sorted by relevance

12

/OK3568_Linux_fs/external/xserver/render/
H A Dpicture.c95 for (n = 0; n < ps->nformats; n++) in PictureCloseScreen()
118 int nformats = ps->nformats; in PictureStoreColors() local
120 while (nformats--) { in PictureStoreColors()
169 int nformats = 0, f; in PictureCreateDefaultFormats() local
182 nformats = 0; in PictureCreateDefaultFormats()
184 formats[nformats].format = PICT_a1; in PictureCreateDefaultFormats()
185 formats[nformats].depth = 1; in PictureCreateDefaultFormats()
186 nformats++; in PictureCreateDefaultFormats()
187 formats[nformats].format = PICT_FORMAT(BitsPerPixel(8), in PictureCreateDefaultFormats()
189 formats[nformats].depth = 8; in PictureCreateDefaultFormats()
[all …]
H A Dmipict.h72 miPictureInit(ScreenPtr pScreen, PictFormatPtr formats, int nformats);
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/camss/
H A Dcamss-video.c220 unsigned int nformats) in video_find_format() argument
224 for (i = 0; i < nformats; i++) { in video_find_format()
230 for (i = 0; i < nformats; i++) in video_find_format()
312 video->formats, video->nformats); in video_get_subdev_format()
550 for (i = 0; i < video->nformats; i++) { in video_get_unique_pixelformat_by_index()
577 for (i = 0; i < video->nformats; i++) { in video_get_pixelformat_by_mbus_code()
593 if (f->index >= video->nformats) in video_enum_fmt()
624 for (i = 0; i < video->nformats; i++) { in video_enum_framesizes()
629 if (i == video->nformats) in video_enum_framesizes()
676 for (j = 0; j < video->nformats; j++) in __video_try_fmt()
[all …]
H A Dcamss-csiphy.c85 unsigned int nformats, u32 code) in csiphy_get_bpp() argument
89 for (i = 0; i < nformats; i++) in csiphy_get_bpp()
120 csiphy->nformats, in csiphy_set_clock_rates()
245 u8 bpp = csiphy_get_bpp(csiphy->formats, csiphy->nformats, in csiphy_stream_on()
351 for (i = 0; i < csiphy->nformats; i++) in csiphy_try_format()
356 if (i >= csiphy->nformats) in csiphy_try_format()
392 if (code->index >= csiphy->nformats) in csiphy_enum_mbus_code()
556 csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x16); in msm_csiphy_subdev_init()
560 csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x96); in msm_csiphy_subdev_init()
H A Dcamss-csid.c481 csid->nformats, in csid_set_clock_rates()
651 csid->formats, csid->nformats, f->code); in csid_set_stream()
686 csid->formats, csid->nformats, f->code); in csid_set_stream()
795 for (i = 0; i < csid->nformats; i++) in csid_try_format()
800 if (i >= csid->nformats) in csid_try_format()
824 for (i = 0; i < csid->nformats; i++) in csid_try_format()
829 if (i >= csid->nformats) in csid_try_format()
857 if (code->index >= csid->nformats) in csid_enum_mbus_code()
874 if (code->index >= csid->nformats) in csid_enum_mbus_code()
1099 csid->nformats = in msm_csid_subdev_init()
[all …]
H A Dcamss-vfe.c122 unsigned int nformats, u32 code) in vfe_get_bpp() argument
126 for (i = 0; i < nformats; i++) in vfe_get_bpp()
1143 l->nformats, in vfe_set_clock_rates()
1225 l->nformats, in vfe_check_clock_rates()
1540 for (i = 0; i < line->nformats; i++) in vfe_try_format()
1545 if (i >= line->nformats) in vfe_try_format()
1676 if (code->index >= line->nformats) in vfe_enum_mbus_code()
2093 l->nformats = ARRAY_SIZE(formats_pix_8x16); in msm_vfe_subdev_init()
2096 l->nformats = ARRAY_SIZE(formats_rdi_8x16); in msm_vfe_subdev_init()
2101 l->nformats = ARRAY_SIZE(formats_pix_8x96); in msm_vfe_subdev_init()
[all …]
H A Dcamss-video.h52 unsigned int nformats; member
H A Dcamss-ispif.h47 unsigned int nformats; member
H A Dcamss-csid.h62 unsigned int nformats; member
H A Dcamss-csiphy.h75 unsigned int nformats; member
H A Dcamss-ispif.c877 for (i = 0; i < line->nformats; i++) in ispif_try_format()
882 if (i >= line->nformats) in ispif_try_format()
920 if (code->index >= line->nformats) in ispif_enum_mbus_code()
1093 ispif->line[i].nformats = in msm_ispif_subdev_init()
1097 ispif->line[i].nformats = in msm_ispif_subdev_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/vkms/
H A Dvkms_plane.c187 int ret, nformats; in vkms_plane_init() local
195 nformats = ARRAY_SIZE(vkms_cursor_formats); in vkms_plane_init()
199 nformats = ARRAY_SIZE(vkms_formats); in vkms_plane_init()
205 formats, nformats, in vkms_plane_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/
H A Domap_plane.c260 u32 nformats; in omap_plane_init() local
275 for (nformats = 0; formats[nformats]; ++nformats) in omap_plane_init()
284 nformats, NULL, type, NULL); in omap_plane_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/pl111/
H A Dpl111_versatile.c316 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats),
330 .nformats = ARRAY_SIZE(pl110_integrator_pixel_formats),
343 .nformats = ARRAY_SIZE(pl110_versatile_pixel_formats),
355 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats),
367 .nformats = ARRAY_SIZE(pl111_realview_pixel_formats),
H A Dpl111_drv.c358 .nformats = ARRAY_SIZE(pl110_pixel_formats),
383 .nformats = ARRAY_SIZE(pl111_pixel_formats),
409 .nformats = ARRAY_SIZE(pl110_nomadik_pixel_formats),
H A Dpl111_drm.h128 unsigned int nformats; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_vop2_reg.c768 .nformats = ARRAY_SIZE(formats_wb),
2376 .nformats = ARRAY_SIZE(formats_for_esmart),
2405 .nformats = ARRAY_SIZE(formats_for_esmart),
2435 .nformats = ARRAY_SIZE(formats_for_esmart),
2463 .nformats = ARRAY_SIZE(formats_for_esmart),
2493 .nformats = ARRAY_SIZE(formats_for_vop3_cluster),
2521 .nformats = ARRAY_SIZE(formats_for_cluster),
2560 .nformats = ARRAY_SIZE(formats_for_esmart),
2586 .nformats = ARRAY_SIZE(formats_for_esmart),
2613 .nformats = ARRAY_SIZE(formats_for_esmart),
[all …]
H A Drockchip_drm_vvop.c75 int ret, nformats; in vvop_plane_init() local
82 nformats = ARRAY_SIZE(vvop_formats); in vvop_plane_init()
86 formats, nformats, in vvop_plane_init()
H A Drockchip_vop_reg.c185 .nformats = ARRAY_SIZE(formats_win_full_10bit),
208 .nformats = ARRAY_SIZE(formats_win_lite),
459 .nformats = ARRAY_SIZE(formats_win_lite),
669 .nformats = ARRAY_SIZE(formats_win_full_10bit_yuyv),
1195 .nformats = ARRAY_SIZE(formats_win_full),
1214 .nformats = ARRAY_SIZE(formats_win_lite),
1309 .nformats = ARRAY_SIZE(formats_win_full),
1327 .nformats = ARRAY_SIZE(formats_win_full),
1344 .nformats = ARRAY_SIZE(formats_win_lite),
1432 .nformats = ARRAY_SIZE(formats_win_full),
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c371 int ret, nformats; in virtio_gpu_plane_init() local
379 nformats = ARRAY_SIZE(virtio_gpu_cursor_formats); in virtio_gpu_plane_init()
383 nformats = ARRAY_SIZE(virtio_gpu_formats); in virtio_gpu_plane_init()
388 formats, nformats, in virtio_gpu_plane_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_plane.c22 uint32_t nformats; member
377 mdp4_plane->nformats = mdp_get_formats(mdp4_plane->formats, in mdp4_plane_init()
383 mdp4_plane->formats, mdp4_plane->nformats, in mdp4_plane_init()
/OK3568_Linux_fs/kernel/drivers/media/usb/uvc/
H A Duvc_v4l2.c175 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
181 if (i == stream->nformats) { in uvc_v4l2_try_format()
255 for (i = 0; i < stream->nformats; ++i) { in uvc_v4l2_try_format()
262 if (i == stream->nformats) in uvc_v4l2_try_format()
640 if (fmt->type != stream->type || fmt->index >= stream->nformats) in uvc_ioctl_enum_fmt()
1226 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_framesizes()
1267 for (i = 0; i < stream->nformats; i++) { in uvc_ioctl_enum_frameintervals()
/OK3568_Linux_fs/kernel/drivers/staging/media/tegra-video/
H A Dvi.h66 const unsigned int nformats; member
/OK3568_Linux_fs/external/xserver/hw/dmx/
H A Ddmxpict.h60 PictFormatPtr formats, int nformats);
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dformats.c1251 static unsigned nformats = NSTATIC_FORMATS; variable
1274 if (nformats == MAX_FORMATS) { in init_format()
1278 s_sox_format_fns[nformats++].fn = ltptr.fn; in init_format()
1312 nformats = NSTATIC_FORMATS; in sox_format_quit()
1336 for (f = 0; f < nformats; ++f) { in sox_find_format()

12