| /linux/drivers/media/platform/raspberrypi/pisp_be/ |
| H A D | pisp_be_formats.h | 20 unsigned int bit_depth; member 62 .bit_depth = 8, 72 .bit_depth = 8, 81 .bit_depth = 8, 90 .bit_depth = 8, 99 .bit_depth = 16, 108 .bit_depth = 16, 117 .bit_depth = 16, 126 .bit_depth = 16, 136 .bit_depth = 8, [all …]
|
| /linux/sound/soc/xilinx/ |
| H A 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/drivers/staging/media/sunxi/cedrus/ |
| H 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() 370 ctx->bit_depth = 8; in cedrus_open()
|
| /linux/drivers/media/platform/verisilicon/ |
| H A D | hantro_drv.c | 284 if (sequence->bit_depth != 8 && sequence->bit_depth != 10) in hantro_try_ctrl() 320 int bit_depth = ctrl->p_new.p_vp9_frame->bit_depth; in hantro_vp9_s_ctrl() local 322 if (ctx->bit_depth == bit_depth) in hantro_vp9_s_ctrl() 325 return hantro_reset_raw_fmt(ctx, bit_depth, HANTRO_AUTO_POSTPROC); in hantro_vp9_s_ctrl() 344 int bit_depth = sps->bit_depth_luma_minus8 + 8; in hantro_hevc_s_ctrl() local 346 if (ctx->bit_depth == bit_depth) in hantro_hevc_s_ctrl() 349 return hantro_reset_raw_fmt(ctx, bit_depth, HANTRO_AUTO_POSTPROC); in hantro_hevc_s_ctrl() 368 int bit_depth = ctrl->p_new.p_av1_sequence->bit_depth; in hantro_av1_s_ctrl() local 375 if (ctx->bit_depth == bit_depth && in hantro_av1_s_ctrl() 379 return hantro_reset_raw_fmt(ctx, bit_depth, need_postproc); in hantro_av1_s_ctrl()
|
| H A 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);
|
| H A D | hantro_hevc.c | 112 size = (VERT_FILTER_RAM_SIZE * height64 * (num_tile_cols - 1) * ctx->bit_depth) / 8; in tile_buffer_reallocate() 120 size = (VERT_SAO_RAM_SIZE * height64 * (num_tile_cols - 1) * ctx->bit_depth) / 8; in tile_buffer_reallocate()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce120/ |
| H A D | dce120_timing_generator.c | 805 enum test_pattern_color_format bit_depth; in dce120_timing_generator_set_test_pattern() local 827 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in dce120_timing_generator_set_test_pattern() 830 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce120_timing_generator_set_test_pattern() 833 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in dce120_timing_generator_set_test_pattern() 836 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in dce120_timing_generator_set_test_pattern() 839 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce120_timing_generator_set_test_pattern() 861 CRTC_TEST_PATTERN_COLOR_FORMAT, bit_depth); in dce120_timing_generator_set_test_pattern() 873 switch (bit_depth) { in dce120_timing_generator_set_test_pattern() 963 CRTC_TEST_PATTERN_COLOR_FORMAT, bit_depth); in dce120_timing_generator_set_test_pattern() 969 mode = (bit_depth == in dce120_timing_generator_set_test_pattern() [all …]
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_color.c | 917 int bit_depth) in __drm_3dlut_to_dc_3dlut() argument 948 __to_dc_lut3d_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut_to_dc_3dlut() 949 __to_dc_lut3d_color(&lut1[lut_i], lut[i + 1], bit_depth); in __drm_3dlut_to_dc_3dlut() 950 __to_dc_lut3d_color(&lut2[lut_i], lut[i + 2], bit_depth); in __drm_3dlut_to_dc_3dlut() 951 __to_dc_lut3d_color(&lut3[lut_i], lut[i + 3], bit_depth); in __drm_3dlut_to_dc_3dlut() 954 __to_dc_lut3d_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut_to_dc_3dlut() 970 int bit_depth) in __drm_3dlut32_to_dc_3dlut() argument 1001 __to_dc_lut3d_32_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut32_to_dc_3dlut() 1002 __to_dc_lut3d_32_color(&lut1[lut_i], lut[i + 1], bit_depth); in __drm_3dlut32_to_dc_3dlut() 1003 __to_dc_lut3d_32_color(&lut2[lut_i], lut[i + 2], bit_depth); in __drm_3dlut32_to_dc_3dlut() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/dce110/ |
| H 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() 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/drivers/media/platform/mediatek/vcodec/decoder/ |
| H A D | mtk_vcodec_dec_stateless.c | 515 if (frame->bit_depth == 10) { in mtk_vdec_s_ctrl() 517 } else if (frame->bit_depth != 8) { in mtk_vdec_s_ctrl() 518 mtk_v4l2_vdec_err(ctx, "VP9: bit_depth:%d", frame->bit_depth); in mtk_vdec_s_ctrl() 531 if (seq->bit_depth == 10) { in mtk_vdec_s_ctrl() 533 } else if (seq->bit_depth != 8) { in mtk_vdec_s_ctrl() 534 mtk_v4l2_vdec_err(ctx, "AV1: bit_depth:%d", seq->bit_depth); in mtk_vdec_s_ctrl()
|
| /linux/drivers/media/platform/rockchip/rkvdec/ |
| H A D | rkvdec-vp9.c | 374 aligned_pitch = round_up(buf->vp9.width * buf->vp9.bit_depth, 512) / 8; in get_mv_base_addr() 399 aligned_pitch = round_up(ref_buf->vp9.width * ref_buf->vp9.bit_depth, 512) / 8; in config_ref_registers() 454 buf->vp9.bit_depth = dec_params->bit_depth; in update_dec_buf_info() 478 unsigned int y_len, uv_len, yuv_len, bit_depth, aligned_height, aligned_pitch, stream_len; in config_registers() local 511 bit_depth = dec_params->bit_depth; in config_registers() 515 bit_depth, in config_registers()
|
| /linux/drivers/media/v4l2-core/ |
| H A D | v4l2-ctrls-core.c | 157 p_vp9_frame->bit_depth = 8; in std_init_compound() 167 p_av1_sequence->bit_depth = 8; in std_init_compound() 607 if ((frame->profile < 2 && frame->bit_depth != 8) || in validate_vp9_frame() 609 (frame->bit_depth != 10 && frame->bit_depth != 12))) in validate_vp9_frame() 912 if (s->bit_depth != 8 && s->bit_depth != 10) in validate_av1_sequence() 920 if (s->bit_depth != 8 && s->bit_depth != 10) in validate_av1_sequence() 928 if (s->bit_depth != 8 && s->bit_depth != 10 && in validate_av1_sequence() 929 s->bit_depth != 12) in validate_av1_sequence() 932 if (s->bit_depth == 12) { in validate_av1_sequence()
|
| /linux/sound/soc/sof/ |
| H A D | ipc4-topology.c | 99 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)}, 119 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)}, 250 pin_fmt[i].pin_index, fmt->sampling_frequency, fmt->bit_depth, in sof_ipc4_dbg_audio_format() 1703 int *sample_rate, int *channel_count, int *bit_depth) in snd_sof_get_hw_config_params() argument 1738 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params() 1743 *sample_rate, *bit_depth, *channel_count); in snd_sof_get_hw_config_params() 1758 int bit_depth, ret; in snd_sof_get_nhlt_endpoint_data() local 1768 bit_depth = params_width(params); in snd_sof_get_nhlt_endpoint_data() 1771 if (bit_depth <= 16 && !single_bitdepth) { in snd_sof_get_nhlt_endpoint_data() 1774 bit_depth = 32; in snd_sof_get_nhlt_endpoint_data() [all …]
|
| /linux/drivers/media/platform/chips-media/wave5/ |
| H A D | wave5-vpu-enc.c | 806 inst->bit_depth = 8; in wave5_vpu_enc_s_ctrl() 811 inst->bit_depth = 8; in wave5_vpu_enc_s_ctrl() 815 inst->bit_depth = 10; in wave5_vpu_enc_s_ctrl() 938 inst->bit_depth = 8; in wave5_vpu_enc_s_ctrl() 942 inst->bit_depth = 8; in wave5_vpu_enc_s_ctrl() 946 inst->bit_depth = 8; in wave5_vpu_enc_s_ctrl() 950 inst->bit_depth = 8; in wave5_vpu_enc_s_ctrl() 954 inst->bit_depth = 10; in wave5_vpu_enc_s_ctrl() 958 inst->bit_depth = 10; in wave5_vpu_enc_s_ctrl() 962 inst->bit_depth = 10; in wave5_vpu_enc_s_ctrl() [all …]
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A 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() 1522 if (inst->bit_depth != ev_data->bit_depth) { in vdec_event_change() 1523 inst->bit_depth = ev_data->bit_depth; in vdec_event_change() 1524 if (inst->bit_depth == VIDC_BITDEPTH_10) in vdec_event_change() 1705 inst->bit_depth = VIDC_BITDEPTH_8; in vdec_open()
|
| H A D | hfi_plat_bufs_v6.c | 769 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/drivers/staging/media/ipu3/ |
| H A D | ipu3-css.c | 67 .bit_depth = 10, 75 .bit_depth = 10, 83 .bit_depth = 10, 91 .bit_depth = 10, 735 frame_sp_info->raw_bit_depth = css_queue_in->css_fmt->bit_depth; in imgu_css_pipeline_init() 744 frame_sp_info->raw_bit_depth = css_queue_out->css_fmt->bit_depth; in imgu_css_pipeline_init() 753 frame_sp_info->raw_bit_depth = css_queue_out->css_fmt->bit_depth; in imgu_css_pipeline_init() 762 frame_sp_info->raw_bit_depth = css_queue_vf->css_fmt->bit_depth; in imgu_css_pipeline_init() 924 frame_sp->info.raw_bit_depth = css_queue_in->css_fmt->bit_depth; in imgu_css_pipeline_init() 935 frame_sp->info.raw_bit_depth = css_queue_out->css_fmt->bit_depth; in imgu_css_pipeline_init() [all …]
|
| H A D | ipu3-css.h | 85 u8 bit_depth; /* Effective bits per pixel */ member
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_disp_ovl.c | 300 unsigned int bit_depth = OVL_CON_CLRFMT_8_BIT; in mtk_ovl_set_bit_depth() local 306 bit_depth = OVL_CON_CLRFMT_10_BIT; in mtk_ovl_set_bit_depth() 308 mtk_ddp_write_mask(cmdq_pkt, OVL_CON_CLRFMT_BIT_DEPTH(bit_depth, idx), in mtk_ovl_set_bit_depth()
|
| /linux/sound/soc/qcom/qdsp6/ |
| H A D | q6asm.h | 66 u8 bit_depth; member
|
| /linux/sound/soc/intel/catpt/ |
| H A D | messages.h | 141 u32 bit_depth; member
|
| /linux/sound/soc/intel/avs/ |
| H A D | path.c | 90 params_physical_width(params) == fmt->bit_depth && in avs_test_hw_params() 105 variant->fe_fmt->valid_bit_depth, variant->fe_fmt->bit_depth); in avs_path_find_variant() 108 variant->be_fmt->valid_bit_depth, variant->be_fmt->bit_depth); in avs_path_find_variant() 221 slist[i] = path_template->fe_fmt->bit_depth; in avs_path_set_constraint() 323 fmt->bit_depth); in avs_nhlt_config_or_default()
|
| H A D | probes.c | 37 cfg.base.audio_fmt.bit_depth = bps; in avs_dsp_init_probe()
|
| /linux/drivers/media/test-drivers/visl/ |
| H A D | visl-trace-vp9.h | 113 __entry->f.bit_depth,
|
| /linux/drivers/media/test-drivers/vivid/ |
| H A D | vivid-vid-cap.c | 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()
|