Home
last modified time | relevance | path

Searched refs:bit_depth (Results 1 – 25 of 29) 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.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/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()
/linux/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_timing_generator.c805 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 Damdgpu_dm_color.c914 int bit_depth) in __drm_3dlut_to_dc_3dlut() argument
945 __to_dc_lut3d_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut_to_dc_3dlut()
946 __to_dc_lut3d_color(&lut1[lut_i], lut[i + 1], bit_depth); in __drm_3dlut_to_dc_3dlut()
947 __to_dc_lut3d_color(&lut2[lut_i], lut[i + 2], bit_depth); in __drm_3dlut_to_dc_3dlut()
948 __to_dc_lut3d_color(&lut3[lut_i], lut[i + 3], bit_depth); in __drm_3dlut_to_dc_3dlut()
951 __to_dc_lut3d_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut_to_dc_3dlut()
967 int bit_depth) in __drm_3dlut32_to_dc_3dlut() argument
998 __to_dc_lut3d_32_color(&lut0[lut_i], lut[i], bit_depth); in __drm_3dlut32_to_dc_3dlut()
999 __to_dc_lut3d_32_color(&lut1[lut_i], lut[i + 1], bit_depth); in __drm_3dlut32_to_dc_3dlut()
1000 __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 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/sound/soc/sof/
H A Dipc4-topology.c95 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)},
115 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)},
240 pin_fmt[i].pin_index, fmt->sampling_frequency, fmt->bit_depth, in sof_ipc4_dbg_audio_format()
1689 int *sample_rate, int *channel_count, int *bit_depth) in snd_sof_get_hw_config_params() argument
1724 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width); in snd_sof_get_hw_config_params()
1729 *sample_rate, *bit_depth, *channel_count); in snd_sof_get_hw_config_params()
1744 int bit_depth, ret; in snd_sof_get_nhlt_endpoint_data() local
1754 bit_depth = params_width(params); in snd_sof_get_nhlt_endpoint_data()
1757 if (bit_depth <= 16 && !single_bitdepth) { in snd_sof_get_nhlt_endpoint_data()
1760 bit_depth in snd_sof_get_nhlt_endpoint_data()
[all...]
/linux/drivers/staging/media/ipu3/
H A Dipu3-css.h85 u8 bit_depth; /* Effective bits per pixel */ member
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_disp_ovl.c300 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 Dq6asm.h66 u8 bit_depth; member
H A Dq6asm.c147 u8 bit_depth; member
1240 fmt->bit_depth = cfg->bit_depth; in q6asm_stream_media_format_block_alac()
/linux/drivers/media/platform/qcom/venus/
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()
H A Dhfi_helper.h933 u32 bit_depth; member
/linux/sound/soc/intel/catpt/
H A Dmessages.h141 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/sound/soc/intel/avs/
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/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/media/test-drivers/vivid/
H A Dvivid-vid-cap.c618 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()
/linux/drivers/media/platform/qcom/iris/
H A Diris_hfi_gen2_command.c260 inst_hfi_gen2->src_subcr_params.bit_depth = bitdepth; in iris_hfi_gen2_set_bit_depth()
831 payload[0] = subsc_params.bit_depth; in iris_hfi_gen2_subscribe_change_param()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_types.h1331 uint16_t bit_depth; member
/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