Searched refs:format (Results 426 - 450 of 1987) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_plane.c442 int num_planes = fb->format->num_planes;
444 u32 h_subsample = fb->format->hsub;
445 u32 v_subsample = fb->format->vsub;
660 for (i = 0; i < fb->format->num_planes; i++) {
676 fb->format->cpp[i];
700 * storage due to our scaling/format conversion.
771 if (!state->fb->format->has_alpha)
792 if (!state->fb->format->has_alpha)
821 const struct hvs_format *format = vc4_get_hvs_format(fb->format local
1542 vc4_format_mod_supported(struct drm_plane *plane, uint32_t format, uint64_t modifier) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/modules/info_packet/
H A Dinfo_packet.c274 * format to the DP Sink device with VSC SDP only when the DP Sink device supports it
295 /* Set VSC SDP fields for pixel encoding and colorimetry format from DP 1.3 specs
361 /* Set Colorimetry format based on pixel encoding */
458 enum dc_timing_3d_format format; local
461 format = stream->timing.timing_3d_format;
463 format = TIMING_3D_FORMAT_NONE;
468 && format == TIMING_3D_FORMAT_NONE)
471 if ((format == TIMING_3D_FORMAT_NONE) && !hdmi_vic_mode)
478 if (format != TIMING_3D_FORMAT_NONE)
484 switch (format) {
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.c88 enum surface_pixel_format format)
90 if (format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB16161616)
92 else if (format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB8888)
94 else if (format >= SURFACE_PIXEL_FORMAT_GRPH_ARGB1555)
135 enum surface_pixel_format format,
140 enum mi_bits_per_pixel mi_bpp = get_mi_bpp(format);
558 enum surface_pixel_format format)
564 if (format == SURFACE_PIXEL_FORMAT_GRPH_ABGR8888 ||
567 format == SURFACE_PIXEL_FORMAT_GRPH_ABGR2101010 ||
568 format
87 get_mi_bpp( enum surface_pixel_format format) argument
133 dce_mi_program_pte_vm( struct mem_input *mi, enum surface_pixel_format format, union dc_tiling_info *tiling_info, enum dc_rotation_angle rotation) argument
556 program_grph_pixel_format( struct dce_mem_input *dce_mi, enum surface_pixel_format format) argument
630 dce_mi_program_surface_config( struct mem_input *mi, enum surface_pixel_format format, union dc_tiling_info *tiling_info, struct plane_size *plane_size, enum dc_rotation_angle rotation, struct dc_plane_dcc_param *dcc, bool horizontal_mirror) argument
651 dce60_mi_program_surface_config( struct mem_input *mi, enum surface_pixel_format format, union dc_tiling_info *tiling_info, struct plane_size *plane_size, enum dc_rotation_angle rotation, struct dc_plane_dcc_param *dcc, bool horizontal_mirror) argument
[all...]
/linux-master/drivers/staging/media/atomisp/pci/camera/pipe/src/
H A Dpipe_binarydesc.c68 descr->stream_format = pipe->stream->config.input_config.format;
224 if (ia_css_util_is_input_format_yuv(pipe->stream->config.input_config.format))
227 in_info->format = IA_CSS_FRAME_FORMAT_RAW;
240 preview_descr->stream_format = pipe->stream->config.input_config.format;
341 if (ia_css_util_is_input_format_yuv(pipe->stream->config.input_config.format))
346 in_info->format = IA_CSS_FRAME_FORMAT_RAW;
502 in_info->format = IA_CSS_FRAME_FORMAT_YUV420;
559 if (ia_css_util_is_input_format_yuv(pipe->stream->config.input_config.format))
566 in_info->format = IA_CSS_FRAME_FORMAT_RAW_PACKED;
568 in_info->format
[all...]
/linux-master/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-csi2.c239 const struct rzg2l_csi2_format *format; local
255 format = rzg2l_csi2_code_to_fmt(fmt->code);
262 mbps = v4l2_ctrl_g_ctrl_int64(ctrl) * format->bpp;
513 fmt->format = *src_format;
519 if (!rzg2l_csi2_code_to_fmt(fmt->format.code))
522 sink_format->code = fmt->format.code;
525 sink_format->colorspace = fmt->format.colorspace;
526 sink_format->xfer_func = fmt->format.xfer_func;
527 sink_format->ycbcr_enc = fmt->format.ycbcr_enc;
528 sink_format->quantization = fmt->format
[all...]
/linux-master/drivers/staging/vc04_services/vchiq-mmal/
H A Dmmal-vchiq.c731 port->format.type,
732 port->format.encoding, port->format.encoding_variant);
735 port->format.bitrate, port->format.flags);
737 if (port->format.type == MMAL_ES_TYPE_VIDEO) {
739 ("es video format: width:%d height:%d colourspace:0x%x\n",
794 /* elementary stream format setup */
795 m.u.port_info_set.format.type = port->format
[all...]
/linux-master/sound/soc/fsl/
H A Dfsl_qmc_audio.c316 * The constraints for format/channel is to match with the number of 8bit
324 snd_pcm_format_t format = params_format(params); local
327 switch (snd_pcm_format_physical_width(format)) {
341 dev_err(qmc_dai->dev, "format physical width %u not supported\n",
342 snd_pcm_format_physical_width(format));
375 snd_pcm_format_t format; local
387 pcm_for_each_format(format) {
388 if (snd_mask_test_format(f_old, format)) {
389 if (snd_pcm_format_physical_width(format) <= slot_width)
390 snd_mask_set_format(&f_new, format);
556 snd_pcm_format_t format; local
[all...]
/linux-master/scripts/
H A Dbpf_doc.py401 print('{}{}'.format('\t\t' if line else '', line))
406 print('{}{}'.format('\t\t' if line else '', line))
422 return 'Linux {version}'.format(version=version)
426 cmd = ['git', 'log', '-1', '--pretty=format:%cs', '--no-patch',
428 '/{}/,/\\*\\//:include/uapi/linux/bpf.h'.format(delimiter)]
494 print(header.format(version=kernelVersion,
513 instructions to the kernel when the programs are loaded. The format for that
598 one_arg = '{}{}'.format(comma, a['type'])
601 one_arg += ' {}**\\ '.format(a['star'].replace('*', '\\*'))
604 one_arg += '*{}*\\ **'.format(
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_encoder_phys_wb.c201 hw_wb->ops.setup_cdp(hw_wb, wb_cfg->dest.format,
324 const struct msm_format *format; local
328 format = msm_framebuffer_format(wb_enc->wb_job->fb);
329 dpu_fmt = mdp_get_format(&phys_enc->dpu_kms->base, format->pixel_format, wb_job->fb->modifier);
554 const struct msm_format *format; local
577 format = msm_framebuffer_format(job->fb);
579 wb_cfg->dest.format = mdp_get_format(&phys_enc->dpu_kms->base,
580 format->pixel_format, job->fb->modifier);
581 if (!wb_cfg->dest.format) {
583 DPU_ERROR("failed to get format
[all...]
/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_tlb_flush.c25 u64 format; member in struct:hv_vpset
272 flush_ex->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K;
287 flush_ex->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K;
305 flush_ex->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K;
323 flush_ex->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K;
344 flush_ex->hv_vp_set.format = HV_GENERIC_SET_ALL;
357 flush_ex->hv_vp_set.format = HV_GENERIC_SET_ALL;
431 flush_ex->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K;
447 flush_ex->hv_vp_set.format = HV_GENERIC_SET_SPARSE_4K;
466 flush_ex->hv_vp_set.format
[all...]
/linux-master/drivers/media/i2c/
H A Dadv7175.c303 struct v4l2_subdev_format *format)
305 struct v4l2_mbus_framefmt *mf = &format->format;
308 if (format->pad)
326 struct v4l2_subdev_format *format)
328 struct v4l2_mbus_framefmt *mf = &format->format;
332 if (format->pad)
350 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE)
301 adv7175_get_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
324 adv7175_set_fmt(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
/linux-master/drivers/staging/media/imx/
H A Dimx-media-csi.c32 * TODO: move this into pad format negotiation, if capture device
146 * media bus format is other than UYVY8_2X8/YUYV8_2X8.
1375 sdformat->format = *fmt;
1393 if (sdformat->format.field == V4L2_FIELD_ANY)
1394 sdformat->format.field = V4L2_FIELD_NONE;
1406 if (!V4L2_FIELD_IS_SEQUENTIAL(sdformat->format.field))
1407 sdformat->format.field = infmt->field;
1419 if (!V4L2_FIELD_IS_SEQUENTIAL(sdformat->format.field))
1420 sdformat->format.field = (infmt->height == 480 / 2) ?
1425 sdformat->format
1558 struct v4l2_subdev_format format; local
[all...]
/linux-master/drivers/media/platform/
H A Dvideo-mux.c90 /* Propagate the active format to the source */
166 v4l_bound_align_image(&sdformat->format.width, 1, 65536, 0,
167 &sdformat->format.height, 1, 65536, 0, 0);
170 switch (sdformat->format.code) {
261 sdformat->format.code = MEDIA_BUS_FMT_Y8_1X8;
264 if (sdformat->format.field == V4L2_FIELD_ANY)
265 sdformat->format.field = V4L2_FIELD_NONE;
271 sdformat->format = *v4l2_subdev_state_get_format(sd_state,
274 *mbusformat = sdformat->format;
276 /* Propagate the format fro
[all...]
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c42 uint32_t format; local
46 format = VIRTIO_GPU_FORMAT_B8G8R8X8_UNORM;
49 format = VIRTIO_GPU_FORMAT_B8G8R8A8_UNORM;
52 format = VIRTIO_GPU_FORMAT_X8R8G8B8_UNORM;
55 format = VIRTIO_GPU_FORMAT_A8R8G8B8_UNORM;
62 format = 0;
65 WARN_ON(format == 0);
66 return format;
122 uint32_t off = x * state->fb->format->cpp[0] +
/linux-master/tools/testing/selftests/alsa/
H A Dtest-pcmtest-driver.c30 snd_pcm_format_t format; member in struct:pcmtest_test_params
78 static size_t get_sec_buf_len(unsigned int rate, unsigned long channels, snd_pcm_format_t format) argument
80 return rate * channels * snd_pcm_format_physical_width(format) / 8;
97 snd_pcm_hw_params_set_format(*handle, hwparams, params->format);
143 self->params.format = SND_PCM_FORMAT_S16_LE;
145 self->params.sample_size = snd_pcm_format_physical_width(self->params.format) / 8;
148 self->params.format);
183 snd_pcm_format_set_silence(params->format, samples,
222 snd_pcm_format_set_silence(params->format, samples,
/linux-master/drivers/staging/media/max96712/
H A Dmax96712.c247 struct v4l2_subdev_format *format)
249 format->format.width = 1920;
250 format->format.height = 1080;
251 format->format.code = MEDIA_BUS_FMT_RGB888_1X24;
252 format->format.field = V4L2_FIELD_NONE;
245 max96712_get_pad_format(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_format *format) argument
/linux-master/sound/soc/codecs/
H A Dak4671.c518 u8 format; local
534 /* interface format */
535 format = snd_soc_component_read(component, AK4671_FORMAT_SELECT);
536 format &= ~AK4671_DIF;
540 format |= AK4671_DIF_I2S_MODE;
543 format |= AK4671_DIF_MSB_MODE;
546 format |= AK4671_DIF_DSP_MODE;
547 format |= AK4671_BCKP;
548 format |= AK4671_MSBS;
554 /* set mode and format */
[all...]
H A Dpcm1789.c28 unsigned int format; member in struct:pcm1789_private
53 unsigned int format)
58 priv->format = format;
83 switch (priv->format & SND_SOC_DAIFMT_FORMAT_MASK) {
119 dev_err(component->dev, "Invalid DAI format\n");
52 pcm1789_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int format) argument
/linux-master/sound/core/oss/
H A Dlinear.c34 unsigned int src_ofs; /* byte offset in source format */
35 unsigned int dst_ofs; /* byte soffset in destination format */
37 unsigned int dst_bytes; /* byte size of destination format */
70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
166 if (snd_BUG_ON(!snd_pcm_format_linear(src_format->format) ||
167 !snd_pcm_format_linear(dst_format->format)))
170 err = snd_pcm_plugin_build(plug, "linear format conversion",
176 init_data(data, src_format->format, dst_format->format);
/linux-master/sound/pci/lola/
H A Dlola_clock.c160 int format = LOLA_CLOCK_FORMAT_NONE; local
175 /* video clock has a format (0:NTSC, 1:PAL)*/
177 format = LOLA_CLOCK_FORMAT_NTSC;
179 format = LOLA_CLOCK_FORMAT_PAL;
185 sc->format = format;
/linux-master/drivers/gpu/drm/sti/
H A Dsti_gdp.c44 int format; member in struct:gdp_format_to_str
157 if (gdp_format_to_str[i].format == (val & 0x1F)) {
377 static int sti_gdp_get_alpharange(int format) argument
379 switch (format) {
633 int format; local
646 /* src_x are in 16.16 format */
654 format = sti_gdp_fourcc2format(fb->format->format);
655 if (format
723 int format; local
[all...]
/linux-master/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_pcm.c100 chip->pcm_little = snd_pcm_format_little_endian(runtime->format) > 0;
102 chip->pcm_swab = snd_pcm_format_big_endian(runtime->format) > 0;
107 if (snd_pcm_format_unsigned(runtime->format))
115 switch (runtime->format) {
125 switch (runtime->format) {
/linux-master/drivers/gpu/drm/aspeed/
H A Daspeed_gfx_crtc.c30 const u32 format = crtc->primary->state->fb->format->format; local
36 switch (format) {
48 dev_err(drm->dev, "Unhandled pixel format %08x\n", format);
/linux-master/sound/soc/mediatek/mt8188/
H A Dmt8188-dai-pcm.c41 unsigned int format; member in struct:mtk_dai_pcmif_priv
144 fmt = pcmif_priv->format;
176 /* pcm format */
252 pcmif_priv->format = MTK_DAI_PCM_FMT_I2S;
255 pcmif_priv->format = MTK_DAI_PCM_FMT_MODEA;
258 pcmif_priv->format = MTK_DAI_PCM_FMT_MODEB;
/linux-master/sound/soc/mediatek/mt8195/
H A Dmt8195-dai-pcm.c39 unsigned int format; member in struct:mtk_dai_pcmif_priv
143 fmt = pcmif_priv->format;
171 /* pcm format */
253 pcmif_priv->format = MTK_DAI_PCM_FMT_I2S;
256 pcmif_priv->format = MTK_DAI_PCM_FMT_MODEA;
259 pcmif_priv->format = MTK_DAI_PCM_FMT_MODEB;

Completed in 254 milliseconds

<<11121314151617181920>>