Searched refs:bit_depth (Results 1 - 25 of 65) sorted by relevance

123

/linux-master/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_g2.c50 return ctx->dst_fmt.width * ctx->dst_fmt.height * ctx->bit_depth / 8;
H A Dhantro_drv.c284 if (sequence->bit_depth != 8 && sequence->bit_depth != 10)
320 int bit_depth = ctrl->p_new.p_vp9_frame->bit_depth; local
322 if (ctx->bit_depth == bit_depth)
325 return hantro_reset_raw_fmt(ctx, bit_depth, HANTRO_AUTO_POSTPROC);
344 int bit_depth = sps->bit_depth_luma_minus8 + 8; local
346 if (ctx->bit_depth == bit_depth)
368 int bit_depth = ctrl->p_new.p_av1_sequence->bit_depth; local
[all...]
H A Dhantro_v4l2.c88 hantro_check_depth_match(const struct hantro_fmt *fmt, int bit_depth) argument
96 if (!bit_depth)
97 bit_depth = HANTRO_DEFAULT_BIT_DEPTH;
106 return fmt_depth <= bit_depth;
108 return fmt_depth == bit_depth;
131 int bit_depth, bool need_postproc)
140 hantro_check_depth_match(&formats[i], bit_depth))
148 hantro_check_depth_match(&formats[i], bit_depth))
225 if (!hantro_check_depth_match(fmt, ctx->bit_depth))
245 if (!hantro_check_depth_match(fmt, ctx->bit_depth))
130 hantro_get_default_fmt(const struct hantro_ctx *ctx, bool bitstream, int bit_depth, bool need_postproc) argument
421 hantro_reset_raw_fmt(struct hantro_ctx *ctx, int bit_depth, bool need_postproc) argument
[all...]
H A Dhantro_hevc.c107 size = (VERT_FILTER_RAM_SIZE * height64 * (num_tile_cols - 1) * ctx->bit_depth) / 8;
115 size = (VERT_SAO_RAM_SIZE * height64 * (num_tile_cols - 1) * ctx->bit_depth) / 8;
H A Dhantro.h233 * @bit_depth: Bit depth of current frame
261 int bit_depth; member in struct:hantro_ctx
332 u32 bit_depth : 4; member in struct:hantro_vp9_decoded_buffer_info
/linux-master/drivers/media/test-drivers/vivid/
H A 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
[all...]
H A Dvivid-vid-out.c275 (dev->sink_rect.width * dev->fmt_out->bit_depth[p]) / 8;
403 bytesperline = (mp->width * fmt->bit_depth[p]) >> 3;
405 max_bpl = (MAX_ZOOM * MAX_WIDTH * fmt->bit_depth[p]) >> 3;
419 (fmt->bit_depth[p] / fmt->vdownsampling[p])) /
420 (fmt->bit_depth[0] / fmt->vdownsampling[0]);
554 (dev->bytesperline_out[0] * dev->fmt_out->bit_depth[p]) /
555 dev->fmt_out->bit_depth[0];
/linux-master/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_opp.c52 enum test_pattern_color_format bit_depth; local
75 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6;
78 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8;
81 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10;
84 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12;
87 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8;
127 DPG_BIT_DEPTH, bit_depth,
141 switch (bit_depth) {
186 DPG_BIT_DEPTH, bit_depth,
194 mode = (bit_depth
[all...]
/linux-master/sound/soc/xilinx/
H A Dxlnx_formatter_pcm.c70 enum bit_depth { enum
134 u32 padded, srate, bit_depth, status[2]; local
165 bit_depth = XLNX_PARAM_UNKNOWN;
171 bit_depth = 16 + padded;
174 bit_depth = 18 + padded;
177 bit_depth = 19 + padded;
180 bit_depth = 20 + padded;
184 bit_depth = XLNX_PARAM_UNKNOWN;
214 bit_depth = 16 + padded;
217 bit_depth
[all...]
/linux-master/sound/soc/intel/skylake/
H A Dskl-ssp-clk.h70 u32 bit_depth; member in struct:skl_dmactrl_sclkfs_cfg
H A Dskl-messages.c454 base_cfg->audio_fmt.bit_depth = format->bit_depth;
459 dev_dbg(skl->dev, "bit_depth=%x valid_bd=%x ch_config=%x\n",
460 format->bit_depth, format->valid_bit_depth,
478 pin_fmt->bit_depth = format->bit_depth;
737 out_fmt->bit_depth = format->bit_depth;
746 out_fmt->number_of_channels, format->s_freq, format->bit_depth);
/linux-master/drivers/gpu/drm/amd/display/dc/dce120/
H A Ddce120_timing_generator.c804 enum test_pattern_color_format bit_depth; local
826 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6;
829 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8;
832 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10;
835 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12;
838 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8;
860 CRTC_TEST_PATTERN_COLOR_FORMAT, bit_depth);
872 switch (bit_depth) {
962 CRTC_TEST_PATTERN_COLOR_FORMAT, bit_depth);
968 mode = (bit_depth
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/optc/dcn10/
H A Ddcn10_optc.c983 enum test_pattern_color_format bit_depth; local
1007 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6;
1010 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8;
1013 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10;
1016 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12;
1019 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8;
1041 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth);
1053 switch (bit_depth) {
1141 OTG_TEST_PATTERN_COLOR_FORMAT, bit_depth);
1147 mode = (bit_depth
[all...]
/linux-master/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.c48 unsigned int bit_depth, max_depth; local
55 bit_depth = max(sps->bit_depth_luma_minus8,
63 if (bit_depth > max_depth)
74 if (ctx->bit_depth < bit_depth)
77 ctx->bit_depth = bit_depth;
371 ctx->bit_depth = 8;
/linux-master/drivers/staging/media/rkvdec/
H A Drkvdec.h47 unsigned int bit_depth : 4; member in struct:rkvdec_vp9_decoded_buffer_info
H A Drkvdec-vp9.c405 aligned_pitch = round_up(buf->vp9.width * buf->vp9.bit_depth, 512) / 8;
431 aligned_pitch = round_up(ref_buf->vp9.width * ref_buf->vp9.bit_depth, 512) / 8;
495 buf->vp9.bit_depth = dec_params->bit_depth;
519 unsigned int y_len, uv_len, yuv_len, bit_depth, aligned_height, aligned_pitch, stream_len; local
553 bit_depth = dec_params->bit_depth;
557 bit_depth,
/linux-master/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_timing_generator.c715 enum test_pattern_color_format bit_depth; local
737 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_6;
740 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8;
743 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_10;
746 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_12;
749 bit_depth = TEST_PATTERN_COLOR_FORMAT_BPC_8;
800 bit_depth,
815 switch (bit_depth) {
927 bit_depth,
937 mode = (bit_depth
[all...]
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-css.h85 u8 bit_depth; /* Effective bits per pixel */ member in struct:imgu_css_format
H A Dipu3-css.c66 .bit_depth = 10,
74 .bit_depth = 10,
82 .bit_depth = 10,
90 .bit_depth = 10,
734 frame_sp_info->raw_bit_depth = css_queue_in->css_fmt->bit_depth;
743 frame_sp_info->raw_bit_depth = css_queue_out->css_fmt->bit_depth;
752 frame_sp_info->raw_bit_depth = css_queue_out->css_fmt->bit_depth;
761 frame_sp_info->raw_bit_depth = css_queue_vf->css_fmt->bit_depth;
923 frame_sp->info.raw_bit_depth = css_queue_in->css_fmt->bit_depth;
934 frame_sp->info.raw_bit_depth = css_queue_out->css_fmt->bit_depth;
[all...]
/linux-master/sound/soc/qcom/qdsp6/
H A Dq6asm.h66 u8 bit_depth; member in struct:q6asm_alac_cfg
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_stateless.c501 if (frame->bit_depth == 10) {
503 } else if (frame->bit_depth != 8) {
504 mtk_v4l2_vdec_err(ctx, "VP9: bit_depth:%d", frame->bit_depth);
511 if (seq->bit_depth == 10) {
513 } else if (seq->bit_depth != 8) {
514 mtk_v4l2_vdec_err(ctx, "AV1: bit_depth:%d", seq->bit_depth);
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_color.c684 int bit_depth)
715 __to_dc_lut3d_color(&lut0[lut_i], lut[i], bit_depth);
716 __to_dc_lut3d_color(&lut1[lut_i], lut[i + 1], bit_depth);
717 __to_dc_lut3d_color(&lut2[lut_i], lut[i + 2], bit_depth);
718 __to_dc_lut3d_color(&lut3[lut_i], lut[i + 3], bit_depth);
721 __to_dc_lut3d_color(&lut0[lut_i], lut[i], bit_depth);
680 __drm_3dlut_to_dc_3dlut(const struct drm_color_lut *lut, uint32_t lut3d_size, struct tetrahedral_params *params, bool use_tetrahedral_9, int bit_depth) argument
/linux-master/sound/soc/sof/
H A Dipc4-topology.c65 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)},
85 offsetof(struct sof_ipc4_pin_format, audio_fmt.bit_depth)},
199 pin_fmt[i].pin_index, fmt->sampling_frequency, fmt->bit_depth,
1387 int *sample_rate, int *channel_count, int *bit_depth)
1422 *bit_depth = le32_to_cpu(hw_config->tdm_slot_width);
1427 *sample_rate, *bit_depth, *channel_count);
1442 int bit_depth, ret; local
1452 bit_depth = params_width(params);
1457 if (bit_depth == 16 && !single_bitdepth) {
1460 bit_depth
1386 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) argument
[all...]
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_disp_ovl.c248 unsigned int bit_depth = OVL_CON_CLRFMT_8_BIT; local
259 bit_depth = OVL_CON_CLRFMT_10_BIT;
261 reg |= OVL_CON_CLRFMT_BIT_DEPTH(bit_depth, idx);

Completed in 385 milliseconds

123