Home
last modified time | relevance | path

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

12

/linux/drivers/media/platform/raspberrypi/pisp_be/
H A Dpisp_be_formats.h20 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 …]
H A Dpisp_be.c1075 bpl = (f->fmt.pix_mp.width * fmt->bit_depth) >> 3; in pispbe_set_plane_params()
1149 f->fmt.pix_mp.height, fmt->bit_depth, in pispbe_try_format()
/linux/sound/soc/xilinx/
H A Dxlnx_formatter_pcm.c69 enum bit_depth {
132 u32 padded, srate, bit_depth, status[2]; in xlnx_parse_aes_params()
163 bit_depth = XLNX_PARAM_UNKNOWN; in xlnx_parse_aes_params()
169 bit_depth = 16 + padded; in xlnx_parse_aes_params()
172 bit_depth = 18 + padded; in xlnx_parse_aes_params()
175 bit_depth = 19 + padded; in xlnx_parse_aes_params()
178 bit_depth = 20 + padded; in xlnx_parse_aes_params()
182 bit_depth = XLNX_PARAM_UNKNOWN; in xlnx_parse_aes_params()
212 bit_depth = 16 + padded; in xlnx_parse_aes_params()
215 bit_depth in xlnx_parse_aes_params()
70 enum bit_depth { global() enum
134 u32 padded, srate, bit_depth, status[2]; xlnx_parse_aes_params() local
[all...]
/linux/drivers/media/platform/verisilicon/
H A Dhantro_v4l2.h27 int hantro_reset_raw_fmt(struct hantro_ctx *ctx, int bit_depth, bool need_postproc);
32 int bit_depth, bool need_postproc);
H A Dhantro_hevc.c112 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()
H A Drockchip_vpu981_hw_av1_dec.c219 return ctx->dst_fmt.width * ctx->dst_fmt.height * ctx->bit_depth / 8; in rockchip_vpu981_av1_dec_luma_size()
275 ALIGN(height * 12 * ctx->bit_depth / 8, 128) * num_tile_cols) in rockchip_vpu981_av1_dec_tiles_reallocate()
280 size = ALIGN(height * 12 * ctx->bit_depth / 8, 128) * num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()
296 size = ALIGN(height_in_sb * 44 * ctx->bit_depth * 16 / 8, 128) * num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()
312 size = ALIGN(stripe_num * 1536 * ctx->bit_depth / 8, 128) * num_tile_cols; in rockchip_vpu981_av1_dec_tiles_reallocate()
1430 bitdepth = ctx->bit_depth; in rockchip_vpu981_av1_dec_set_fgs()
2104 hantro_reg_write(vpu, &av1_bit_depth_y_minus8, ctx->bit_depth - 8); in rockchip_vpu981_av1_dec_set_parameters()
2105 hantro_reg_write(vpu, &av1_bit_depth_c_minus8, ctx->bit_depth - 8); in rockchip_vpu981_av1_dec_set_parameters()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c970 int bit_depth) in __drm_3dlut_to_dc_3dlut() argument
1001 __to_dc_lut3d_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut_to_dc_3dlut()
1002 __to_dc_lut3d_color(&lut1[lut_i], lut[i + 1], bit_depth); in __drm_3dlut_to_dc_3dlut()
1003 __to_dc_lut3d_color(&lut2[lut_i], lut[i + 2], bit_depth); in __drm_3dlut_to_dc_3dlut()
1004 __to_dc_lut3d_color(&lut3[lut_i], lut[i + 3], bit_depth); in __drm_3dlut_to_dc_3dlut()
1007 __to_dc_lut3d_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut_to_dc_3dlut()
1027 int bit_depth) in __drm_3dlut32_to_dc_3dlut() argument
1058 __to_dc_lut3d_32_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut32_to_dc_3dlut()
1059 __to_dc_lut3d_32_color(&lut1[lut_i], lut[i + 1], bit_depth); in __drm_3dlut32_to_dc_3dlut()
1060 __to_dc_lut3d_32_color(&lut2[lut_i], lut[i + 2], bit_depth); in __drm_3dlut32_to_dc_3dlut()
[all...]
/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateless.c515 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 Drkvdec-vp9.c374 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 Dv4l2-ctrls-core.c161 p_vp9_frame->bit_depth = 8; in std_init_compound()
171 p_av1_sequence->bit_depth = 8; in std_init_compound()
617 if ((frame->profile < 2 && frame->bit_depth != 8) || in validate_vp9_frame()
619 (frame->bit_depth != 10 && frame->bit_depth != 12))) in validate_vp9_frame()
942 if (s->bit_depth != 8 && s->bit_depth != 10) in validate_av1_sequence()
950 if (s->bit_depth != 8 && s->bit_depth != 10) in validate_av1_sequence()
958 if (s->bit_depth ! in validate_av1_sequence()
[all...]
/linux/sound/soc/sof/
H A Dipc4-topology.c99 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)},
119 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)},
267 pin_fmt[i].pin_index, fmt->sampling_frequency, fmt->bit_depth, in sof_ipc4_dbg_audio_format()
1798 int *sample_rate, int *channel_count, int *bit_depth) in snd_sof_get_hw_config_params()
1833 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params()
1838 *sample_rate, *bit_depth, *channel_count); in snd_sof_get_hw_config_params()
1854 int bit_depth, ret; in snd_sof_get_nhlt_endpoint_data()
1864 bit_depth = params_width(params); in snd_sof_get_nhlt_endpoint_data()
1867 if (bit_depth <= 16 && !single_bitdepth) { in snd_sof_get_nhlt_endpoint_data()
1870 bit_depth in snd_sof_get_nhlt_endpoint_data()
1795 snd_sof_get_hw_config_params(struct snd_sof_dev * sdev,struct snd_sof_dai * dai,int * sample_rate,int * channel_count,int * bit_depth) snd_sof_get_hw_config_params() argument
1850 int bit_depth, ret; snd_sof_get_nhlt_endpoint_data() local
[all...]
/linux/drivers/media/platform/qcom/venus/
H A Dvdec.c139 !(inst->bit_depth == VIDC_BITDEPTH_10)) in find_format()
167 !(inst->bit_depth == VIDC_BITDEPTH_10)) in find_format_by_index()
1521 if (inst->bit_depth != ev_data->bit_depth) { in vdec_event_change()
1522 inst->bit_depth = ev_data->bit_depth; in vdec_event_change()
1523 if (inst->bit_depth == VIDC_BITDEPTH_10) in vdec_event_change()
1704 inst->bit_depth = VIDC_BITDEPTH_8; in vdec_open()
H A 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/drivers/staging/media/ipu3/
H A Dipu3-css.c67 .bit_depth = 10,
75 .bit_depth = 10,
83 .bit_depth = 10,
91 .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...]
H A Dipu3-css.h85 u8 bit_depth; /* Effective bits per pixel */ member
/linux/sound/soc/qcom/qdsp6/
H A Dq6asm.h66 u8 bit_depth; member
H A Dq6asm.c147 u8 bit_depth; member
1247 fmt->bit_depth = cfg->bit_depth; in q6asm_stream_media_format_block_alac()
/linux/sound/soc/intel/catpt/
H A Dmessages.h144 u32 bit_depth;
141 u32 bit_depth; global() member
/linux/sound/soc/intel/avs/
H A 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()
219 slist[i] = path_template->fe_fmt->bit_depth; in avs_path_set_constraint()
321 fmt->bit_depth); in avs_nhlt_config_or_default()
H A Dprobes.c37 cfg.base.audio_fmt.bit_depth = bps; in avs_dsp_init_probe()
H A Dmessages.h708 u32 bit_depth; member
/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-vp9.h113 __entry->f.bit_depth,
H A Dvisl-trace-av1.h41 __entry->s.bit_depth,
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h265.c816 if (ctx->bit_depth > 8) { in cedrus_h265_setup()
908 if (ctx->bit_depth > 8) in cedrus_h265_extra_cap_size()
/linux/drivers/staging/media/meson/vdec/
H A Dcodec_vp9.c369 u16 bit_depth; member
1389 if (param->p.bit_depth == 10) in codec_vp9_process_rpm()

12