/linux-master/drivers/media/platform/verisilicon/ |
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_g2.c | 50 return ctx->dst_fmt.width * ctx->dst_fmt.height * ctx->bit_depth / 8;
|
H A D | hantro_drv.c | 284 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 D | hantro_v4l2.c | 88 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 D | hantro_hevc.c | 107 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 D | hantro.h | 233 * @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 D | vivid-vid-common.c | 38 .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 D | vivid-vid-out.c | 275 (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 D | dcn20_opp.c | 52 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 D | xlnx_formatter_pcm.c | 70 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 D | skl-ssp-clk.h | 70 u32 bit_depth; member in struct:skl_dmactrl_sclkfs_cfg
|
H A D | skl-messages.c | 454 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 D | dce120_timing_generator.c | 804 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 D | dcn10_optc.c | 983 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 D | cedrus.c | 48 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 D | rkvdec.h | 47 unsigned int bit_depth : 4; member in struct:rkvdec_vp9_decoded_buffer_info
|
H A D | rkvdec-vp9.c | 405 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 D | dce110_timing_generator.c | 715 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 D | ipu3-css.h | 85 u8 bit_depth; /* Effective bits per pixel */ member in struct:imgu_css_format
|
H A D | ipu3-css.c | 66 .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 D | q6asm.h | 66 u8 bit_depth; member in struct:q6asm_alac_cfg
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec_stateless.c | 501 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 D | amdgpu_dm_color.c | 684 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 D | ipc4-topology.c | 65 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 D | mtk_disp_ovl.c | 248 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);
|