Home
last modified time | relevance | path

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

12

/linux-5.19.10/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 },
618 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
620 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
634 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_cap()
635 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_cap()
1273 if (a->fmt.bytesperline < (a->fmt.width * fmt->bit_depth[0]) / 8) in vivid_vid_cap_s_fbuf()
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c980 enum test_pattern_color_format bit_depth; in optc1_set_test_pattern() local
1004 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in optc1_set_test_pattern()
1007 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern()
1010 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in optc1_set_test_pattern()
1013 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in optc1_set_test_pattern()
1016 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern()
1038 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern()
1050 switch (bit_depth) { in optc1_set_test_pattern()
1138 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern()
1144 mode = (bit_depth == in optc1_set_test_pattern()
[all …]
/linux-5.19.10/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-5.19.10/drivers/staging/media/hantro/
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()
520 hantro_reg_write(ctx->dev, &g2_bit_depth_y, dec_params->bit_depth); in config_bit_depth()
521 hantro_reg_write(ctx->dev, &g2_bit_depth_c, dec_params->bit_depth); in config_bit_depth()
522 hantro_reg_write(ctx->dev, &g2_rs_out_bit_depth, dec_params->bit_depth); in config_bit_depth()
524 if (dec_params->bit_depth > 8) in config_bit_depth()
525 pp_shift = 16 - dec_params->bit_depth; in config_bit_depth()
530 hantro_reg_write(ctx->dev, &g2_bit_depth_y_minus8, dec_params->bit_depth - 8); in config_bit_depth()
531 hantro_reg_write(ctx->dev, &g2_bit_depth_c_minus8, dec_params->bit_depth - 8); in config_bit_depth()
/linux-5.19.10/drivers/staging/media/rkvdec/
Drkvdec-vp9.c404 aligned_pitch = round_up(buf->vp9.width * buf->vp9.bit_depth, 512) / 8; in get_mv_base_addr()
430 aligned_pitch = round_up(ref_buf->vp9.width * ref_buf->vp9.bit_depth, 512) / 8; in config_ref_registers()
494 buf->vp9.bit_depth = dec_params->bit_depth; in update_dec_buf_info()
518 unsigned int y_len, uv_len, yuv_len, bit_depth, aligned_height, aligned_pitch, stream_len; in config_registers() local
552 bit_depth = dec_params->bit_depth; in config_registers()
556 bit_depth, in config_registers()
Drkvdec.h47 unsigned int bit_depth : 4; member
/linux-5.19.10/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-5.19.10/include/uapi/sound/
Dskl-tplg-interface.h177 __u32 bit_depth; member
/linux-5.19.10/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-5.19.10/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-5.19.10/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()
1462 if (inst->bit_depth != ev_data->bit_depth) in vdec_event_change()
1463 inst->bit_depth = ev_data->bit_depth; in vdec_event_change()
1637 inst->bit_depth = VIDC_BITDEPTH_8; in vdec_open()
Dhfi.h69 u32 bit_depth; member
Dhfi_plat_bufs_v6.c769 u32 size, bit_depth, num_lcu_mb; in calculate_enc_scratch1_size() local
784 bit_depth = ten_bit ? 10 : 8; in calculate_enc_scratch1_size()
786 (((((bit_depth * width_coded + 1024) + in calculate_enc_scratch1_size()
788 (((((bit_depth * width_coded + 1024) >> 1) + in calculate_enc_scratch1_size()
/linux-5.19.10/sound/soc/qcom/qdsp6/
Dq6asm.h67 u8 bit_depth; member
/linux-5.19.10/include/sound/sof/ipc4/
Dheader.h229 uint32_t bit_depth; member
/linux-5.19.10/sound/soc/intel/catpt/
Dmessages.h141 u32 bit_depth; member

12