/linux-6.3-rc2/drivers/media/test-drivers/vivid/ |
A D | vivid-vid-common.c | 38 .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 D | vivid-vid-out.c | 278 (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 D | vivid-vid-cap.c | 28 .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 D | dcn20_opp.c | 52 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 D | xlnx_formatter_pcm.c | 70 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 D | cedrus.c | 48 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 D | dce120_timing_generator.c | 804 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 D | dcn10_optc.c | 970 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 D | dce110_timing_generator.c | 715 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 D | rkvdec-vp9.c | 406 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 D | rkvdec.h | 47 unsigned int bit_depth : 4; member
|
/linux-6.3-rc2/sound/soc/intel/skylake/ |
A D | skl-messages.c | 454 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 D | skl-ssp-clk.h | 70 u32 bit_depth; member
|
A D | skl-topology.c | 168 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 D | skl-topology.h | 95 enum skl_bitdepth bit_depth; member 215 u32 bit_depth; member
|
/linux-6.3-rc2/sound/soc/sof/ |
A D | ipc4-topology.c | 53 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 D | hantro.h | 256 int bit_depth; member 323 u32 bit_depth : 4; member
|
A D | hantro_g2_vp9_dec.c | 96 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 D | hantro_hevc.c | 107 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 D | skl-tplg-interface.h | 177 __u32 bit_depth; member
|
/linux-6.3-rc2/drivers/staging/media/ipu3/ |
A D | ipu3-css.c | 66 .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 D | ipu3-css.h | 85 u8 bit_depth; /* Effective bits per pixel */ member
|
/linux-6.3-rc2/sound/soc/intel/avs/ |
A D | path.c | 89 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 D | vdec.c | 122 !(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 D | q6asm.h | 67 u8 bit_depth; member
|