Home
last modified time | relevance | path

Searched refs:bit_depth (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-vid-common.c38 .bit_depth = { 16 },
47 .bit_depth = { 16 },
55 .bit_depth = { 16 },
63 .bit_depth = { 16 },
71 .bit_depth = { 8, 4, 4 },
79 .bit_depth = { 8, 4, 4 },
87 .bit_depth = { 8, 4, 4 },
95 .bit_depth = { 8, 8 },
103 .bit_depth = { 8, 8 },
111 .bit_depth = { 8, 8 },
[all …]
Dvivid-vid-out.c278 (dev->sink_rect.width * dev->fmt_out->bit_depth[p]) / 8; in vivid_update_format_out()
406 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_out()
408 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_out()
422 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_out()
423 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_out()
557 (dev->bytesperline_out[0] * dev->fmt_out->bit_depth[p]) / in vivid_s_fmt_vid_out()
558 dev->fmt_out->bit_depth[0]; in vivid_s_fmt_vid_out()
Dvivid-vid-cap.c28 .bit_depth = { 16 },
35 .bit_depth = { 16 },
42 .bit_depth = { 16 },
636 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
638 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
652 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_cap()
653 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_cap()
1294 if (a->fmt.bytesperline < (a->fmt.width * fmt->bit_depth[0]) / 8) in vivid_vid_cap_s_fbuf()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_opp.c52 enum test_pattern_color_format bit_depth; in opp2_set_disp_pattern_generator() local
75 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in opp2_set_disp_pattern_generator()
78 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in opp2_set_disp_pattern_generator()
81 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in opp2_set_disp_pattern_generator()
84 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in opp2_set_disp_pattern_generator()
87 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in opp2_set_disp_pattern_generator()
127 DPG_BIT_DEPTH, bit_depth, in opp2_set_disp_pattern_generator()
141 switch (bit_depth) { in opp2_set_disp_pattern_generator()
186 DPG_BIT_DEPTH, bit_depth, in opp2_set_disp_pattern_generator()
194 mode = (bit_depth == in opp2_set_disp_pattern_generator()
[all …]
/linux-6.1.9/sound/soc/xilinx/
Dxlnx_formatter_pcm.c70 enum bit_depth { enum
134 u32 padded, srate, bit_depth, status[2]; in xlnx_parse_aes_params() local
165 bit_depth = XLNX_PARAM_UNKNOWN; in xlnx_parse_aes_params()
171 bit_depth = 16 + padded; in xlnx_parse_aes_params()
174 bit_depth = 18 + padded; in xlnx_parse_aes_params()
177 bit_depth = 19 + padded; in xlnx_parse_aes_params()
180 bit_depth = 20 + padded; in xlnx_parse_aes_params()
184 bit_depth = XLNX_PARAM_UNKNOWN; in xlnx_parse_aes_params()
214 bit_depth = 16 + padded; in xlnx_parse_aes_params()
217 bit_depth = 18 + padded; in xlnx_parse_aes_params()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c804 enum test_pattern_color_format bit_depth; in dce120_timing_generator_set_test_pattern() local
826 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in dce120_timing_generator_set_test_pattern()
829 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce120_timing_generator_set_test_pattern()
832 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in dce120_timing_generator_set_test_pattern()
835 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in dce120_timing_generator_set_test_pattern()
838 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce120_timing_generator_set_test_pattern()
860 CRTC_TEST_PATTERN_COLOR_FORMAT, bit_depth); in dce120_timing_generator_set_test_pattern()
872 switch (bit_depth) { in dce120_timing_generator_set_test_pattern()
962 CRTC_TEST_PATTERN_COLOR_FORMAT, bit_depth); in dce120_timing_generator_set_test_pattern()
968 mode = (bit_depth == in dce120_timing_generator_set_test_pattern()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c965 enum test_pattern_color_format bit_depth; in optc1_set_test_pattern() local
989 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in optc1_set_test_pattern()
992 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern()
995 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in optc1_set_test_pattern()
998 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in optc1_set_test_pattern()
1001 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern()
1023 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern()
1035 switch (bit_depth) { in optc1_set_test_pattern()
1123 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern()
1129 mode = (bit_depth == in optc1_set_test_pattern()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator.c715 enum test_pattern_color_format bit_depth; in dce110_timing_generator_set_test_pattern() local
737 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in dce110_timing_generator_set_test_pattern()
740 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce110_timing_generator_set_test_pattern()
743 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in dce110_timing_generator_set_test_pattern()
746 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in dce110_timing_generator_set_test_pattern()
749 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce110_timing_generator_set_test_pattern()
800 bit_depth, in dce110_timing_generator_set_test_pattern()
815 switch (bit_depth) { in dce110_timing_generator_set_test_pattern()
927 bit_depth, in dce110_timing_generator_set_test_pattern()
937 mode = (bit_depth == in dce110_timing_generator_set_test_pattern()
[all …]
/linux-6.1.9/drivers/staging/media/rkvdec/
Drkvdec-vp9.c406 aligned_pitch = round_up(buf->vp9.width * buf->vp9.bit_depth, 512) / 8; in get_mv_base_addr()
432 aligned_pitch = round_up(ref_buf->vp9.width * ref_buf->vp9.bit_depth, 512) / 8; in config_ref_registers()
496 buf->vp9.bit_depth = dec_params->bit_depth; in update_dec_buf_info()
520 unsigned int y_len, uv_len, yuv_len, bit_depth, aligned_height, aligned_pitch, stream_len; in config_registers() local
554 bit_depth = dec_params->bit_depth; in config_registers()
558 bit_depth, in config_registers()
Drkvdec.h47 unsigned int bit_depth : 4; member
/linux-6.1.9/sound/soc/intel/skylake/
Dskl-messages.c456 base_cfg->audio_fmt.bit_depth = format->bit_depth; in skl_set_base_module_format()
462 format->bit_depth, format->valid_bit_depth, in skl_set_base_module_format()
480 pin_fmt->bit_depth = format->bit_depth; in fill_pin_params()
739 out_fmt->bit_depth = format->bit_depth; in skl_setup_out_format()
748 out_fmt->number_of_channels, format->s_freq, format->bit_depth); in skl_setup_out_format()
Dskl-ssp-clk.h70 u32 bit_depth; member
Dskl-topology.c168 fmt->bit_depth = fmt->valid_bit_depth; in skl_tplg_update_params()
172 fmt->bit_depth = SKL_DEPTH_32BIT; in skl_tplg_update_params()
250 in_fmt->channels * (in_fmt->bit_depth >> 3) * in skl_tplg_update_buffer_size()
254 out_fmt->channels * (out_fmt->bit_depth >> 3) * in skl_tplg_update_buffer_size()
305 s_cont = m_iface->inputs[0].fmt.bit_depth; in skl_tplg_update_be_blob()
315 s_cont = m_iface->outputs[0].fmt.bit_depth; in skl_tplg_update_be_blob()
321 s_cont = m_iface->inputs[0].fmt.bit_depth; in skl_tplg_update_be_blob()
1669 format->bit_depth = format->valid_bit_depth; in skl_tplg_update_pipe_params()
1674 format->bit_depth = SKL_DEPTH_32BIT; in skl_tplg_update_pipe_params()
1686 (format->bit_depth >> 3); in skl_tplg_update_pipe_params()
[all …]
Dskl-topology.h95 enum skl_bitdepth bit_depth; member
212 u32 bit_depth; member
/linux-6.1.9/sound/soc/sof/
Dipc4-topology.c52 offsetof(struct sof_ipc4_audio_format, bit_depth)},
67 offsetof(struct sof_ipc4_audio_format, bit_depth)},
158 i, fmt->sampling_frequency, fmt->bit_depth, fmt->ch_map, in sof_ipc4_dbg_audio_format()
994 int *sample_rate, int *channel_count, int *bit_depth) in snd_sof_get_hw_config_params() argument
1029 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params()
1034 *sample_rate, *bit_depth, *channel_count); in snd_sof_get_hw_config_params()
1046 int bit_depth, ret; in snd_sof_get_nhlt_endpoint_data() local
1053 bit_depth = params_width(params); in snd_sof_get_nhlt_endpoint_data()
1060 &bit_depth); in snd_sof_get_nhlt_endpoint_data()
1073 bit_depth, bit_depth, channel_count, sample_rate, in snd_sof_get_nhlt_endpoint_data()
[all …]
/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro.h256 int bit_depth; member
323 u32 bit_depth : 4; member
Dhantro_g2_vp9_dec.c96 int bytes_per_pixel = dec_params->bit_depth == 8 ? 1 : 2; in chroma_offset()
132 buf->vp9.bit_depth = dec_params->bit_depth; in update_dec_buf_info()
518 hantro_reg_write(ctx->dev, &g2_bit_depth_y, dec_params->bit_depth); in config_bit_depth()
519 hantro_reg_write(ctx->dev, &g2_bit_depth_c, dec_params->bit_depth); in config_bit_depth()
522 hantro_reg_write(ctx->dev, &g2_bit_depth_y_minus8, dec_params->bit_depth - 8); in config_bit_depth()
523 hantro_reg_write(ctx->dev, &g2_bit_depth_c_minus8, dec_params->bit_depth - 8); in config_bit_depth()
Dhantro_hevc.c107 size = (VERT_FILTER_RAM_SIZE * height64 * (num_tile_cols - 1) * ctx->bit_depth) / 8; in tile_buffer_reallocate()
115 size = (VERT_SAO_RAM_SIZE * height64 * (num_tile_cols - 1) * ctx->bit_depth) / 8; in tile_buffer_reallocate()
/linux-6.1.9/include/uapi/sound/
Dskl-tplg-interface.h177 __u32 bit_depth; member
/linux-6.1.9/drivers/staging/media/ipu3/
Dipu3-css.c66 .bit_depth = 10,
74 .bit_depth = 10,
82 .bit_depth = 10,
90 .bit_depth = 10,
734 frame_sp_info->raw_bit_depth = css_queue_in->css_fmt->bit_depth; in imgu_css_pipeline_init()
743 frame_sp_info->raw_bit_depth = css_queue_out->css_fmt->bit_depth; in imgu_css_pipeline_init()
752 frame_sp_info->raw_bit_depth = css_queue_out->css_fmt->bit_depth; in imgu_css_pipeline_init()
761 frame_sp_info->raw_bit_depth = css_queue_vf->css_fmt->bit_depth; in imgu_css_pipeline_init()
923 frame_sp->info.raw_bit_depth = css_queue_in->css_fmt->bit_depth; in imgu_css_pipeline_init()
934 frame_sp->info.raw_bit_depth = css_queue_out->css_fmt->bit_depth; in imgu_css_pipeline_init()
[all …]
Dipu3-css.h85 u8 bit_depth; /* Effective bits per pixel */ member
/linux-6.1.9/sound/soc/intel/avs/
Dpath.c88 params_physical_width(params) == fmt->bit_depth && in avs_test_hw_params()
103 variant->fe_fmt->valid_bit_depth, variant->fe_fmt->bit_depth); in avs_path_find_variant()
106 variant->be_fmt->valid_bit_depth, variant->be_fmt->bit_depth); in avs_path_find_variant()
178 NHLT_LINK_SSP, fmt->valid_bit_depth, fmt->bit_depth, in avs_copier_create()
203 fmt->bit_depth, fmt->num_channels, in avs_copier_create()
/linux-6.1.9/drivers/media/platform/qcom/venus/
Dvdec.c122 !(inst->bit_depth == VIDC_BITDEPTH_10)) in find_format()
150 !(inst->bit_depth == VIDC_BITDEPTH_10)) in find_format_by_index()
1464 if (inst->bit_depth != ev_data->bit_depth) in vdec_event_change()
1465 inst->bit_depth = ev_data->bit_depth; in vdec_event_change()
1639 inst->bit_depth = VIDC_BITDEPTH_8; in vdec_open()
Dhfi.h69 u32 bit_depth; member
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6asm.h67 u8 bit_depth; member

123