Home
last modified time | relevance | path

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

12

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/amvdec_ports/decoder/
Dvdec_h264_if.c130 struct vdec_pic_info pic; member
210 struct vdec_pic_info *pic) in get_pic_info() argument
212 *pic = inst->vsi->pic; in get_pic_info()
216 pic->visible_width, pic->visible_height, in get_pic_info()
217 pic->coded_width, pic->coded_height); in get_pic_info()
219 "Y(%d, %d), C(%d, %d)\n", pic->y_bs_sz, in get_pic_info()
220 pic->y_len_sz, pic->c_bs_sz, pic->c_len_sz); in get_pic_info()
441 static void vdec_config_dw_mode(struct vdec_pic_info *pic, int dw_mode) in vdec_config_dw_mode() argument
445 pic->coded_width += pic->coded_width >> 1; in vdec_config_dw_mode()
446 pic->y_len_sz = pic->coded_width * pic->coded_height; in vdec_config_dw_mode()
[all …]
Dvdec_mpeg12_if.c93 struct vdec_pic_info pic; member
118 struct vdec_pic_info *pic) in get_pic_info() argument
120 *pic = inst->vsi->pic; in get_pic_info()
124 pic->visible_width, pic->visible_height, in get_pic_info()
125 pic->coded_width, pic->coded_height); in get_pic_info()
128 pic->y_bs_sz, pic->y_len_sz, in get_pic_info()
129 pic->c_bs_sz, pic->c_len_sz); in get_pic_info()
267 struct vdec_pic_info *pic = &inst->vsi->pic; in fill_vdec_params() local
272 pic->visible_width = dec_ps->width; in fill_vdec_params()
273 pic->visible_height = dec_ps->height; in fill_vdec_params()
[all …]
Dvdec_mpeg4_if.c93 struct vdec_pic_info pic; member
118 struct vdec_pic_info *pic) in get_pic_info() argument
120 *pic = inst->vsi->pic; in get_pic_info()
124 pic->visible_width, pic->visible_height, in get_pic_info()
125 pic->coded_width, pic->coded_height); in get_pic_info()
128 pic->y_bs_sz, pic->y_len_sz, in get_pic_info()
129 pic->c_bs_sz, pic->c_len_sz); in get_pic_info()
277 struct vdec_pic_info *pic = &inst->vsi->pic; in fill_vdec_params() local
282 pic->visible_width = dec_ps->m.width; in fill_vdec_params()
283 pic->visible_height = dec_ps->m.height; in fill_vdec_params()
[all …]
Dvdec_mjpeg_if.c93 struct vdec_pic_info pic; member
117 struct vdec_pic_info *pic) in get_pic_info() argument
119 *pic = inst->vsi->pic; in get_pic_info()
123 pic->visible_width, pic->visible_height, in get_pic_info()
124 pic->coded_width, pic->coded_height); in get_pic_info()
127 pic->y_bs_sz, pic->y_len_sz, in get_pic_info()
128 pic->c_bs_sz, pic->c_len_sz); in get_pic_info()
204 inst->vsi->pic.visible_width = 1920; in vdec_mjpeg_init()
205 inst->vsi->pic.visible_height = 1080; in vdec_mjpeg_init()
206 inst->vsi->pic.coded_width = 1920; in vdec_mjpeg_init()
[all …]
Dvdec_hevc_if.c94 struct vdec_pic_info pic; member
119 struct vdec_pic_info *pic) in get_pic_info() argument
121 *pic = inst->vsi->pic; in get_pic_info()
125 pic->visible_width, pic->visible_height, in get_pic_info()
126 pic->coded_width, pic->coded_height); in get_pic_info()
128 "Y(%d, %d), C(%d, %d)\n", pic->y_bs_sz, in get_pic_info()
129 pic->y_len_sz, pic->c_bs_sz, pic->c_len_sz); in get_pic_info()
366 struct vdec_pic_info *pic = &inst->vsi->pic; in fill_vdec_params() local
373 pic->visible_width = sps->width - (sps->output_window.left_offset + in fill_vdec_params()
375 pic->visible_height = sps->height - (sps->output_window.top_offset + in fill_vdec_params()
[all …]
Dvdec_vp9_if.c105 struct vdec_pic_info pic; member
133 struct vdec_pic_info *pic) in get_pic_info() argument
135 *pic = inst->vsi->pic; in get_pic_info()
139 pic->visible_width, pic->visible_height, in get_pic_info()
140 pic->coded_width, pic->coded_height); in get_pic_info()
143 pic->y_bs_sz, pic->y_len_sz, in get_pic_info()
144 pic->c_bs_sz, pic->c_len_sz); in get_pic_info()
400 struct vdec_pic_info *pic = &inst->vsi->pic; in fill_vdec_params() local
407 pic->visible_width = vdec_pic_scale(inst, vp9_ctx->render_width, dw); in fill_vdec_params()
408 pic->visible_height = vdec_pic_scale(inst, vp9_ctx->render_height, dw); in fill_vdec_params()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h265/
Dvh265.c1911 struct PIC_s *pic) in is_skip_decoding() argument
1913 if (pic->error_mark in is_skip_decoding()
2070 struct PIC_s *pic);
2073 struct vframe_s *vf, struct PIC_s *pic);
2075 static void set_canvas(struct hevc_state_s *hevc, struct PIC_s *pic);
2078 struct PIC_s *pic);
2079 static void release_pic_mmu_buf(struct hevc_state_s *hevc, struct PIC_s *pic);
2240 static int prepare_display_buf(struct hevc_state_s *hevc, struct PIC_s *pic);
2642 struct PIC_s *pic; in get_free_buf_idx() local
2646 pic = hevc->m_PIC[i]; in get_free_buf_idx()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/avs2/
Dvavs2.c295 struct vframe_s *vf, struct avs2_frame_s *pic, u8 dummy);
962 struct avs2_frame_s *pic = dec->avs2_dec.hc.cur_pic; in avs2_alloc_mmu() local
963 if (pic->header_adr == 0) { in avs2_alloc_mmu()
976 pic->header_adr = buf_addr; in avs2_alloc_mmu()
1082 struct avs2_frame_s *pic)
1096 pic->mv_buf_index = ret;
1097 pic->mpred_mv_wr_start_addr =
1104 pic->mpred_mv_wr_start_addr,
1115 struct avs2_frame_s *pic)
1117 int i = pic->mv_buf_index;
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_sink/encoder/h264/
Dencoder.c666 WRITE_HREG(IDR_PIC_ID, wq->pic.idr_pic_id); in avc_init_encoder()
668 (idr == true) ? 0 : wq->pic.frame_number); in avc_init_encoder()
670 (idr == true) ? 0 : wq->pic.pic_order_cnt_lsb); in avc_init_encoder()
673 wq->pic.log2_max_pic_order_cnt_lsb); in avc_init_encoder()
675 wq->pic.log2_max_frame_num); in avc_init_encoder()
677 WRITE_HREG(QPPICTURE, wq->pic.init_qppicture); in avc_init_encoder()
685 canvas_width = ((wq->pic.encoder_width + 31) >> 5) << 5; in avc_canvas_init()
686 canvas_height = ((wq->pic.encoder_height + 15) >> 4) << 4; in avc_canvas_init()
721 u32 mb_w = (wq->pic.encoder_width + 15) >> 4; in avc_buffspec_init()
722 u32 mb_h = (wq->pic.encoder_height + 15) >> 4; in avc_buffspec_init()
[all …]
Dencoder.h342 struct encode_picinfo_s pic; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/utils/
Dframe_check.c115 static int get_frame_size(struct pic_check_mgr_t *pic, in get_frame_size() argument
124 pic->size_y = vf->width * vf->height; in get_frame_size()
125 pic->size_uv = pic->size_y >> (1 + pic->mjpeg_flag); in get_frame_size()
126 pic->size_pic = pic->size_y + (pic->size_y >> 1); in get_frame_size()
128 if ((!(vf->type & VIDTYPE_VIU_NV21)) && (!pic->mjpeg_flag)) in get_frame_size()
134 pic->canvas_w = in get_frame_size()
136 pic->canvas_h = in get_frame_size()
139 pic->canvas_w = vf->canvas0_config[0].width; in get_frame_size()
140 pic->canvas_h = vf->canvas0_config[0].height; in get_frame_size()
143 if ((pic->canvas_h < 1) || (pic->canvas_w < 1)) { in get_frame_size()
[all …]
Dvdec_v4l2_buffer_ops.c37 struct vdec_pic_info *pic) in vdec_v4l_get_pic_info() argument
45 GET_PARAM_PIC_INFO, pic); in vdec_v4l_get_pic_info()
Dvdec_v4l2_buffer_ops.h29 struct vdec_pic_info *pic);
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg4/
Dvmpeg4_multi.c281 struct pic_info_t pic[DECODE_BUFFER_NUM_MAX]; member
380 if (hw->pic[i].v4l_ref_buf_addr) in vmpeg4_v4l_alloc_buff_config_canvas()
393 struct vdec_pic_info pic; in vmpeg4_v4l_alloc_buff_config_canvas() local
394 vdec_v4l_get_pic_info(ctx, &pic); in vmpeg4_v4l_alloc_buff_config_canvas()
395 hw->frame_width = pic.visible_width; in vmpeg4_v4l_alloc_buff_config_canvas()
396 hw->frame_height = pic.visible_height; in vmpeg4_v4l_alloc_buff_config_canvas()
402 hw->pic[i].v4l_ref_buf_addr = (ulong)fb; in vmpeg4_v4l_alloc_buff_config_canvas()
653 struct pic_info_t *pic) in prepare_display_buf() argument
659 int index = pic->index; in prepare_display_buf()
672 if (pic->pic_info & INTERLACE_FLAG) { in prepare_display_buf()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/h264_multi/
Dvmh264.c481 #define AUX_DATA_SIZE(pic) (hw->buffer_spec[pic->buf_spec_num].aux_data_size) argument
482 #define AUX_DATA_BUF(pic) (hw->buffer_spec[pic->buf_spec_num].aux_data_buf) argument
1467 struct StorablePicture *pic) { in hevc_sao_set_pic_buffer() argument
1483 WRITE_VREG(CURR_CANVAS_CTRL, pic->buf_spec_num << 24); in hevc_sao_set_pic_buffer()
1495 dw_y_adr = hw->buffer_spec[pic->buf_spec_num].dw_y_adr; in hevc_sao_set_pic_buffer()
1496 dw_u_v_adr = hw->buffer_spec[pic->buf_spec_num].dw_u_v_adr; in hevc_sao_set_pic_buffer()
1532 ret = hevc_alloc_mmu(hw, pic->buf_spec_num, in hevc_sao_set_pic_buffer()
1538 pic->buf_spec_num, in hevc_sao_set_pic_buffer()
2119 struct buffer_spec_s *pic = NULL; in v4l_get_free_buf_idx() local
2130 pic = &hw->buffer_spec[i]; in v4l_get_free_buf_idx()
[all …]
Dh264_dpb.c1076 struct StorablePicture *pic; in dump_pic() local
1078 pic = &(p_H264_Dpb->m_PIC[ii]); in dump_pic()
1079 if (pic->is_used) { in dump_pic()
1082 ii, pic->index, in dump_pic()
1083 pic->poc, in dump_pic()
1084 pic->is_used, in dump_pic()
1085 pic->buf_spec_num, in dump_pic()
1086 pic->colocated_buf_index, in dump_pic()
1087 pic->used_for_reference, in dump_pic()
1088 pic->is_long_term, in dump_pic()
[all …]
Dh264_dpb.h942 struct StorablePicture *pic);
959 struct StorablePicture *pic,
/device/soc/allwinner/t507/hardware/codec/media/etc/
Dcedarc.conf16 vdecoder_save_picture_path = /data/camera/pic.dat
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vp9/
Dvvp9.c1244 struct PIC_BUFFER_CONFIG_s *pic);
2231 struct PIC_BUFFER_CONFIG_s *pic = NULL; in v4l_get_free_fb() local
2243 pic = &frame_bufs[i].buf; in v4l_get_free_fb()
2245 (pic->vf_ref == 0) && in v4l_get_free_fb()
2246 (pic->index != -1) && in v4l_get_free_fb()
2247 pic->cma_alloc_addr) { in v4l_get_free_fb()
2252 pic = &frame_bufs[index].buf; in v4l_get_free_fb()
2253 pic->y_crop_width = pbi->frame_width; in v4l_get_free_fb()
2254 pic->y_crop_height = pbi->frame_height; in v4l_get_free_fb()
2255 if (!v4l_alloc_and_config_pic(pbi, pic)) { in v4l_get_free_fb()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/mpeg12/
Dvmpeg12_multi.c433 struct vdec_pic_info pic; in vmpeg12_v4l_alloc_buff_config_canvas() local
434 vdec_v4l_get_pic_info(ctx, &pic); in vmpeg12_v4l_alloc_buff_config_canvas()
435 hw->frame_width = pic.visible_width; in vmpeg12_v4l_alloc_buff_config_canvas()
436 hw->frame_height = pic.visible_height; in vmpeg12_v4l_alloc_buff_config_canvas()
1526 struct pic_info_t *pic) in prepare_display_buf() argument
1531 u32 index = pic->index; in prepare_display_buf()
1532 u32 info = pic->buffer_info; in prepare_display_buf()
1554 user_data_ready_notify(hw, pic->pts, pic->pts_valid); in prepare_display_buf()
1628 vf->pts = (pic->pts_valid) ? pic->pts : 0; in prepare_display_buf()
1629 vf->pts_us64 = (pic->pts_valid) ? pic->pts64 : 0; in prepare_display_buf()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/doc/
D6.2.获取sample依赖的资源文件到本地.md39 │ │ └─pic
/device/soc/amlogic/a311d/hardware/media/libamplayer/include/
Dplayer_type.h126 audio_cover_type pic; member
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_provider/decoder/vav1/
Dvav1.c2000 struct PIC_BUFFER_CONFIG_s *pic, unsigned char suffix_flag, in set_pic_aux_data() argument
2003 if (pic == NULL) in set_pic_aux_data()
2005 set_aux_data(hw, &pic->aux_data_buf, in set_pic_aux_data()
2006 &pic->aux_data_size, suffix_flag, dv_meta_flag); in set_pic_aux_data()
2010 struct PIC_BUFFER_CONFIG_s *pic) in copy_dv_data() argument
2014 new_size = pic->aux_data_size + hw->dv_data_size; in copy_dv_data()
2021 hw->dv_data_size, pic->index); in copy_dv_data()
2023 if (pic->aux_data_buf) { in copy_dv_data()
2024 memcpy(new_buf, pic->aux_data_buf, pic->aux_data_size); in copy_dv_data()
2025 vfree(pic->aux_data_buf); in copy_dv_data()
[all …]
/device/board/unionman/unionpi_tiger/kernel/hdf/wifi/rtl8822cs/
DMakefile23 EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -fno-pic
/device/soc/hisilicon/common/hal/middleware/ffmpeg_adapt/
Dconfigure_llvm407 --enable-pic build position-independent code
5294 enabled shared && enable_weak pic
5298 enabled shared && enable_weak pic
5302 enabled shared && enable_weak pic
5306 enabled shared && enable_weak pic
5310 enabled shared && enable_weak pic
5314 enabled shared && enable_weak pic
5322 enabled shared && enable_weak pic
5406 enabled_any pic shared x86_64 ||
5407 { check_cflags -mdynamic-no-pic && add_asflags -mdynamic-no-pic; }
[all …]

12