Home
last modified time | relevance | path

Searched refs:ps_pic_buf (Results 1 – 22 of 22) sorted by relevance

/external/libavc/common/
Dih264_dpb_mgr.c94 ps_dpb_info[i].ps_pic_buf = NULL; in ih264_dpb_mgr_init()
147 pic_buf_t *ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num() local
156 frame_num_node1 = ps_dpb_node1->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
157 frame_num_node2 = ps_dpb_node2->ps_pic_buf->i4_frame_num; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
166 ps_pic_buf = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
167 ps_dpb_node1->ps_pic_buf = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
168 ps_dpb_node2->ps_pic_buf = ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
181 pic_buf_t *ps_pic_node1 = ps_dpb_node1->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
182 pic_buf_t *ps_pic_node2 = ps_dpb_node2->ps_pic_buf; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
190 ps_dpb_node1->ps_pic_buf = ps_pic_node2; in ih264_dpb_mgr_sort_short_term_fields_by_frame_num()
[all …]
Dih264_dpb_mgr.h64 pic_buf_t *ps_pic_buf; member
120 pic_buf_t *ps_pic_buf,
139 pic_buf_t *ps_pic_buf,
/external/libhevc/common/
Dihevc_dpb_mgr.c82 ps_dpb_info[i].ps_pic_buf = NULL; in ihevc_dpb_mgr_init()
120 pic_buf_t *ps_pic_buf, in ihevc_dpb_mgr_insert_ref() argument
131 if((ps_dpb_info[i].ps_pic_buf == ps_pic_buf) in ihevc_dpb_mgr_insert_ref()
132 && (ps_dpb_info[i].ps_pic_buf->u1_used_as_ref)) in ihevc_dpb_mgr_insert_ref()
143 if(NULL == ps_dpb_info[i].ps_pic_buf) in ihevc_dpb_mgr_insert_ref()
154 ps_dpb_info[i].ps_pic_buf = ps_pic_buf; in ihevc_dpb_mgr_insert_ref()
156 ps_dpb_info[i].ps_pic_buf->u1_buf_id = buf_id; in ihevc_dpb_mgr_insert_ref()
157 ps_dpb_info[i].ps_pic_buf->u1_used_as_ref = SHORT_TERM_REF; in ihevc_dpb_mgr_insert_ref()
210 if(ps_next_dpb->ps_pic_buf->i4_abs_poc == i4_abs_poc) in ihevc_dpb_mgr_del_ref()
218 if(ps_next_dpb->ps_prev_dpb->ps_pic_buf->i4_abs_poc == i4_abs_poc) in ihevc_dpb_mgr_del_ref()
[all …]
Dihevc_dpb_mgr.h61 pic_buf_t *ps_pic_buf; member
92 pic_buf_t *ps_pic_buf,
/external/libhevc/decoder/
Dihevcd_ref_list.c101 pic_buf_t *ps_pic_buf; in ihevcd_ref_list() local
315 if(ps_dpb_mgr->as_dpb_info[i].ps_pic_buf) in ihevcd_ref_list()
316 ps_dpb_mgr->as_dpb_info[i].ps_pic_buf->u1_used_as_ref = UNUSED_FOR_REF; in ihevcd_ref_list()
324 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc_lsb(ps_dpb_mgr, ai4_poc_lt_curr[i]); in ihevcd_ref_list()
325 if(NULL != ps_pic_buf) in ihevcd_ref_list()
326 ps_pic_buf->u1_used_as_ref = LONG_TERM_REF; in ihevcd_ref_list()
328 as_ref_pic_lt_curr[i] = ps_pic_buf; in ihevcd_ref_list()
332 ps_pic_buf = ihevc_dpb_mgr_get_ref_by_poc(ps_dpb_mgr, ai4_poc_lt_curr[i]); in ihevcd_ref_list()
333 if(NULL != ps_pic_buf) in ihevcd_ref_list()
334 ps_pic_buf->u1_used_as_ref = LONG_TERM_REF; in ihevcd_ref_list()
[all …]
Dihevcd_utils.c460 pic_buf_t *ps_pic_buf; in ihevcd_pic_buf_mgr_add_bufs() local
484 ps_pic_buf = (pic_buf_t *)ps_codec->ps_pic_buf; in ihevcd_pic_buf_mgr_add_bufs()
515 ps_pic_buf->pu1_luma = pu1_buf + ps_codec->i4_strd * PAD_TOP + PAD_LEFT; in ihevcd_pic_buf_mgr_add_bufs()
518 ps_pic_buf->pu1_chroma = pu1_buf + ps_codec->i4_strd * (PAD_TOP / 2) + PAD_LEFT; in ihevcd_pic_buf_mgr_add_bufs()
532 pu1_buf = ps_pic_buf->pu1_luma; in ihevcd_pic_buf_mgr_add_bufs()
539 pu1_buf = ps_pic_buf->pu1_luma; in ihevcd_pic_buf_mgr_add_bufs()
545 pu1_buf = ps_pic_buf->pu1_chroma; in ihevcd_pic_buf_mgr_add_bufs()
555 pu1_buf = ps_pic_buf->pu1_chroma; in ihevcd_pic_buf_mgr_add_bufs()
562 buf_ret = ihevc_buf_mgr_add((buf_mgr_t *)ps_codec->pv_pic_buf_mgr, ps_pic_buf, i); in ihevcd_pic_buf_mgr_add_bufs()
570 ps_pic_buf++; in ihevcd_pic_buf_mgr_add_bufs()
[all …]
Dihevcd_mv_merge.c295 pic_buf_t *ps_pic_buf; in ihevcd_collocated_mvp() local
328 ps_pic_buf = (pic_buf_t *)((ps_ref_list[0][ref_idx_l0].pv_pic_buf)); in ihevcd_collocated_mvp()
329 cur_ref_poc = ps_pic_buf->i4_abs_poc; in ihevcd_collocated_mvp()
330 cur_ref_poc_lt = (ps_pic_buf->u1_used_as_ref == LONG_TERM_REF); in ihevcd_collocated_mvp()
374 ps_pic_buf = (pic_buf_t *)((ps_ref_list[1][ref_idx_l1].pv_pic_buf)); in ihevcd_collocated_mvp()
375 cur_ref_poc = ps_pic_buf->i4_abs_poc; in ihevcd_collocated_mvp()
376 cur_ref_poc_lt = (ps_pic_buf->u1_used_as_ref == LONG_TERM_REF); in ihevcd_collocated_mvp()
Dihevcd_parse_slice_header.c945 if(ps_dpb_mgr->as_dpb_info[i].ps_pic_buf) in ihevcd_parse_slice_header()
947 pic_buf_t *ps_pic_buf = ps_dpb_mgr->as_dpb_info[i].ps_pic_buf; in ihevcd_parse_slice_header() local
951 …((dpb_mgr_t *)ps_codec->pv_dpb_mgr, (buf_mgr_t *)ps_codec->pv_pic_buf_mgr, ps_pic_buf->i4_abs_poc); in ihevcd_parse_slice_header()
956 if(ps_mv_buf && ps_mv_buf->i4_abs_poc == ps_pic_buf->i4_abs_poc) in ihevcd_parse_slice_header()
Dihevcd_api.c1102 ps_codec->ps_pic_buf = (pic_buf_t *)ps_codec->pv_pic_buf_base; in ihevcd_init()
1104 memset(ps_codec->ps_pic_buf, 0, BUF_MGR_MAX_CNT * sizeof(pic_buf_t)); in ihevcd_init()
2225 pic_buf_t *ps_pic_buf; in ihevcd_set_display_frame() local
2233 ps_pic_buf = (pic_buf_t *)ps_codec->ps_pic_buf; in ihevcd_set_display_frame()
2255 ps_pic_buf->pu1_luma = pu1_buf; in ihevcd_set_display_frame()
2268 ps_pic_buf->pu1_chroma = pu1_buf; in ihevcd_set_display_frame()
2270 buf_ret = ihevc_buf_mgr_add((buf_mgr_t *)ps_codec->pv_pic_buf_mgr, ps_pic_buf, i); in ihevcd_set_display_frame()
2285 ps_pic_buf++; in ihevcd_set_display_frame()
Dihevcd_structs.h1956 void *ps_pic_buf; member
/external/libmpeg2/decoder/
Dimpeg2d_pic_proc.c363 pic_buf_t *ps_pic_buf; in impeg2d_pre_pic_dec_proc() local
366ps_pic_buf = impeg2_buf_mgr_get_next_free(ps_dec->pv_pic_buf_mg, &ps_dec->i4_cur_buf_id); in impeg2d_pre_pic_dec_proc()
368 if (NULL == ps_pic_buf) in impeg2d_pre_pic_dec_proc()
378 ps_pic_buf->u4_ts = ps_dec->u4_inp_ts; in impeg2d_pre_pic_dec_proc()
379 ps_pic_buf->e_pic_type = ps_dec->e_pic_type; in impeg2d_pre_pic_dec_proc()
380 ps_dec->ps_cur_pic = ps_pic_buf; in impeg2d_pre_pic_dec_proc()
381 ps_dec->s_cur_frm_buf.pu1_y = ps_pic_buf->pu1_y; in impeg2d_pre_pic_dec_proc()
382 ps_dec->s_cur_frm_buf.pu1_u = ps_pic_buf->pu1_u; in impeg2d_pre_pic_dec_proc()
383 ps_dec->s_cur_frm_buf.pu1_v = ps_pic_buf->pu1_v; in impeg2d_pre_pic_dec_proc()
405 pic_buf_t *ps_pic_buf; in impeg2d_pre_pic_dec_proc() local
[all …]
Dimpeg2d_api_main.c234 pic_buf_t *ps_pic_buf; in impeg2d_api_set_display_frame() local
235 ps_pic_buf = (pic_buf_t *)ps_dec_state->pv_pic_buf_base; in impeg2d_api_set_display_frame()
266 ps_pic_buf->pu1_y = dec_disp_ip->s_disp_buffer[i].pu1_bufs[0]; in impeg2d_api_set_display_frame()
269 ps_pic_buf->pu1_u = dec_disp_ip->s_disp_buffer[i].pu1_bufs[1]; in impeg2d_api_set_display_frame()
270 ps_pic_buf->pu1_v = dec_disp_ip->s_disp_buffer[i].pu1_bufs[2]; in impeg2d_api_set_display_frame()
274 ps_pic_buf->pu1_u = ps_dec_state->pu1_chroma_ref_buf[i]; in impeg2d_api_set_display_frame()
275 ps_pic_buf->pu1_v = ps_dec_state->pu1_chroma_ref_buf[i] + in impeg2d_api_set_display_frame()
279 ps_pic_buf->i4_buf_id = i; in impeg2d_api_set_display_frame()
281 ps_pic_buf->u1_used_as_ref = 0; in impeg2d_api_set_display_frame()
283 ps_pic_buf->u4_ts = 0; in impeg2d_api_set_display_frame()
[all …]
/external/libavc/decoder/
Dih264d_dpb_mgr.c79 ps_dpb_info[i].ps_pic_buf = NULL; in ih264d_init_ref_bufs()
299 ps_mov_node->ps_pic_buf->u1_long_term_frm_idx = u4_lt_idx; in ih264d_insert_lt_node()
337 ps_mov_node->ps_pic_buf->u1_is_short = 0; in ih264d_insert_lt_node()
364 struct pic_buffer_t *ps_pic_buf, in ih264d_insert_st_node() argument
370 UWORD8 u1_picture_type = ps_pic_buf->u1_picturetype; in ih264d_insert_st_node()
374 if((ps_dpb_info[i].ps_pic_buf == ps_pic_buf) in ih264d_insert_st_node()
378 if(ps_dpb_info[i].ps_pic_buf->u1_pic_type == FRM_PIC) in ih264d_insert_st_node()
405 ps_dpb_info[i].ps_pic_buf = ps_pic_buf; in ih264d_insert_st_node()
411 ps_dpb_info[i].ps_pic_buf->i4_frame_num = u4_cur_pic_num; in ih264d_insert_st_node()
419 ps_pic_buf->u1_is_short = IS_SHORT_TERM; in ih264d_insert_st_node()
[all …]
Dih264d_utils.c1402 i4_ref_frame_num = ps_next_dpb->ps_pic_buf->i4_frame_num; in ih264d_assign_pic_num()
1414 ps_next_dpb->ps_pic_buf->i4_pic_num = i4_pic_num; in ih264d_assign_pic_num()
1416 ps_next_dpb->ps_pic_buf->u1_long_term_frm_idx = MAX_REF_BUFS + 1; in ih264d_assign_pic_num()
1686 struct pic_buffer_t *ps_pic_buf; in ih264d_create_pic_buffers() local
1693 ps_pic_buf = ps_dec->ps_pic_buf_base; in ih264d_create_pic_buffers()
1745 ps_pic_buf->pu1_buf1 = (UWORD8 *)(pu1_luma) + u4_offset; in ih264d_create_pic_buffers()
1752 ps_pic_buf->pu1_buf2 = (UWORD8 *)(pu1_chroma) + u4_offset; in ih264d_create_pic_buffers()
1753 ps_pic_buf->pu1_buf3 = (UWORD8 *)(NULL) + u4_offset; in ih264d_create_pic_buffers()
1760 ps_pic_buf->pu1_buf1 = (UWORD8 *)ps_dec->disp_bufs[i].buf[0] in ih264d_create_pic_buffers()
1772 ps_pic_buf->pu1_buf2 = (UWORD8 *)(pu1_chroma) + u4_offset; in ih264d_create_pic_buffers()
[all …]
Dih264d_dpb_manager.h71 struct pic_buffer_t *ps_pic_buf; /** Pointer to picture buffer structure */ member
135 struct pic_buffer_t *ps_pic_buf,
145 struct pic_buffer_t *ps_pic_buf,
Dih264d_process_bslice.c1243 i_ref_poc = ps_next_dpb->ps_pic_buf->i4_poc; in ih264d_init_ref_idx_lx_b()
1298 if((WORD32)ps_next_dpb->ps_pic_buf->i4_poc == i_temp_poc) in ih264d_init_ref_idx_lx_b()
1302 ps_next_dpb->ps_pic_buf); in ih264d_init_ref_idx_lx_b()
1320 if((WORD32)ps_next_dpb->ps_pic_buf->i4_poc == i_temp_poc) in ih264d_init_ref_idx_lx_b()
1323 ps_next_dpb->ps_pic_buf); in ih264d_init_ref_idx_lx_b()
1345 ps_next_dpb->ps_pic_buf); in ih264d_init_ref_idx_lx_b()
1424 if((WORD32)ps_next_dpb->ps_pic_buf->i4_poc == i_temp_poc) in ih264d_init_ref_idx_lx_b()
1427 ps_next_dpb->ps_pic_buf); in ih264d_init_ref_idx_lx_b()
1454 if((WORD32)ps_next_dpb->ps_pic_buf->i4_poc == i_temp_poc) in ih264d_init_ref_idx_lx_b()
1457 ps_next_dpb->ps_pic_buf); in ih264d_init_ref_idx_lx_b()
[all …]
Dih264d_process_pslice.c1002 i4_ref_pic_num = ps_next_dpb->ps_pic_buf->i4_pic_num; in ih264d_init_ref_idx_lx_p()
1053 if((WORD32)ps_next_dpb->ps_pic_buf->i4_pic_num == i4_temp_pic_num) in ih264d_init_ref_idx_lx_p()
1057 ps_next_dpb->ps_pic_buf); in ih264d_init_ref_idx_lx_p()
1078 ps_next_dpb->ps_pic_buf); in ih264d_init_ref_idx_lx_p()
Dih264d_api.c1951 pic_buffer_t *ps_pic_buf; in ih264d_video_decode() local
1952 ps_pic_buf = (pic_buffer_t *)ih264_buf_mgr_get_next_free( in ih264d_video_decode()
1955 if(ps_pic_buf == NULL) in ih264d_video_decode()
/external/libavc/encoder/
Dih264e_encode.c481 pic_buf_t *ps_pic_buf = NULL; in ih264e_encode() local
503 ps_codec->as_ref_set[i].ps_pic_buf->i4_buf_id); in ih264e_encode()
508 ps_pic_buf = ps_codec->as_ref_set[i].ps_pic_buf; in ih264e_encode()
526 if (ps_pic_buf) in ih264e_encode()
530 ps_pic_buf, in ih264e_encode()
541 ps_pic_buf->i4_buf_id, BUF_MGR_IO); in ih264e_encode()
583 ps_cur_pic = ps_codec->as_ref_set[i].ps_pic_buf; in ih264e_encode()
623 ps_codec->as_ref_set[i].ps_pic_buf->i4_buf_id); in ih264e_encode()
Dih264e_utils.c799 UWORD8 *pu1_buf = (UWORD8 *) ps_codec->ps_pic_buf; in ih264e_pic_buf_mgr_add_bufs()
800 pic_buf_t *ps_pic_buf = (pic_buf_t *) ps_codec->ps_pic_buf; in ih264e_pic_buf_mgr_add_bufs() local
829 ps_pic_buf->pu1_luma = pu1_buf + ps_codec->i4_rec_strd * PAD_TOP in ih264e_pic_buf_mgr_add_bufs()
833 ps_pic_buf->pu1_chroma = pu1_buf in ih264e_pic_buf_mgr_add_bufs()
838 ps_pic_buf, i); in ih264e_pic_buf_mgr_add_bufs()
846 ps_pic_buf++; in ih264e_pic_buf_mgr_add_bufs()
1612 ps_codec->as_ref_set[i].ps_pic_buf->i4_buf_id); in ih264e_pic_init()
1629 aps_ref_pic[1] = ps_codec->as_ref_set[i].ps_pic_buf; in ih264e_pic_init()
1637 aps_ref_pic[0] = ps_codec->as_ref_set[i].ps_pic_buf; in ih264e_pic_init()
1686 ps_codec->as_ref_set[i].ps_pic_buf->i4_buf_id); in ih264e_pic_init()
[all …]
Dih264e_structs.h670 pic_buf_t *ps_pic_buf; member
2359 void *ps_pic_buf; member
Dih264e_api.c2628 ps_codec->ps_pic_buf = (pic_buf_t *) ps_codec->pv_pic_buf_base; in ih264e_init()
2629 memset(ps_codec->ps_pic_buf, 0, BUF_MGR_MAX_CNT * sizeof(pic_buf_t)); in ih264e_init()