Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/vivid/
Dvivid-vid-common.c38 .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 …]
Dvivid-vid-out.c281 (dev->sink_rect.width * dev->fmt_out->bit_depth[p]) / 8; in vivid_update_format_out()
409 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_out()
411 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_out()
425 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_out()
426 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_out()
560 (dev->bytesperline_out[0] * dev->fmt_out->bit_depth[p]) / in vivid_s_fmt_vid_out()
561 dev->fmt_out->bit_depth[0]; in vivid_s_fmt_vid_out()
Dvivid-vid-cap.c28 .bit_depth = { 16 },
35 .bit_depth = { 16 },
42 .bit_depth = { 16 },
620 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
622 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3; in vivid_try_fmt_vid_cap()
636 (fmt->bit_depth[p] / fmt->vdownsampling[p])) / in vivid_try_fmt_vid_cap()
637 (fmt->bit_depth[0] / fmt->vdownsampling[0]); in vivid_try_fmt_vid_cap()
1254 if (a->fmt.bytesperline < (a->fmt.width * fmt->bit_depth[0]) / 8) in vivid_vid_cap_s_fbuf()
Dvivid-core.h66 u32 bit_depth[TPG_MAX_PLANES]; member
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_opp.c50 enum test_pattern_color_format bit_depth; in opp2_set_disp_pattern_generator() local
73 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in opp2_set_disp_pattern_generator()
76 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in opp2_set_disp_pattern_generator()
79 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in opp2_set_disp_pattern_generator()
82 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in opp2_set_disp_pattern_generator()
85 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in opp2_set_disp_pattern_generator()
107 DPG_BIT_DEPTH, bit_depth, in opp2_set_disp_pattern_generator()
121 switch (bit_depth) { in opp2_set_disp_pattern_generator()
166 DPG_BIT_DEPTH, bit_depth, in opp2_set_disp_pattern_generator()
174 mode = (bit_depth == in opp2_set_disp_pattern_generator()
[all …]
/Linux-v5.4/sound/soc/xilinx/
Dxlnx_formatter_pcm.c69 enum bit_depth { enum
132 u32 padded, srate, bit_depth, status[2]; in xlnx_parse_aes_params() local
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 = 18 + padded; in xlnx_parse_aes_params()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c905 enum test_pattern_color_format bit_depth; in optc1_set_test_pattern() local
929 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in optc1_set_test_pattern()
932 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern()
935 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in optc1_set_test_pattern()
938 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in optc1_set_test_pattern()
941 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in optc1_set_test_pattern()
963 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern()
975 switch (bit_depth) { in optc1_set_test_pattern()
1063 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth); in optc1_set_test_pattern()
1069 mode = (bit_depth == in optc1_set_test_pattern()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c842 enum test_pattern_color_format bit_depth; in dce120_timing_generator_set_test_pattern() local
864 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in dce120_timing_generator_set_test_pattern()
867 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce120_timing_generator_set_test_pattern()
870 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in dce120_timing_generator_set_test_pattern()
873 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in dce120_timing_generator_set_test_pattern()
876 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce120_timing_generator_set_test_pattern()
898 CRTC_TEST_PATTERN_COLOR_FORMAT, bit_depth); in dce120_timing_generator_set_test_pattern()
910 switch (bit_depth) { in dce120_timing_generator_set_test_pattern()
1000 CRTC_TEST_PATTERN_COLOR_FORMAT, bit_depth); in dce120_timing_generator_set_test_pattern()
1006 mode = (bit_depth == in dce120_timing_generator_set_test_pattern()
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator.c711 enum test_pattern_color_format bit_depth; in dce110_timing_generator_set_test_pattern() local
733 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6; in dce110_timing_generator_set_test_pattern()
736 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce110_timing_generator_set_test_pattern()
739 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10; in dce110_timing_generator_set_test_pattern()
742 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12; in dce110_timing_generator_set_test_pattern()
745 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8; in dce110_timing_generator_set_test_pattern()
796 bit_depth, in dce110_timing_generator_set_test_pattern()
811 switch (bit_depth) { in dce110_timing_generator_set_test_pattern()
923 bit_depth, in dce110_timing_generator_set_test_pattern()
933 mode = (bit_depth == in dce110_timing_generator_set_test_pattern()
[all …]
/Linux-v5.4/sound/soc/intel/skylake/
Dskl-messages.c456 base_cfg->audio_fmt.bit_depth = format->bit_depth; in skl_set_base_module_format()
462 format->bit_depth, format->valid_bit_depth, in skl_set_base_module_format()
670 out_fmt->bit_depth = format->bit_depth; in skl_setup_out_format()
679 out_fmt->number_of_channels, format->s_freq, format->bit_depth); in skl_setup_out_format()
1093 pin_fmt->bit_depth = format->bit_depth; in fill_pin_params()
Dskl-ssp-clk.h70 u32 bit_depth; member
Dskl-topology.c167 fmt->bit_depth = fmt->valid_bit_depth; in skl_tplg_update_params()
171 fmt->bit_depth = SKL_DEPTH_32BIT; in skl_tplg_update_params()
249 in_fmt->channels * (in_fmt->bit_depth >> 3) * in skl_tplg_update_buffer_size()
253 out_fmt->channels * (out_fmt->bit_depth >> 3) * in skl_tplg_update_buffer_size()
303 s_fmt = m_iface->inputs[0].fmt.bit_depth; in skl_tplg_update_be_blob()
312 s_fmt = m_iface->outputs[0].fmt.bit_depth; in skl_tplg_update_be_blob()
317 s_fmt = m_iface->inputs[0].fmt.bit_depth; in skl_tplg_update_be_blob()
1565 format->bit_depth = format->valid_bit_depth; in skl_tplg_update_pipe_params()
1570 format->bit_depth = SKL_DEPTH_32BIT; in skl_tplg_update_pipe_params()
1582 (format->bit_depth >> 3); in skl_tplg_update_pipe_params()
[all …]
Dskl-topology.h93 enum skl_bitdepth bit_depth; member
195 u32 bit_depth; member
Dskl-debug.c59 fmt->channels, fmt->s_freq, fmt->bit_depth, in skl_print_fmt()
Dskl-ssp-clk.c92 ipc->sclk_fs.bit_depth = wfmt->bits_per_sample; in skl_fill_clk_ipc()
/Linux-v5.4/include/uapi/sound/
Dskl-tplg-interface.h175 __u32 bit_depth; member
/Linux-v5.4/drivers/staging/media/ipu3/
Dipu3-css.c66 .bit_depth = 10,
75 .bit_depth = 10,
84 .bit_depth = 10,
93 .bit_depth = 10,
743 css_pipe->queue[IPU3_CSS_QUEUE_IN].css_fmt->bit_depth; in imgu_css_pipeline_init()
755 css_pipe->queue[IPU3_CSS_QUEUE_OUT].css_fmt->bit_depth; in imgu_css_pipeline_init()
769 css_pipe->queue[IPU3_CSS_QUEUE_OUT].css_fmt->bit_depth; in imgu_css_pipeline_init()
783 css_pipe->queue[IPU3_CSS_QUEUE_VF].css_fmt->bit_depth; in imgu_css_pipeline_init()
947 css_pipe->queue[IPU3_CSS_QUEUE_IN].css_fmt->bit_depth; in imgu_css_pipeline_init()
964 css_pipe->queue[IPU3_CSS_QUEUE_OUT].css_fmt->bit_depth; in imgu_css_pipeline_init()
[all …]
Dipu3-css.h86 u8 bit_depth; /* Effective bits per pixel */ member
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dhfi.h69 u32 bit_depth; member
Dhfi_msgs.c73 event.bit_depth = pixel_depth->bit_depth; in event_seq_changed()
Dhfi_helper.h797 u32 bit_depth; member
/Linux-v5.4/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_surfacedefs.h377 struct svga3d_channel_def bit_depth; member