/linux-6.6.21/drivers/media/test-drivers/vivid/ |
D | vivid-vid-common.c | 38 .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 …]
|
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()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
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() 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.6.21/sound/soc/xilinx/ |
D | xlnx_formatter_pcm.c | 70 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.6.21/drivers/media/platform/verisilicon/ |
D | hantro_v4l2.h | 27 int hantro_reset_raw_fmt(struct hantro_ctx *ctx, int bit_depth, bool need_postproc); 32 int bit_depth, bool need_postproc);
|
D | hantro_v4l2.c | 88 hantro_check_depth_match(const struct hantro_fmt *fmt, int bit_depth) in hantro_check_depth_match() argument 96 if (!bit_depth) in hantro_check_depth_match() 97 bit_depth = HANTRO_DEFAULT_BIT_DEPTH; in hantro_check_depth_match() 106 return fmt_depth <= bit_depth; in hantro_check_depth_match() 108 return fmt_depth == bit_depth; in hantro_check_depth_match() 131 int bit_depth, bool need_postproc) in hantro_get_default_fmt() argument 140 hantro_check_depth_match(&formats[i], bit_depth)) in hantro_get_default_fmt() 148 hantro_check_depth_match(&formats[i], bit_depth)) in hantro_get_default_fmt() 225 if (!hantro_check_depth_match(fmt, ctx->bit_depth)) in vidioc_enum_fmt() 245 if (!hantro_check_depth_match(fmt, ctx->bit_depth)) in vidioc_enum_fmt() [all …]
|
D | hantro_drv.c | 282 if (sequence->bit_depth != 8 && sequence->bit_depth != 10) in hantro_try_ctrl() 318 int bit_depth = ctrl->p_new.p_vp9_frame->bit_depth; in hantro_vp9_s_ctrl() local 320 if (ctx->bit_depth == bit_depth) in hantro_vp9_s_ctrl() 323 return hantro_reset_raw_fmt(ctx, bit_depth, HANTRO_AUTO_POSTPROC); in hantro_vp9_s_ctrl() 342 int bit_depth = sps->bit_depth_luma_minus8 + 8; in hantro_hevc_s_ctrl() local 344 if (ctx->bit_depth == bit_depth) in hantro_hevc_s_ctrl() 347 return hantro_reset_raw_fmt(ctx, bit_depth, HANTRO_AUTO_POSTPROC); in hantro_hevc_s_ctrl() 366 int bit_depth = ctrl->p_new.p_av1_sequence->bit_depth; in hantro_av1_s_ctrl() local 373 if (ctx->bit_depth == bit_depth && in hantro_av1_s_ctrl() 377 return hantro_reset_raw_fmt(ctx, bit_depth, need_postproc); in hantro_av1_s_ctrl()
|
D | hantro.h | 262 int bit_depth; member 331 u32 bit_depth : 4; member
|
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()
|
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.6.21/drivers/staging/media/sunxi/cedrus/ |
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.6.21/drivers/gpu/drm/amd/display/dc/dce120/ |
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() 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.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_optc.c | 974 enum test_pattern_color_format bit_depth; in optc1_set_test_pattern() local 998 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in optc1_set_test_pattern() 1001 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern() 1004 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in optc1_set_test_pattern() 1007 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in optc1_set_test_pattern() 1010 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern() 1032 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern() 1044 switch (bit_depth) { in optc1_set_test_pattern() 1132 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern() 1138 mode = (bit_depth == in optc1_set_test_pattern() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
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() 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.6.21/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_stateless.c | 472 if (frame->bit_depth == 10) { in mtk_vdec_s_ctrl() 474 } else if (frame->bit_depth != 8) { in mtk_vdec_s_ctrl() 475 mtk_v4l2_vdec_err(ctx, "VP9: bit_depth:%d", frame->bit_depth); in mtk_vdec_s_ctrl() 482 if (seq->bit_depth == 10) { in mtk_vdec_s_ctrl() 484 } else if (seq->bit_depth != 8) { in mtk_vdec_s_ctrl() 485 mtk_v4l2_vdec_err(ctx, "AV1: bit_depth:%d", seq->bit_depth); in mtk_vdec_s_ctrl()
|
/linux-6.6.21/sound/soc/intel/skylake/ |
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()
|
D | skl-ssp-clk.h | 70 u32 bit_depth; member
|
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() 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() 1631 format->bit_depth = format->valid_bit_depth; in skl_tplg_update_pipe_params() 1636 format->bit_depth = SKL_DEPTH_32BIT; in skl_tplg_update_pipe_params() 1648 (format->bit_depth >> 3); in skl_tplg_update_pipe_params() [all …]
|
D | skl-topology.h | 95 enum skl_bitdepth bit_depth; member 215 u32 bit_depth; member
|
/linux-6.6.21/drivers/staging/media/rkvdec/ |
D | rkvdec-vp9.c | 405 aligned_pitch = round_up(buf->vp9.width * buf->vp9.bit_depth, 512) / 8; in get_mv_base_addr() 431 aligned_pitch = round_up(ref_buf->vp9.width * ref_buf->vp9.bit_depth, 512) / 8; in config_ref_registers() 495 buf->vp9.bit_depth = dec_params->bit_depth; in update_dec_buf_info() 519 unsigned int y_len, uv_len, yuv_len, bit_depth, aligned_height, aligned_pitch, stream_len; in config_registers() local 553 bit_depth = dec_params->bit_depth; in config_registers() 557 bit_depth, in config_registers()
|
D | rkvdec.h | 47 unsigned int bit_depth : 4; member
|
/linux-6.6.21/drivers/media/platform/qcom/venus/ |
D | vdec.c | 140 !(inst->bit_depth == VIDC_BITDEPTH_10)) in find_format() 168 !(inst->bit_depth == VIDC_BITDEPTH_10)) in find_format_by_index() 1506 if (inst->bit_depth != ev_data->bit_depth) { in vdec_event_change() 1507 inst->bit_depth = ev_data->bit_depth; in vdec_event_change() 1508 if (inst->bit_depth == VIDC_BITDEPTH_10) in vdec_event_change() 1689 inst->bit_depth = VIDC_BITDEPTH_8; in vdec_open()
|
/linux-6.6.21/drivers/gpu/drm/mediatek/ |
D | mtk_disp_ovl.c | 248 unsigned int bit_depth = OVL_CON_CLRFMT_8_BIT; in mtk_ovl_set_bit_depth() local 259 bit_depth = OVL_CON_CLRFMT_10_BIT; in mtk_ovl_set_bit_depth() 261 reg |= OVL_CON_CLRFMT_BIT_DEPTH(bit_depth, idx); in mtk_ovl_set_bit_depth()
|
/linux-6.6.21/include/uapi/sound/ |
D | skl-tplg-interface.h | 178 __u32 bit_depth; member
|
/linux-6.6.21/sound/soc/sof/ |
D | ipc4-topology.c | 63 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)}, 83 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)}, 177 pin_fmt[i].pin_index, fmt->sampling_frequency, fmt->bit_depth, fmt->ch_map, in sof_ipc4_dbg_audio_format() 1279 int *sample_rate, int *channel_count, int *bit_depth) in snd_sof_get_hw_config_params() argument 1314 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params() 1319 *sample_rate, *bit_depth, *channel_count); in snd_sof_get_hw_config_params() 1331 int bit_depth, ret; in snd_sof_get_nhlt_endpoint_data() local 1338 bit_depth = params_width(params); in snd_sof_get_nhlt_endpoint_data() 1345 &bit_depth); in snd_sof_get_nhlt_endpoint_data() 1358 bit_depth, bit_depth, channel_count, sample_rate, in snd_sof_get_nhlt_endpoint_data() [all …]
|