/linux/drivers/media/platform/qcom/iris/ |
H A D | iris_vpu_buffer.c | 9 static u32 size_h264d_hw_bin_buffer(u32 frame_width, u32 frame_height, u32 num_vpp_pipes) in size_h264d_hw_bin_buffer() argument 13 size_yuv = ((frame_width * frame_height) <= BIN_BUFFER_THRESHOLD) ? in size_h264d_hw_bin_buffer() 15 ((frame_width * frame_height * 3) >> 1); in size_h264d_hw_bin_buffer() 26 static u32 hfi_buffer_bin_h264d(u32 frame_width, u32 frame_height, u32 num_vpp_pipes) in hfi_buffer_bin_h264d() argument 28 u32 n_aligned_h = ALIGN(frame_height, 16); in hfi_buffer_bin_h264d() 34 static u32 size_h265d_hw_bin_buffer(u32 frame_width, u32 frame_height, u32 num_vpp_pipes) in size_h265d_hw_bin_buffer() argument 36 u32 product = frame_width * frame_height; in size_h265d_hw_bin_buffer() 49 static u32 hfi_buffer_bin_vp9d(u32 frame_width, u32 frame_height, u32 num_vpp_pipes) in hfi_buffer_bin_vp9d() argument 51 u32 _size_yuv = ALIGN(frame_width, 16) * ALIGN(frame_height, 16) * 3 / 2; in hfi_buffer_bin_vp9d() 62 static u32 hfi_buffer_bin_h265d(u32 frame_width, u32 frame_height, u3 argument 70 hfi_buffer_comv_h264d(u32 frame_width,u32 frame_height,u32 _comv_bufcount) hfi_buffer_comv_h264d() argument 94 hfi_buffer_comv_h265d(u32 frame_width,u32 frame_height,u32 _comv_bufcount) hfi_buffer_comv_h265d() argument 105 size_h264d_bse_cmd_buf(u32 frame_height) size_h264d_bse_cmd_buf() argument 113 size_h265d_bse_cmd_buf(u32 frame_width,u32 frame_height) size_h265d_bse_cmd_buf() argument 151 size_h264d_vpp_cmd_buf(u32 frame_height) size_h264d_vpp_cmd_buf() argument 169 hfi_buffer_non_comv_h264d(u32 frame_width,u32 frame_height,u32 num_vpp_pipes) hfi_buffer_non_comv_h264d() argument 180 size_h265d_vpp_cmd_buf(u32 frame_width,u32 frame_height) size_h265d_vpp_cmd_buf() argument 194 hfi_buffer_non_comv_h265d(u32 frame_width,u32 frame_height,u32 num_vpp_pipes) hfi_buffer_non_comv_h265d() argument 210 size_vpss_lb(u32 frame_width,u32 frame_height) size_vpss_lb() argument 236 size_h265d_lb_fe_top_data(u32 frame_width,u32 frame_height) size_h265d_lb_fe_top_data() argument 243 size_h265d_lb_fe_top_ctrl(u32 frame_width,u32 frame_height) size_h265d_lb_fe_top_ctrl() argument 250 size_h265d_lb_fe_left_ctrl(u32 frame_width,u32 frame_height) size_h265d_lb_fe_left_ctrl() argument 257 size_h265d_lb_se_top_ctrl(u32 frame_width,u32 frame_height) size_h265d_lb_se_top_ctrl() argument 263 size_h265d_lb_se_left_ctrl(u32 frame_width,u32 frame_height) size_h265d_lb_se_left_ctrl() argument 274 size_h265d_lb_pe_top_data(u32 frame_width,u32 frame_height) size_h265d_lb_pe_top_data() argument 281 size_h265d_lb_vsp_top(u32 frame_width,u32 frame_height) size_h265d_lb_vsp_top() argument 287 size_h265d_lb_vsp_left(u32 frame_width,u32 frame_height) size_h265d_lb_vsp_left() argument 293 size_h265d_lb_recon_dma_metadata_wr(u32 frame_width,u32 frame_height) size_h265d_lb_recon_dma_metadata_wr() argument 299 size_h265d_qp(u32 frame_width,u32 frame_height) size_h265d_qp() argument 305 hfi_buffer_line_h265d(u32 frame_width,u32 frame_height,bool is_opb,u32 num_vpp_pipes) hfi_buffer_line_h265d() argument 330 size_vpxd_lb_fe_left_ctrl(u32 frame_width,u32 frame_height) size_vpxd_lb_fe_left_ctrl() argument 341 size_vpxd_lb_fe_top_ctrl(u32 frame_width,u32 frame_height) size_vpxd_lb_fe_top_ctrl() argument 347 size_vpxd_lb_se_top_ctrl(u32 frame_width,u32 frame_height) size_vpxd_lb_se_top_ctrl() argument 353 size_vpxd_lb_se_left_ctrl(u32 frame_width,u32 frame_height) size_vpxd_lb_se_left_ctrl() argument 364 size_vpxd_lb_recon_dma_metadata_wr(u32 frame_width,u32 frame_height) size_vpxd_lb_recon_dma_metadata_wr() argument 371 size_mp2d_lb_fe_top_data(u32 frame_width,u32 frame_height) size_mp2d_lb_fe_top_data() argument 377 size_vp9d_lb_fe_top_data(u32 frame_width,u32 frame_height) size_vp9d_lb_fe_top_data() argument 383 size_vp9d_lb_pe_top_data(u32 frame_width,u32 frame_height) size_vp9d_lb_pe_top_data() argument 389 size_vp9d_lb_vsp_top(u32 frame_width,u32 frame_height) size_vp9d_lb_vsp_top() argument 395 size_vp9d_qp(u32 frame_width,u32 frame_height) size_vp9d_qp() argument 401 hfi_iris3_vp9d_lb_size(u32 frame_width,u32 frame_height,u32 num_vpp_pipes) hfi_iris3_vp9d_lb_size() argument 418 hfi_buffer_line_vp9d(u32 frame_width,u32 frame_height,u32 _yuv_bufcount_min,bool is_opb,u32 num_vpp_pipes) hfi_buffer_line_vp9d() argument 432 hfi_buffer_line_h264d(u32 frame_width,u32 frame_height,bool is_opb,u32 num_vpp_pipes) hfi_buffer_line_h264d() argument [all...] |
H A D | iris_vpu_buffer.h | 93 static inline u32 size_h264d_lb_fe_left_ctrl(u32 frame_height) in size_h264d_lb_fe_left_ctrl() argument 95 return MAX_FE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE * DIV_ROUND_UP(frame_height, 16); in size_h264d_lb_fe_left_ctrl() 103 static inline u32 size_h264d_lb_se_left_ctrl(u32 frame_height) in size_h264d_lb_se_left_ctrl() argument 105 return MAX_SE_NBR_CTRL_LCU64_LINE_BUFFER_SIZE * DIV_ROUND_UP(frame_height, 16); in size_h264d_lb_se_left_ctrl() 118 static inline u32 size_h264d_lb_recon_dma_metadata_wr(u32 frame_height) in size_h264d_lb_recon_dma_metadata_wr() argument 120 return ALIGN(frame_height, 16) * 32; in size_h264d_lb_recon_dma_metadata_wr() 123 static inline u32 size_h264d_qp(u32 frame_width, u32 frame_height) in size_h264d_qp() argument 125 return DIV_ROUND_UP(frame_width, 64) * DIV_ROUND_UP(frame_height, 64) * 128; in size_h264d_qp()
|
H A D | iris_hfi_gen1_defines.h | 416 u32 frame_height; member
|
/linux/drivers/media/platform/st/sti/hva/ |
H A D | hva-h264.c | 153 * @frame_height: height in pixels of the buffer containing the input frame 282 u16 frame_height; member 608 u32 frame_height = frame->info.aligned_height; in hva_h264_prepare_task() local 615 (frame_height > max(H264_MAX_SIZE_W, H264_MAX_SIZE_H))) { in hva_h264_prepare_task() 618 pctx->name, frame_width, frame_height, in hva_h264_prepare_task() 629 td->frame_height = frame_height; in hva_h264_prepare_task() 633 td->window_height = frame_height; in hva_h264_prepare_task() 789 frame_height); in hva_h264_prepare_task() 795 frame_height); in hva_h264_prepare_task() 895 u32 frame_height = pctx->frameinfo.aligned_height; hva_h264_open() local [all...] |
/linux/drivers/media/i2c/ |
H A D | ths7303.c | 288 u32 frame_width, frame_height; in ths7303_log_status() local 291 frame_height = V4L2_DV_BT_FRAME_HEIGHT(bt); in ths7303_log_status() 295 (frame_height * frame_width) > 0 ? in ths7303_log_status() 297 (frame_height * frame_width) : 0, in ths7303_log_status() 298 frame_width, frame_height, in ths7303_log_status()
|
H A D | tc358743.c | 329 unsigned width, height, frame_width, frame_height, frame_interval, fps; in tc358743_get_detected_timings() local 356 frame_height = (((i2c_rd8(sd, V_SIZE_HI) & 0x3f) << 8) + in tc358743_get_detected_timings() 367 bt->vsync = frame_height - height; in tc358743_get_detected_timings() 369 bt->pixelclock = frame_width * frame_height * fps; in tc358743_get_detected_timings()
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-dv-timings.c | 475 * @frame_height - the total height of the frame (including blanking) in lines. 491 bool v4l2_detect_cvt(unsigned int frame_height, in v4l2_detect_cvt() argument 555 image_height = (frame_height - 2 * v_fp - 2 * vsync - 2 * v_bp) & ~0x1; in v4l2_detect_cvt() 557 image_height = (frame_height - v_fp - vsync - v_bp + 1) & ~0x1; in v4l2_detect_cvt() 642 t.bt.vbackporch = frame_height - image_height - v_fp - vsync; in v4l2_detect_cvt() 645 t.bt.vbackporch = (frame_height - image_height - 2 * v_fp - in v4l2_detect_cvt() 647 t.bt.il_vbackporch = frame_height - image_height - 2 * v_fp - in v4l2_detect_cvt() 697 * @frame_height - the total height of the frame (including blanking) in lines. 715 bool v4l2_detect_gtf(unsigned int frame_height, in v4l2_detect_gtf() argument 748 image_height = (frame_height in v4l2_detect_gtf() [all...] |
/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta-mjpeg-hdr.c | 34 header->frame_height, in header_str() 55 header->frame_height = be16_to_cpu(*(__be16 *)(data + offset)); in delta_mjpeg_read_sof()
|
H A D | delta-mjpeg.h | 25 unsigned int frame_height; member
|
H A D | delta-mjpeg-dec.c | 359 streaminfo->height = ctx->header->frame_height; in delta_mjpeg_get_streaminfo() 388 if (header->frame_width * header->frame_height > in delta_mjpeg_decode() 394 header->frame_height, DELTA_MJPEG_MAX_RESO); in delta_mjpeg_decode()
|
/linux/include/media/ |
H A D | v4l2-dv-timings.h | 141 * @frame_height: the total height of the frame (including blanking) in lines. 157 bool v4l2_detect_cvt(unsigned int frame_height, unsigned int hfreq, 166 * @frame_height: the total height of the frame (including blanking) in lines. 184 bool v4l2_detect_gtf(unsigned int frame_height, unsigned int hfreq,
|
/linux/drivers/staging/media/meson/vdec/ |
H A D | codec_h264.c | 330 u32 frame_width, frame_height; in codec_h264_src_change() local 350 frame_height = h264->mb_height * 16 - crop_bottom; in codec_h264_src_change() 353 frame_width, frame_height, crop_right, crop_bottom); in codec_h264_src_change() 356 amvdec_src_change(sess, frame_width, frame_height, h264->max_refs + 5); in codec_h264_src_change()
|
/linux/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr_1.0/ |
H A D | ia_css_tnr_param.h | 27 u32 frame_height; member
|
H A D | ia_css_tnr.host.c | 77 to->frame_height = from->tnr_frames[0]->frame_info.res.height; in ia_css_tnr_config()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_av1_req_lat_if.c | 418 * @frame_height: frame's height 464 u32 frame_height; member 585 * @frame_height: frame height 598 u32 frame_height; member 923 cur_frame_info->frame_height = uh->frame_height; in vdec_av1_slice_setup_slot() 925 cur_frame_info->mi_rows = ((uh->frame_height + 7) >> 3) << 1; in vdec_av1_slice_setup_slot() 945 h = vsi->frame.uh.frame_height; in vdec_av1_slice_alloc_working_buffer() 1323 uh->frame_height = ctrl_fh->frame_height_minus_1 + 1; in vdec_av1_slice_setup_uh() 1325 uh->mi_rows = ((uh->frame_height in vdec_av1_slice_setup_uh() 1442 u32 frame_height = uh->frame_height; vdec_av1_slice_setup_scale_factors() local [all...] |
H A D | vdec_vp9_req_lat_if.c | 185 u16 frame_height; member 262 u16 frame_height; member 558 h = vsi->frame.uh.frame_height; in vdec_vp9_slice_alloc_working_buffer() 747 uh->frame_height = hdr->frame_height_minus_1 + 1; in vdec_vp9_slice_setup_hdr() 1051 uh->frame_height != instance->height) { in vdec_vp9_slice_setup_seg_buffer() 1606 instance->height = vsi->frame.uh.frame_height; in vdec_vp9_slice_update_single() 1639 instance->height = vsi->frame.uh.frame_height; in vdec_vp9_slice_update_lat() 1676 h = vsi->frame.uh.frame_height; in vdec_vp9_slice_setup_core_buffer() 1710 ref->frame_height = h; in vdec_vp9_slice_setup_core_buffer() 1716 ref->frame_height in vdec_vp9_slice_setup_core_buffer() [all...] |
/linux/drivers/media/pci/cobalt/ |
H A D | m00389_cvi_memmap_package.h | 17 uint32_t frame_height; /* Reg 0x0008, Default=0xc */ member
|
H A D | cobalt-v4l2.c | 308 iowrite32(bt->height, &cvi->frame_height); in cobalt_start_streaming() 509 ioread32(&cvi->frame_width), ioread32(&cvi->frame_height)); in cobalt_video_input_status_show()
|
/linux/drivers/media/platform/qcom/venus/ |
H A D | hfi_msgs.h | 197 u32 frame_height; member
|
/linux/drivers/media/platform/ti/vpe/ |
H A D | vpdma.h | 253 int frame_height, int start_h, int start_v);
|
H A D | vpdma.c | 743 pr_debug("word4: frame_width = %d, frame_height = %d\n", in dump_dtd() 858 int frame_height, int start_h, int start_v) in vpdma_add_in_dtd() argument 896 frame_height); in vpdma_add_in_dtd()
|
H A D | vpe.c | 1092 int frame_width, frame_height; in add_in_dtd() local 1173 frame_height = q_data->c_rect.height; in add_in_dtd() 1177 frame_height /= 2; in add_in_dtd() 1182 frame_height, 0, 0); in add_in_dtd()
|
/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-abi.h | 1170 u16 frame_height; member 1176 u16 frame_height; member 1184 u16 frame_height; member 1881 u32 frame_height; member
|
/linux/drivers/media/platform/chips-media/wave5/ |
H A D | wave5-hw.c | 772 u32 mv_col_size, frame_width, frame_height, fbc_y_tbl_size, fbc_c_tbl_size; in wave5_vpu_dec_register_framebuffer() local 811 frame_height = init_info->pic_height; in wave5_vpu_dec_register_framebuffer() 812 fbc_y_tbl_size = ALIGN(WAVE5_FBC_LUMA_TABLE_SIZE(frame_width, frame_height), 16); in wave5_vpu_dec_register_framebuffer() 813 fbc_c_tbl_size = ALIGN(WAVE5_FBC_CHROMA_TABLE_SIZE(frame_width, frame_height), 16); in wave5_vpu_dec_register_framebuffer()
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc.c | 2556 u16 frame_width, frame_height; in dispc_ovl_setup_common() local 2663 frame_height = height; in dispc_ovl_setup_common() 2672 frame_width, frame_height, in dispc_ovl_setup_common() 2678 screen_width, frame_width, frame_height, in dispc_ovl_setup_common()
|