Home
last modified time | relevance | path

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

12345678910>>...153

/Linux-v6.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 …]
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 …]
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 …]
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 …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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 …]
/Linux-v6.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 …]
Diss_ipipeif.c100 * Format- and pipeline-related configuration helpers
125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local
131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure()
137 /* Select ISIF/IPIPEIF input format */ in ipipeif_configure()
138 switch (format->code) { in ipipeif_configure()
182 info = omap4iss_video_format_info(format->code); in ipipeif_configure()
195 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure()
197 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure()
201 format->height - 1); in ipipeif_configure()
204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure()
[all …]
/Linux-v6.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 …]
/Linux-v6.6/Documentation/userspace-api/media/v4l/
Dpixfmt-reserved.rst6 Reserved Format Identifiers
11 register your own format, send an e-mail to the linux-media mailing list
14 format with other developers add a link to your documentation and send a
16 you think your format should be listed in a standard format section
45 - Compressed format of the ET61X251 driver.
50 - 8 bit RGB format used by the BTTV driver.
55 - YUV format used by the gspca cpia1 driver.
60 - JPEG-Light format (Pegasus Lossless JPEG) used in Divio webcams NW
81 - Compressed GBRG Bayer format used by the gspca driver.
86 - Compressed BGGR Bayer format used by the gspca driver.
[all …]
Dvidioc-subdev-g-fmt.rst13 VIDIOC_SUBDEV_G_FMT - VIDIOC_SUBDEV_S_FMT - Get or set the data format on a subdev pad
38 These ioctls are used to negotiate the frame format at specific subdev
41 To retrieve the current format applications set the ``pad`` field of a
46 driver fills the members of the ``format`` field.
48 To change the current format applications set both the ``pad`` and
49 ``which`` fields and all members of the ``format`` field. When they call
51 driver verifies the requested format, adjusts it based on the hardware
54 format as would be returned by a ``VIDIOC_SUBDEV_G_FMT`` call.
62 For instance, to try a format at the output pad of a sub-device,
63 applications would first set the try format at the sub-device input with
[all …]
/Linux-v6.6/drivers/gpu/drm/imx/dcss/
Ddcss-plane.c71 u32 format, in dcss_plane_format_mod_supported() argument
76 switch (format) { in dcss_plane_format_mod_supported()
104 static bool dcss_plane_can_rotate(const struct drm_format_info *format, in dcss_plane_can_rotate() argument
111 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate()
114 else if (!format->is_yuv && in dcss_plane_can_rotate()
119 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate()
120 (format->format == DRM_FORMAT_NV12 || in dcss_plane_can_rotate()
121 format->format == DRM_FORMAT_NV21)) in dcss_plane_can_rotate()
170 fb->format->format)) { in dcss_plane_atomic_check()
187 if (!dcss_plane_can_rotate(fb->format, in dcss_plane_atomic_check()
[all …]
/Linux-v6.6/drivers/gpu/drm/renesas/shmobile/
Dshmob_drm_plane.c26 const struct shmob_drm_format_info *format; member
46 bpp = splane->format->yuv ? 8 : splane->format->bpp; in shmob_drm_plane_compute_base()
51 if (splane->format->yuv) { in shmob_drm_plane_compute_base()
52 bpp = splane->format->bpp - 8; in shmob_drm_plane_compute_base()
64 u32 format; in __shmob_drm_plane_setup() local
67 format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT); in __shmob_drm_plane_setup()
69 switch (splane->format->fourcc) { in __shmob_drm_plane_setup()
74 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; in __shmob_drm_plane_setup()
80 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; in __shmob_drm_plane_setup()
85 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup()
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_formats.h13 * dpu_get_dpu_format_ext() - Returns dpu format structure pointer.
14 * @format: DRM FourCC Code
15 * @modifiers: format modifier array from client, one per plane
18 const uint32_t format,
24 * dpu_find_format - validate if the pixel format is supported
25 * @format: dpu format
29 * Return: false if not valid format, true on success
31 static inline bool dpu_find_format(u32 format, const u32 *supported_formats, in dpu_find_format() argument
38 if (format == supported_formats[i]) in dpu_find_format()
49 * @format: DRM FourCC Code
[all …]
/Linux-v6.6/scripts/gdb/linux/
Dtimerlist.py38 text = " #{}: <{}>, {}, ".format(idx, timer, function)
39 text += "S:{:02x}\n".format(int(timer['state']))
40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format(
55 text = " .base: {}\n".format(base.address)
56 text += " .index: {}\n".format(base['index'])
58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
60 text += " .get_time: {}\n".format(base['get_time'])
62 text += " .offset: {} nsecs\n".format(base['offset'])
74 text = "cpu: {}\n".format(cpu)
76 text += " clock {}:\n".format(i)
[all …]
/Linux-v6.6/drivers/media/test-drivers/vimc/
Dvimc-capture.c19 struct v4l2_pix_format format; member
72 *fmt = vcapture->format; in vimc_capture_get_format()
80 f->fmt.pix = vcapture->format; in vimc_capture_g_fmt_vid_cap()
88 struct v4l2_pix_format *format = &f->fmt.pix; in vimc_capture_try_fmt_vid_cap() local
91 format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, in vimc_capture_try_fmt_vid_cap()
93 format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT, in vimc_capture_try_fmt_vid_cap()
97 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
99 format->pixelformat = fmt_default.pixelformat; in vimc_capture_try_fmt_vid_cap()
100 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap()
103 format->bytesperline = format->width * vpix->bpp; in vimc_capture_try_fmt_vid_cap()
[all …]
Dvimc-scaler.c30 /* Frame format for both sink and src pad */
103 /* We don't support bayer format */ in vimc_scaler_enum_mbus_code()
121 /* Only accept code in the pix map table in non bayer format */ in vimc_scaler_enum_frame_size()
160 struct v4l2_subdev_format *format) in vimc_scaler_get_fmt() argument
164 format->format = *vimc_scaler_pad_format(vscaler, sd_state, format->pad, in vimc_scaler_get_fmt()
165 format->which); in vimc_scaler_get_fmt()
171 struct v4l2_subdev_format *format) in vimc_scaler_set_fmt() argument
176 /* Do not change the active format while stream is on */ in vimc_scaler_set_fmt()
177 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE && vscaler->src_frame) in vimc_scaler_set_fmt()
180 fmt = vimc_scaler_pad_format(vscaler, sd_state, format->pad, format->which); in vimc_scaler_set_fmt()
[all …]
/Linux-v6.6/drivers/gpu/drm/tegra/
Dplane.c64 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
108 uint32_t format, in tegra_plane_format_mod_supported() argument
111 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported()
145 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin()
193 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin()
246 fmt = state->fb->format; in tegra_plane_calculate_memory_bandwidth()
250 * Note that real memory bandwidth vary depending on format and in tegra_plane_calculate_memory_bandwidth()
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
334 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format()
338 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format()
[all …]
/Linux-v6.6/drivers/acpi/acpica/
Dutxferror.c27 * format - Printf format string + additional args
35 acpi_error(const char *module_name, u32 line_number, const char *format, ...) in acpi_error() argument
42 va_start(arg_list, format); in acpi_error()
43 acpi_os_vprintf(format, arg_list); in acpi_error()
59 * format - Printf format string + additional args in ACPI_EXPORT_SYMBOL()
69 u32 line_number, acpi_status status, const char *format, ...) in ACPI_EXPORT_SYMBOL()
85 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL()
86 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL()
101 * format - Printf format string + additional args in ACPI_EXPORT_SYMBOL()
109 acpi_warning(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL()
[all …]
/Linux-v6.6/sound/core/oss/
Dpcm_plugin.c51 struct snd_pcm_plugin_format *format; in snd_pcm_plugin_alloc() local
58 format = &plugin->src_format; in snd_pcm_plugin_alloc()
60 format = &plugin->dst_format; in snd_pcm_plugin_alloc()
62 width = snd_pcm_format_physical_width(format->format); in snd_pcm_plugin_alloc()
65 size = array3_size(frames, format->channels, width); in snd_pcm_plugin_alloc()
83 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
89 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
92 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
94 size /= format->channels; in snd_pcm_plugin_alloc()
95 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
[all …]

12345678910>>...153