Home
last modified time | relevance | path

Searched full:format (Results 1 – 25 of 8657) sorted by relevance

12345678910>>...347

/kernel/linux/linux-5.10/include/drm/
Ddrm_fourcc.h33 * case the format can't be specified otherwise, so we don't end up
34 * with two values describing the same format.
54 * struct drm_format_info - information about a DRM format
57 /** @format: 4CC format identifier (DRM_FORMAT_*) */
58 u32 format; member
79 * describing the pixel format.
103 * generic format table. Drivers could supply accurate
131 /** @has_alpha: Does the format embeds an alpha component? */
134 /** @is_yuv: Is it a YUV format? */
139 * struct drm_format_name_buf - name of a DRM format
[all …]
/kernel/linux/linux-6.6/tools/power/cpupower/po/
Dfr.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
Dcs.po76 #, c-format
83 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
120 #, c-format
127 #, c-format
[all …]
Dpt.po71 #, c-format
78 #, c-format
85 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
122 #, c-format
[all …]
Dit.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
Dde.po73 #, c-format
82 #, c-format
91 #, c-format
96 #, c-format
101 #, c-format
106 #, c-format
111 #, c-format
117 #, c-format
123 #, c-format
132 #, c-format
[all …]
Dka.po75 #, c-format
84 #, c-format
93 #, c-format
98 #, c-format
103 #, c-format
109 #, c-format
114 #, c-format
121 #, c-format
128 #, c-format
137 #, c-format
[all …]
/kernel/linux/linux-5.10/tools/power/cpupower/po/
Dfr.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
Dpt.po71 #, c-format
78 #, c-format
85 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
122 #, c-format
[all …]
Dit.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
Dcs.po76 #, c-format
83 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
120 #, c-format
127 #, c-format
[all …]
Dde.po73 #, c-format
82 #, c-format
91 #, c-format
96 #, c-format
101 #, c-format
106 #, c-format
111 #, c-format
117 #, c-format
123 #, c-format
132 #, c-format
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_fourcc.c4 * DRM core format related functions
43 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
104 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
134 * drm_get_format_name - fill a string with a drm fourcc format's name
135 * @format: format to compute name of
138 const char *drm_get_format_name(uint32_t format, struct drm_format_name_buf *buf) in drm_get_format_name() argument
142 printable_char(format & 0xff), in drm_get_format_name()
143 printable_char((format >> 8) & 0xff), in drm_get_format_name()
144 printable_char((format >> 16) & 0xff), in drm_get_format_name()
145 printable_char((format >> 24) & 0x7f), in drm_get_format_name()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/
Dxilinx-vip.c48 * xvip_get_format_by_code - Retrieve format information for a media bus code
49 * @code: the format media bus code
51 * Return: a pointer to the format information structure corresponding to the
52 * given V4L2 media bus format @code, or ERR_PTR if no corresponding format can
60 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local
62 if (format->code == code) in xvip_get_format_by_code()
63 return format; in xvip_get_format_by_code()
71 * xvip_get_format_by_fourcc - Retrieve format information for a 4CC
72 * @fourcc: the format 4CC
74 * Return: a pointer to the format information structure corresponding to the
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
Dxilinx-vip.c46 * xvip_get_format_by_code - Retrieve format information for a media bus code
47 * @code: the format media bus code
49 * Return: a pointer to the format information structure corresponding to the
50 * given V4L2 media bus format @code, or ERR_PTR if no corresponding format can
58 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local
60 if (format->code == code) in xvip_get_format_by_code()
61 return format; in xvip_get_format_by_code()
69 * xvip_get_format_by_fourcc - Retrieve format information for a 4CC
70 * @fourcc: the format 4CC
72 * Return: a pointer to the format information structure corresponding to the
[all …]
/kernel/linux/linux-6.6/include/drm/
Ddrm_fourcc.h29 * DRM_FORMAT_MAX_PLANES - maximum number of planes a DRM format can have
38 * case the format can't be specified otherwise, so we don't end up
39 * with two values describing the same format.
59 * struct drm_format_info - information about a DRM format
62 /** @format: 4CC format identifier (DRM_FORMAT_*) */
63 u32 format; member
84 * describing the pixel format.
108 * generic format table. Drivers could supply accurate
136 /** @has_alpha: Does the format embeds an alpha component? */
139 /** @is_yuv: Is it a YUV format? */
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_fourcc.c4 * DRM core format related functions
38 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
114 * Computes a drm fourcc pixel format code for the given @bpp/@depth values.
144 * Internal function to query information for a given format. See
147 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument
150 { .format = DRM_FORMAT_C1, .depth = 1, .num_planes = 1, in __drm_format_info()
152 { .format = DRM_FORMAT_C2, .depth = 2, .num_planes = 1, in __drm_format_info()
154 { .format = DRM_FORMAT_C4, .depth = 4, .num_planes = 1, in __drm_format_info()
156 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
157 { .format = DRM_FORMAT_D1, .depth = 1, .num_planes = 1, in __drm_format_info()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
Dvsp1_rwpf.c66 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local
78 /* Default to YUV if the requested format is not supported. */ in vsp1_rwpf_set_format()
79 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format()
80 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format()
81 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format()
82 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format()
84 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format()
88 * The RWPF performs format conversion but can't scale, only the in vsp1_rwpf_set_format()
89 * format code can be changed on the source pad. in vsp1_rwpf_set_format()
91 format->code = fmt->format.code; in vsp1_rwpf_set_format()
[all …]
Dvsp1_drm.c69 struct v4l2_subdev_format format = { in vsp1_du_insert_uif() local
87 format.pad = prev_pad; in vsp1_du_insert_uif()
89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif()
93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif()
95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif()
99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", in vsp1_du_insert_uif()
100 __func__, format.format.width, format.format.height, in vsp1_du_insert_uif()
101 format.format.code); in vsp1_du_insert_uif()
104 * The UIF doesn't mangle the format between its sink and source pads, in vsp1_du_insert_uif()
105 * so there is no need to retrieve the format on its source pad. in vsp1_du_insert_uif()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_rwpf.c65 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local
76 /* Default to YUV if the requested format is not supported. */ in vsp1_rwpf_set_format()
77 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format()
78 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format()
79 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format()
80 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format()
82 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format()
86 * The RWPF performs format conversion but can't scale, only the in vsp1_rwpf_set_format()
87 * format code can be changed on the source pad. in vsp1_rwpf_set_format()
89 format->code = fmt->format.code; in vsp1_rwpf_set_format()
[all …]
Dvsp1_drm.c69 struct v4l2_subdev_format format; in vsp1_du_insert_uif() local
85 memset(&format, 0, sizeof(format)); in vsp1_du_insert_uif()
86 format.which = V4L2_SUBDEV_FORMAT_ACTIVE; in vsp1_du_insert_uif()
87 format.pad = prev_pad; in vsp1_du_insert_uif()
89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif()
93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif()
95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif()
99 dev_dbg(vsp1->dev, "%s: set format %ux%u (%x) on UIF sink\n", in vsp1_du_insert_uif()
100 __func__, format.format.width, format.format.height, in vsp1_du_insert_uif()
101 format.format.code); in vsp1_du_insert_uif()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/omap4iss/
Diss_ipipe.c79 * Format- and pipeline-related configuration helpers
85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local
88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure()
101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure()
103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure()
115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure()
189 * ipipe_try_format - Try video format on a pad
193 * @fmt: Format
202 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local
225 format = __ipipe_get_format(ipipe, cfg, IPIPE_PAD_SINK, which); in ipipe_try_format()
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/omap4iss/
Diss_ipipe.c79 * Format- and pipeline-related configuration helpers
85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local
88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure()
101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure()
103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure()
115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure()
190 * ipipe_try_format - Try video format on a pad
194 * @fmt: Format
203 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local
226 format = __ipipe_get_format(ipipe, sd_state, IPIPE_PAD_SINK, in ipipe_try_format()
[all …]
/kernel/linux/linux-6.6/sound/core/
Dpcm_misc.c45 static bool valid_format(snd_pcm_format_t format) in valid_format() argument
47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; in valid_format()
194 /* FIXME: the following format is not defined properly yet */
258 * snd_pcm_format_signed - Check the PCM format is signed linear
259 * @format: the format to check
261 * Return: 1 if the given PCM format is signed linear, 0 if unsigned
264 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument
267 if (!valid_format(format)) in snd_pcm_format_signed()
269 val = pcm_formats[(INT)format].signd; in snd_pcm_format_signed()
277 * snd_pcm_format_unsigned - Check the PCM format is unsigned linear
[all …]
/kernel/linux/linux-5.10/sound/core/
Dpcm_misc.c45 static bool valid_format(snd_pcm_format_t format) in valid_format() argument
47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; in valid_format()
194 /* FIXME: the following format is not defined properly yet */
258 * snd_pcm_format_signed - Check the PCM format is signed linear
259 * @format: the format to check
261 * Return: 1 if the given PCM format is signed linear, 0 if unsigned
264 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument
267 if (!valid_format(format)) in snd_pcm_format_signed()
269 if ((val = pcm_formats[(INT)format].signd) < 0) in snd_pcm_format_signed()
276 * snd_pcm_format_unsigned - Check the PCM format is unsigned linear
[all …]

12345678910>>...347