Searched refs:bitdepth (Results 1 – 9 of 9) sorted by relevance
| /linux-6.15/drivers/media/platform/verisilicon/ |
| H A D | rockchip_av1_filmgrain.h | 9 s32 bitdepth, 22 s32 bitdepth,
|
| H A D | rockchip_av1_filmgrain.c | 233 s32 bitdepth, in rockchip_av1_generate_luma_grain_block() argument 243 s32 gauss_sec_shift = 12 - bitdepth + grain_scale_shift; in rockchip_av1_generate_luma_grain_block() 291 s32 bitdepth, in rockchip_av1_generate_chroma_grain_block() argument 305 s32 gauss_sec_shift = 12 - bitdepth + grain_scale_shift; in rockchip_av1_generate_chroma_grain_block()
|
| H A D | rockchip_vpu981_hw_av1_dec.c | 1239 s32 grain_scale_shift, bitdepth; in rockchip_vpu981_av1_dec_set_fgs() local 1341 bitdepth = ctx->bit_depth; in rockchip_vpu981_av1_dec_set_fgs() 1342 grain_center = 128 << (bitdepth - 8); in rockchip_vpu981_av1_dec_set_fgs() 1344 grain_max = (256 << (bitdepth - 8)) - 1 - grain_center; in rockchip_vpu981_av1_dec_set_fgs() 1346 rockchip_av1_generate_luma_grain_block(luma_grain_block, bitdepth, in rockchip_vpu981_av1_dec_set_fgs() 1352 cr_grain_block, bitdepth, in rockchip_vpu981_av1_dec_set_fgs()
|
| /linux-6.15/drivers/misc/ |
| H A D | isl29003.c | 158 int lsb, msb, range, bitdepth; in isl29003_get_adc_value() local 175 bitdepth = (4 - isl29003_get_resolution(client)) * 4; in isl29003_get_adc_value() 176 return (((msb << 8) | lsb) * gain_range[range]) >> bitdepth; in isl29003_get_adc_value()
|
| /linux-6.15/drivers/media/platform/amphion/ |
| H A D | vpu_helpers.c | 177 u32 bitdepth = 8; in get_tiled_8l128_plane_size() local 184 bitdepth = 10; in get_tiled_8l128_plane_size() 185 bytesperline = DIV_ROUND_UP(width * bitdepth, BITS_PER_BYTE); in get_tiled_8l128_plane_size()
|
| /linux-6.15/drivers/media/platform/qcom/iris/ |
| H A D | iris_hfi_gen2_command.c | 185 u32 bitdepth = BIT_DEPTH_8; in iris_hfi_gen2_set_bit_dpeth() local 187 inst_hfi_gen2->src_subcr_params.bit_depth = bitdepth; in iris_hfi_gen2_set_bit_dpeth() 194 &bitdepth, in iris_hfi_gen2_set_bit_dpeth()
|
| /linux-6.15/drivers/media/platform/chips-media/wave5/ |
| H A D | wave5-vpu-dec.c | 978 u32 bitdepth = inst->codec_info->dec_info.initial_info.luma_bitdepth; in wave5_prepare_fb() local 980 switch (bitdepth) { in wave5_prepare_fb() 990 dev_err(inst->dev->dev, "no support for %d bit depth\n", bitdepth); in wave5_prepare_fb() 1002 fb_stride = ALIGN(inst->dst_fmt.width * bitdepth / 8, 32); in wave5_prepare_fb()
|
| H A D | wave5-hw.c | 930 u32 bitdepth = inst->codec_info->dec_info.initial_info.luma_bitdepth; in wave5_vpu_dec_validate_sec_axi() local 945 ip_size = ALIGN(width, 16) * 2 * bitdepth / 8; in wave5_vpu_dec_validate_sec_axi() 946 lf_size = ALIGN(width, 16) * 10 * bitdepth / 8; in wave5_vpu_dec_validate_sec_axi()
|
| /linux-6.15/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
| H A D | vdec_av1_req_lat_if.c | 520 u8 bitdepth; member 1270 seq->bitdepth = ctrl_seq->bit_depth; in vdec_av1_slice_setup_seq()
|