Home
last modified time | relevance | path

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

12

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264/
Dvh264.c181 static u32 frame_width, frame_height, frame_dur, frame_prog, frame_packing_type, variable
187 static u32 frame_width, frame_height, frame_dur, frame_prog, last_duration; variable
1885 vf->height = frame_height; in set_frame_info()
1900 vf->left_eye.height = frame_height; in set_frame_info()
1905 vf->right_eye.height = frame_height; in set_frame_info()
1911 vf->left_eye.height = frame_height; in set_frame_info()
1916 vf->right_eye.height = frame_height; in set_frame_info()
2076 || (mb_height != ((frame_height + 15) >> 4))) in vh264_set_params()
2077 frame_height = 0; in vh264_set_params()
2081 if ((frame_width == 0) || (frame_height == 0) || crop_infor) { in vh264_set_params()
[all …]
Dvh264_4k2k.c113 static u32 frame_width, frame_height, frame_dur, frame_ar; variable
306 vf->height = frame_height / 2; in set_frame_info()
309 vf->height = frame_height; in set_frame_info()
612 if ((frame_width == 0) || (frame_height == 0) || crop_infor || in do_alloc_work()
616 frame_height = mb_height << 4; in do_alloc_work()
620 frame_height -= (2 >> chroma444) * in do_alloc_work()
627 frame_height -= (4 >> chroma444) * in do_alloc_work()
635 frame_mbs_only_flag, crop_bottom, frame_height, in do_alloc_work()
661 if (frame_height == 0) in do_alloc_work()
662 frame_height = mb_height << 4; in do_alloc_work()
[all …]
Dvh264_mvc.c107 static u32 frame_width, frame_height, frame_dur; variable
327 vf->height = frame_height; in set_frame_info()
488 if (frame_height == 0) in vh264mvc_vf_get()
489 frame_height = vh264mvc_amstream_dec_info.height; in vh264mvc_vf_get()
492 vf->height = frame_height; in vh264mvc_vf_get()
801 if (frame_height == 0) { in do_alloc_work()
802 frame_height = mb_height << 4; in do_alloc_work()
803 if (frame_height == 1088) in do_alloc_work()
804 frame_height = 1080; in do_alloc_work()
880 if (frame_height == 0) { in do_alloc_work()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mjpeg/
Dvmjpeg.c123 static u32 frame_width, frame_height, frame_dur; variable
160 vf->height = frame_height; in set_frame_info()
391 frame_width * frame_height * (96000 / frame_dur)) { in mjpeg_set_clk()
394 saved_resolution = frame_width * frame_height * fps; in mjpeg_set_clk()
396 frame_width, frame_height, fps); in mjpeg_set_clk()
430 vstatus->frame_height = frame_height; in vmjpeg_dec_status()
667 WRITE_VREG(MREG_DECODE_PARAM, (frame_height << 4) | 0x8000); in vmjpeg_prot_init()
700 frame_height = vmjpeg_amstream_dec_info.height; in vmjpeg_local_init()
704 frame_width, frame_height, frame_dur); in vmjpeg_local_init()
Dvmjpeg_multi.c191 u32 frame_height; member
240 vf->height = hw->frame_height = 1088; in set_frame_info()
242 vf->height = hw->frame_height = temp; in set_frame_info()
319 ps.visible_height = hw->frame_height; in vmjpeg_isr_thread_fn()
321 ps.coded_height = ALIGN(hw->frame_height, 64); in vmjpeg_isr_thread_fn()
461 vstatus->frame_height = hw->frame_height; in vmjpeg_dec_status()
674 hw->frame_height, in vmjpeg_dump_state()
881 canvas_height = ALIGN(hw->frame_height, 16); in vmjpeg_v4l_alloc_buff_config_canvas()
888 canvas_height = ALIGN(hw->frame_height, 16); in vmjpeg_v4l_alloc_buff_config_canvas()
1051 WRITE_VREG(MREG_DECODE_PARAM, (hw->frame_height << 4) | 0x8000); in vmjpeg_hw_ctx_restore()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg12/
Dvmpeg12.c168 static u32 frame_width, frame_height, frame_dur, frame_prog; variable
259 bool first = (frame_width == 0) && (frame_height == 0); in set_frame_info()
269 vf->height = frame_height = 1088; in set_frame_info()
271 vf->height = frame_height = temp; in set_frame_info()
303 frame_width, frame_height, frame_dur, in set_frame_info()
909 && (frame_height == 576) in vmpeg12_isr()
914 && (frame_width == 704) && (frame_height == 480) in vmpeg12_isr()
919 && (frame_width == 704) && (frame_height == 576) in vmpeg12_isr()
924 && (frame_width == 544) && (frame_height == 576) in vmpeg12_isr()
929 && (frame_width == 480) && (frame_height == 576) in vmpeg12_isr()
[all …]
Dvmpeg12_multi.c229 u32 frame_height; member
432 if (!hw->frame_width || !hw->frame_height) { in vmpeg12_v4l_alloc_buff_config_canvas()
436 hw->frame_height = pic.visible_height; in vmpeg12_v4l_alloc_buff_config_canvas()
439 hw->frame_width, hw->frame_height); in vmpeg12_v4l_alloc_buff_config_canvas()
449 canvas_height = ALIGN(hw->frame_height, 32); in vmpeg12_v4l_alloc_buff_config_canvas()
457 canvas_height = ALIGN(hw->frame_height, 32); in vmpeg12_v4l_alloc_buff_config_canvas()
711 hw->frame_width, hw->frame_height, hw->frame_dur, in set_frame_info()
1505 if (hw->gvs.frame_height != hw->frame_height) { in hw_update_gvs()
1507 hw->gvs.frame_height = hw->frame_height; in hw_update_gvs()
1692 (hw->frame_height == 576) && in force_interlace_check()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/real/
Dvreal.c138 static u32 frame_width, frame_height, frame_dur, frame_prog; variable
451 frame_width * frame_height * (96000 / frame_dur)) { in vreal_set_clk()
454 saved_resolution = frame_width * frame_height * fps; in vreal_set_clk()
456 frame_width, frame_height, fps); in vreal_set_clk()
528 vstatus->frame_height = vreal_amstream_dec_info.height; in vreal_dec_status()
702 WRITE_VREG(MDEC_HEIGHT, (frame_height + 15) & 0xfff0); in vreal_prot_init()
729 frame_height = vreal_amstream_dec_info.height; in vreal_local_init()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg4/
Dvmpeg4_multi.c226 u32 frame_height; member
392 if (!hw->frame_width || !hw->frame_height) { in vmpeg4_v4l_alloc_buff_config_canvas()
396 hw->frame_height = pic.visible_height; in vmpeg4_v4l_alloc_buff_config_canvas()
399 hw->frame_width, hw->frame_height); in vmpeg4_v4l_alloc_buff_config_canvas()
409 canvas_height = ALIGN(hw->frame_height, 64); in vmpeg4_v4l_alloc_buff_config_canvas()
417 canvas_height = ALIGN(hw->frame_height, 64); in vmpeg4_v4l_alloc_buff_config_canvas()
550 hw->frame_height * den * 0x100ULL + in set_frame_info()
556 ar = (hw->frame_height * den * in set_frame_info()
690 vf->height = hw->frame_height; in prepare_display_buf()
742 vf->height = hw->frame_height; in prepare_display_buf()
[all …]
Dvmpeg4.c156 static u32 frame_width, frame_height, frame_dur, frame_prog; variable
712 saved_resolution = frame_width * frame_height * fps; in vmpeg4_set_clk()
714 frame_width, frame_height, fps); in vmpeg4_set_clk()
733 frame_width * frame_height * (96000 / frame_dur)) in vmpeg_put_timer_func()
753 vstatus->frame_height = vmpeg4_amstream_dec_info.height; in vmpeg4_dec_status()
975 frame_width = frame_height = frame_dur = frame_prog = 0; in vmpeg4_local_init()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs/
Davs.c170 static u32 frame_width, frame_height, frame_dur, frame_prog; variable
266 frame_height = vf->height; in set_frame_info()
498 && frame_width == 1920 && frame_height == 1080) { in vavs_isr()
817 vstatus->frame_height = frame_height; in vavs_dec_status()
1169 frame_width = frame_height = frame_dur = frame_prog = 0; in vavs_local_init()
1315 saved_resolution = frame_width * frame_height * fps; in avs_set_clk()
1322 frame_width, frame_height, fps); in avs_set_clk()
1414 frame_width * frame_height * (96000 / frame_dur)) in vavs_put_timer_func()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vc1/
Dvvc1.c137 static u32 frame_width, frame_height, frame_dur; variable
305 frame_height = v_height; in vvc1_isr()
738 vstatus->frame_height = vvc1_amstream_dec_info.height; in vvc1_dec_status()
937 frame_width = frame_height = frame_dur = 0; in vvc1_local_init()
999 saved_resolution = frame_width * frame_height * fps; in vvc1_set_clk()
1001 frame_width, frame_height, fps); in vvc1_set_clk()
1041 frame_width * frame_height * (96000 / frame_dur)) in vvc1_put_timer_func()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264_multi/
Dvmh264.c704 u32 frame_height; member
1069 pic_height = hw->frame_height; in get_dw_size()
1159 canvas_h = hw->frame_height / in hevc_mcr_config_canv2axitbl()
2086 canvas_h = hw->frame_height / in config_decode_canvas_ex()
2556 && (hw->frame_height >= 1080) in check_force_interlace()
2561 && (hw->frame_height == 576) in check_force_interlace()
2850 vf->compHeight = hw->frame_height; in prepare_display_buf()
2869 vf->height = hw->frame_height / in prepare_display_buf()
3973 vf->compHeight = hw->frame_height; in vh264_vf_get()
3978 vf->height = hw->frame_height / in vh264_vf_get()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Dvdec_input.h129 int frame_width, int frame_height);
Dvdec_input.c293 int frame_width, int frame_height) in vdec_input_prepare_bufs() argument
303 if (frame_width * frame_height >= 1920 * 1088) { in vdec_input_prepare_bufs()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs_multi/
Davs_multi.c293 static u32 frame_width, frame_height, frame_dur, frame_prog;
408 u32 frame_height; member
748 hw->frame_height = vf->height; in set_frame_info()
916 if (hw->gvs->frame_height != hw->frame_height) { in avs_update_gvs()
918 hw->gvs->frame_height = hw->frame_height; in avs_update_gvs()
1126 && hw->frame_width == 1920 && hw->frame_height == 1080) { in vavs_isr()
1617 vstatus->frame_height = hw->frame_height; in vavs_dec_status()
2251 hw->frame_width = hw->frame_height = hw->frame_dur = hw->frame_prog = 0; in vavs_local_init()
2409 hw->frame_width * hw->frame_height * (96000 / hw->frame_dur)) { in avs_set_clk()
2412 hw->saved_resolution = hw->frame_width * hw->frame_height * fps; in avs_set_clk()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/src/platform/
Dsystem_am_adap.c573 long frame_height = 0; in inject_frame_write() local
597 frame_height = getulfromstr(parm[2]); in inject_frame_write()
599 if (frame_width < 0 || frame_height < 0 || bit_depth < 0) { in inject_frame_write()
608 file_size = stride * frame_height; in inject_frame_write()
610 frame_width, frame_height, in inject_frame_write()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/utils/
Damstream.h343 u32 frame_height; member
762 u32 frame_height; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs2/
Dvavs2.c325 static u32 frame_height; variable
706 unsigned int frame_height; member
2305 dec->frame_height = avs2_dec->img.height;
4550 if (dec->gvs->frame_height != dec->frame_height) {
4552 dec->gvs->frame_height = dec->frame_height;
6122 frame_width * frame_height *
6126 frame_width, frame_height, fps) > 0)
6128 frame_height * fps;
6145 vstatus->frame_height = dec->frame_height;
6587 dec->frame_height = dec->vavs2_amstream_dec_info.height;
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vp9/
Dvvp9.c244 static u32 frame_height; variable
1114 unsigned int frame_height; member
1612 h = pbi->frame_height; in v4l_parser_get_double_write_mode()
2254 pic->y_crop_height = pbi->frame_height; in v4l_get_free_fb()
4818 int lcu_total = calc_luc_quantity(pbi->frame_width, pbi->frame_height); in v4l_alloc_and_config_pic()
5243 frame_height = cur_pic_config->y_crop_height; in config_pic_size()
7072 if (pbi->gvs->frame_height != frame_height) { in pbi_update_gvs()
7074 pbi->gvs->frame_height = frame_height; in pbi_update_gvs()
8226 ps->visible_height = pbi->frame_height / get_double_write_ratio(pbi, dw_mode); in vvp9_get_ps_info()
8228 ps->coded_height = ALIGN(pbi->frame_height, 32) / get_double_write_ratio(pbi, dw_mode); in vvp9_get_ps_info()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vav1/
Dvav1.c355 static u32 frame_height; variable
732 unsigned int frame_height; member
2837 frame_height = cur_pic_config->y_crop_height; in config_pic_size()
2846 (frame_height << 16) | frame_width); in config_pic_size()
2850 (frame_height << 16) | frame_width); in config_pic_size()
2860 compute_losless_comp_header_size_dw(frame_width, frame_height); in config_pic_size()
2862 compute_losless_comp_body_size_dw(frame_width, frame_height, in config_pic_size()
2868 (frame_width, frame_height); in config_pic_size()
2871 frame_height, (bit_depth == AOM_BITS_10)); in config_pic_size()
2877 __func__, frame_width, frame_height, bit_depth, in config_pic_size()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/include/
Dvou_reg.h3980 unsigned int frame_height : 13; /* [28..16] */ member
7301 unsigned int frame_height : 14; /* [29..16] */ member
7354 unsigned int frame_height : 14; /* [29..16] */ member
7964 unsigned int frame_height : 14; /* [29..16] */ member
8057 unsigned int frame_height : 14; /* [29..16] */ member
8198 unsigned int frame_height : 13; /* [28..16] */ member
9103 unsigned int frame_height : 13; /* [28..16] */ member
Dvou_drv.h330 int frame_height; member
375 hi_u16 frame_height; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h265/
Dvh265.c1649 u32 frame_height; member
6916 hevc->frame_height = hevc->pic_h; in hevc_slice_segment_header_process()
7817 if (hevc->frame_width == 0 || hevc->frame_height == 0) { in init_buf_spec()
7819 hevc->frame_height = pic_height; in init_buf_spec()
8697 if (hevc->gvs->frame_height != hevc->frame_height) { in hevc_update_gvs()
8699 hevc->gvs->frame_height = hevc->frame_height; in hevc_update_gvs()
10835 hevc->frame_width, hevc->frame_height, fps) > 0) in vh265_set_clk()
10837 hevc->frame_height * fps; in vh265_set_clk()
11054 hevc->frame_width * hevc->frame_height * in vh265_check_timer_func()
11134 vstatus->frame_height = in vh265_dec_status()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/media/i2c/
Dtc35874x.c436 unsigned width, height, frame_width, frame_height, frame_interval, fps; in tc35874x_get_detected_timings() local
461 frame_height = (((i2c_rd8(sd, V_SIZE_HI) & 0x3f) << 8) + in tc35874x_get_detected_timings()
472 bt->vsync = frame_height - height; in tc35874x_get_detected_timings()
474 bt->pixelclock = frame_width * frame_height * fps; in tc35874x_get_detected_timings()

12