Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/media/test-drivers/vivid/
A Dvivid-vid-common.c38 .bit_depth = { 16 },
47 .bit_depth = { 16 },
55 .bit_depth = { 16 },
63 .bit_depth = { 16 },
143 .bit_depth = { 16 },
151 .bit_depth = { 16 },
158 .bit_depth = { 16 },
166 .bit_depth = { 32 },
174 .bit_depth = { 32 },
219 .bit_depth = { 8 },
[all …]
A 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()
A 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.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/
A 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()
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()
199 switch (bit_depth) { in opp2_set_disp_pattern_generator()
220 switch (bit_depth) { in opp2_set_disp_pattern_generator()
[all …]
/linux-6.3-rc2/sound/soc/xilinx/
A Dxlnx_formatter_pcm.c70 enum bit_depth { enum
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()
214 bit_depth = 16 + padded; in xlnx_parse_aes_params()
217 bit_depth = 18 + padded; in xlnx_parse_aes_params()
220 bit_depth = 19 + padded; in xlnx_parse_aes_params()
223 bit_depth = 20 + padded; in xlnx_parse_aes_params()
[all …]
/linux-6.3-rc2/drivers/staging/media/sunxi/cedrus/
A Dcedrus.c48 unsigned int bit_depth, max_depth; in cedrus_try_ctrl() local
55 bit_depth = max(sps->bit_depth_luma_minus8, in cedrus_try_ctrl()
63 if (bit_depth > max_depth) in cedrus_try_ctrl()
74 if (ctx->bit_depth < bit_depth) in cedrus_try_ctrl()
77 ctx->bit_depth = bit_depth; in cedrus_try_ctrl()
371 ctx->bit_depth = 8; in cedrus_open()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce120/
A 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()
968 mode = (bit_depth == in dce120_timing_generator_set_test_pattern()
973 switch (bit_depth) { in dce120_timing_generator_set_test_pattern()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/
A Ddcn10_optc.c970 enum test_pattern_color_format bit_depth; in optc1_set_test_pattern() local
994 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in optc1_set_test_pattern()
997 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern()
1006 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern()
1028 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern()
1040 switch (bit_depth) { in optc1_set_test_pattern()
1128 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern()
1134 mode = (bit_depth == in optc1_set_test_pattern()
1139 switch (bit_depth) { in optc1_set_test_pattern()
1160 switch (bit_depth) { in optc1_set_test_pattern()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/
A 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()
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()
942 switch (bit_depth) { in dce110_timing_generator_set_test_pattern()
966 switch (bit_depth) { in dce110_timing_generator_set_test_pattern()
[all …]
/linux-6.3-rc2/drivers/staging/media/rkvdec/
A 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()
A Drkvdec.h47 unsigned int bit_depth : 4; member
/linux-6.3-rc2/sound/soc/intel/skylake/
A Dskl-messages.c454 base_cfg->audio_fmt.bit_depth = format->bit_depth; in skl_set_base_module_format()
460 format->bit_depth, format->valid_bit_depth, in skl_set_base_module_format()
478 pin_fmt->bit_depth = format->bit_depth; in fill_pin_params()
737 out_fmt->bit_depth = format->bit_depth; in skl_setup_out_format()
746 out_fmt->number_of_channels, format->s_freq, format->bit_depth); in skl_setup_out_format()
A Dskl-ssp-clk.h70 u32 bit_depth; member
A 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()
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()
1636 format->bit_depth = SKL_DEPTH_32BIT; in skl_tplg_update_pipe_params()
1648 (format->bit_depth >> 3); in skl_tplg_update_pipe_params()
1652 (format->bit_depth >> 3); in skl_tplg_update_pipe_params()
2171 dst_fmt->bit_depth = value; in skl_tplg_fill_fmt()
[all …]
A Dskl-topology.h95 enum skl_bitdepth bit_depth; member
215 u32 bit_depth; member
/linux-6.3-rc2/sound/soc/sof/
A Dipc4-topology.c53 offsetof(struct sof_ipc4_audio_format, bit_depth)},
68 offsetof(struct sof_ipc4_audio_format, bit_depth)},
159 i, fmt->sampling_frequency, fmt->bit_depth, fmt->ch_map, in sof_ipc4_dbg_audio_format()
1004 int *sample_rate, int *channel_count, int *bit_depth) in snd_sof_get_hw_config_params() argument
1039 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params()
1044 *sample_rate, *bit_depth, *channel_count); in snd_sof_get_hw_config_params()
1056 int bit_depth, ret; in snd_sof_get_nhlt_endpoint_data() local
1063 bit_depth = params_width(params); in snd_sof_get_nhlt_endpoint_data()
1070 &bit_depth); in snd_sof_get_nhlt_endpoint_data()
1083 bit_depth, bit_depth, channel_count, sample_rate, in snd_sof_get_nhlt_endpoint_data()
[all …]
/linux-6.3-rc2/drivers/media/platform/verisilicon/
A Dhantro.h256 int bit_depth; member
323 u32 bit_depth : 4; member
A 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()
A 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.3-rc2/include/uapi/sound/
A Dskl-tplg-interface.h177 __u32 bit_depth; member
/linux-6.3-rc2/drivers/staging/media/ipu3/
A 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 …]
A Dipu3-css.h85 u8 bit_depth; /* Effective bits per pixel */ member
/linux-6.3-rc2/sound/soc/intel/avs/
A Dpath.c89 params_physical_width(params) == fmt->bit_depth && in avs_test_hw_params()
104 variant->fe_fmt->valid_bit_depth, variant->fe_fmt->bit_depth); in avs_path_find_variant()
107 variant->be_fmt->valid_bit_depth, variant->be_fmt->bit_depth); in avs_path_find_variant()
179 NHLT_LINK_SSP, fmt->valid_bit_depth, fmt->bit_depth, in avs_copier_create()
204 fmt->bit_depth, fmt->num_channels, in avs_copier_create()
/linux-6.3-rc2/drivers/media/platform/qcom/venus/
A 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()
/linux-6.3-rc2/sound/soc/qcom/qdsp6/
A Dq6asm.h67 u8 bit_depth; member

Completed in 65 milliseconds

123