Home
last modified time | relevance | path

Searched refs:max_w (Results 1 – 25 of 25) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dpower_budget.c118 entry->max_w = nvbios_rd32(bios, entry_offset + 0xa); in nvbios_power_budget_entry()
121 entry->max_w = nvbios_rd32(bios, entry_offset + 0x2); in nvbios_power_budget_entry()
122 entry->avg_w = entry->max_w; in nvbios_power_budget_entry()
/OK3568_Linux_fs/kernel/drivers/media/platform/mtk-mdp/
H A Dmtk_mdp_m2m.c180 u32 max_w, max_h, align_w, align_h; in mtk_mdp_try_fmt_mplane() local
204 max_w = variant->pix_max->target_rot_dis_w; in mtk_mdp_try_fmt_mplane()
226 align_w, align_h, max_w, max_h); in mtk_mdp_try_fmt_mplane()
234 mtk_mdp_bound_align_image(&pix_mp->width, min_w, max_w, align_w, in mtk_mdp_try_fmt_mplane()
285 u32 min_w, min_h, max_w, max_h; in mtk_mdp_try_crop() local
297 max_w = frame->width; in mtk_mdp_try_crop()
312 max_w = frame->height; in mtk_mdp_try_crop()
327 mtk_mdp_bound_align_image(&new_w, min_w, max_w, align_w, in mtk_mdp_try_crop()
340 if (r->left + new_w > max_w) in mtk_mdp_try_crop()
341 r->left = max_w - new_w; in mtk_mdp_try_crop()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos-gsc/
H A Dgsc-core.c396 u32 max_w, max_h, mod_x, mod_y; in gsc_try_fmt_mplane() local
416 max_w = variant->pix_max->target_rot_dis_w; in gsc_try_fmt_mplane()
435 mod_x, mod_y, max_w, max_h); in gsc_try_fmt_mplane()
442 v4l_bound_align_image(&pix_mp->width, min_w, max_w, mod_x, in gsc_try_fmt_mplane()
524 u32 min_w, min_h, max_w, max_h; in gsc_try_selection() local
539 max_w = f->f_width; in gsc_try_selection()
562 max_w = f->f_height; in gsc_try_selection()
577 v4l_bound_align_image(&tmp_w, min_w, max_w, mod_x, in gsc_try_selection()
592 if (s->r.left + tmp_w > max_w) in gsc_try_selection()
593 s->r.left = max_w - tmp_w; in gsc_try_selection()
[all …]
/OK3568_Linux_fs/kernel/drivers/dma/
H A Dste_dma40_ll.c195 u32 max_w = max(data_width1, data_width2); in d40_seg_size() local
197 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_seg_size()
200 seg_max -= max_w; in d40_seg_size()
206 return ALIGN(size / 2, max_w); in d40_seg_size()
H A Dste_dma40.c1000 u32 max_w = max(data_width1, data_width2); in d40_size_2_dmalen() local
1002 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_size_2_dmalen()
1005 seg_max -= max_w; in d40_size_2_dmalen()
1007 if (!IS_ALIGNED(size, max_w)) in d40_size_2_dmalen()
/OK3568_Linux_fs/kernel/drivers/media/platform/coda/
H A Dcoda-common.c122 #define CODA_CODEC(mode, src_fourcc, dst_fourcc, max_w, max_h) \ argument
123 { mode, src_fourcc, dst_fourcc, max_w, max_h }
339 int *max_w, int *max_h) in coda_get_max_dimensions() argument
347 w = codec->max_w; in coda_get_max_dimensions()
351 w = max(w, codecs[k].max_w); in coda_get_max_dimensions()
356 if (max_w) in coda_get_max_dimensions()
357 *max_w = w; in coda_get_max_dimensions()
590 unsigned int max_w, max_h; in coda_try_fmt() local
603 coda_get_max_dimensions(dev, codec, &max_w, &max_h); in coda_try_fmt()
604 v4l_bound_align_image(&f->fmt.pix.width, MIN_W, max_w, W_ALIGN, in coda_try_fmt()
[all …]
H A Dcoda.h101 u32 max_w; member
H A Dcoda-jpeg.c294 header.frame.width > ctx->codec->max_w) { in coda_jpeg_decode_header()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dpower_budget.h10 u32 max_w; member
/OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/
H A Dvpdma.h246 int max_w, int max_h, enum vpdma_channel chan, u32 flags);
250 int max_w, int max_h, int raw_vpdma_chan, u32 flags);
H A Dvpdma.c810 int max_w, int max_h, enum vpdma_channel chan, u32 flags) in vpdma_add_out_dtd() argument
813 max_w, max_h, chan_info[chan].num, flags); in vpdma_add_out_dtd()
820 int max_w, int max_h, int raw_vpdma_chan, u32 flags) in vpdma_rawchan_add_out_dtd() argument
857 dtd->max_width_height = dtd_max_width_height(max_w, max_h); in vpdma_rawchan_add_out_dtd()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_fbc.c654 unsigned int effective_w, effective_h, max_w, max_h; in intel_fbc_hw_tracking_covers_screen() local
657 max_w = 5120; in intel_fbc_hw_tracking_covers_screen()
660 max_w = 4096; in intel_fbc_hw_tracking_covers_screen()
663 max_w = 4096; in intel_fbc_hw_tracking_covers_screen()
666 max_w = 2048; in intel_fbc_hw_tracking_covers_screen()
675 return effective_w <= max_w && effective_h <= max_h; in intel_fbc_hw_tracking_covers_screen()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Drkisp.c195 u32 dest_w, dest_h, w, h, max_size, max_h, max_w; in rkisp_align_sensor_resolution() local
204 max_w = CIF_ISP_INPUT_W_MAX_V12; in rkisp_align_sensor_resolution()
208 max_w = CIF_ISP_INPUT_W_MAX_V13; in rkisp_align_sensor_resolution()
212 max_w = CIF_ISP_INPUT_W_MAX_V21; in rkisp_align_sensor_resolution()
217 max_w = CIF_ISP_INPUT_W_MAX_V30_UNITE; in rkisp_align_sensor_resolution()
220 max_w = CIF_ISP_INPUT_W_MAX_V30; in rkisp_align_sensor_resolution()
225 max_w = CIF_ISP_INPUT_W_MAX_V32; in rkisp_align_sensor_resolution()
229 max_w = CIF_ISP_INPUT_W_MAX_V32_L; in rkisp_align_sensor_resolution()
233 max_w = CIF_ISP_INPUT_W_MAX; in rkisp_align_sensor_resolution()
236 max_size = max_w * max_h; in rkisp_align_sensor_resolution()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/
H A Dfimc-m2m.c270 u32 max_w, mod_x, mod_y; in fimc_try_fmt_mplane() local
286 max_w = variant->pix_limit->scaler_dis_w; in fimc_try_fmt_mplane()
289 max_w = variant->pix_limit->out_rot_dis_w; in fimc_try_fmt_mplane()
303 v4l_bound_align_image(&pix->width, 16, max_w, mod_x, in fimc_try_fmt_mplane()
H A Dfimc-capture.c571 u32 depth, min_w, max_w, min_h, align_h = 3; in fimc_capture_try_format() local
596 max_w = fimc_fmt_is_user_defined(ffmt->color) ? in fimc_capture_try_format()
599 v4l_bound_align_image(width, max_t(u32, *width, 32), max_w, 4, in fimc_capture_try_format()
614 max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w; in fimc_capture_try_format()
626 v4l_bound_align_image(width, min_w, max_w, in fimc_capture_try_format()
648 u32 max_w, max_h, min_w = 0, min_h = 0, min_sz; in fimc_capture_try_selection() local
684 max_w = min_t(u32, in fimc_capture_try_selection()
690 min_w = min_t(u32, max_w, sink->f_width / max_sc_h); in fimc_capture_try_selection()
697 v4l_bound_align_image(&r->width, min_w, max_w, ffs(min_sz) - 1, in fimc_capture_try_selection()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/ispp/
H A Dstream_v10.c267 u32 max_w, max_h; in config_tnr() local
287 max_w = hw->max_in.w ? hw->max_in.w : width; in config_tnr()
289 w = (fmt & FMT_FBC) ? ALIGN(max_w, 16) : max_w; in config_tnr()
473 u32 max_w, max_h; in config_nr_shp() local
494 max_w = hw->max_in.w ? hw->max_in.w : w; in config_nr_shp()
497 max_w = ALIGN(max_w, 16); in config_nr_shp()
502 addr_offs = (fmt & FMT_FBC) ? max_w * max_h >> 4 : max_w * max_h; in config_nr_shp()
H A Dstream_v20.c67 u32 addr_offs, max_w, max_h; in config_fec() local
84 max_w = hw->max_in.w ? hw->max_in.w : in_width; in config_fec()
86 addr_offs = max_w * max_h; in config_fec()
/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A Dvsp1_entity.h192 unsigned int max_w, unsigned int max_h);
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Drj54n1cb0c.c983 int output_w, output_h, max_w, max_h, in rj54n1_set_fmt() local
1096 max_w = mf->width * (16 * 1024 - 1) / 1024; in rj54n1_set_fmt()
1097 if (input_w > max_w) in rj54n1_set_fmt()
1098 input_w = max_w; in rj54n1_set_fmt()
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/
H A D0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch113 + "width", GST_TYPE_INT_RANGE, 1, max_w,
125 + "width", GST_TYPE_INT_RANGE, 1, max_w,
138 + "width", GST_TYPE_INT_RANGE, 1, max_w,
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/
H A D0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch113 + "width", GST_TYPE_INT_RANGE, 1, max_w,
125 + "width", GST_TYPE_INT_RANGE, 1, max_w,
138 + "width", GST_TYPE_INT_RANGE, 1, max_w,
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/
H A D0007-HACK-xvimagesink-Support-dma-buffer-rendering.patch113 + "width", GST_TYPE_INT_RANGE, 1, max_w,
125 + "width", GST_TYPE_INT_RANGE, 1, max_w,
138 + "width", GST_TYPE_INT_RANGE, 1, max_w,
/OK3568_Linux_fs/kernel/drivers/media/common/v4l2-tpg/
H A Dv4l2-tpg-core.c112 int tpg_alloc(struct tpg_data *tpg, unsigned max_w) in tpg_alloc() argument
117 tpg->max_line_width = max_w; in tpg_alloc()
123 vzalloc(array3_size(max_w, 2, pixelsz)); in tpg_alloc()
129 vzalloc(array3_size(max_w, 2, pixelsz)); in tpg_alloc()
138 vzalloc(array_size(pixelsz, max_w)); in tpg_alloc()
142 vzalloc(array_size(pixelsz, max_w)); in tpg_alloc()
146 vzalloc(array3_size(max_w, 2, pixelsz)); in tpg_alloc()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/
H A Dbase.c234 iccsense->power_w_crit = entry.max_w; in nvkm_iccsense_oneinit()
/OK3568_Linux_fs/kernel/include/media/tpg/
H A Dv4l2-tpg.h236 int tpg_alloc(struct tpg_data *tpg, unsigned max_w);