Home
last modified time | relevance | path

Searched refs:cur_pic (Results 1 – 16 of 16) sorted by relevance

/third_party/ffmpeg/libavcodec/
Derror_resilience.c61 int *linesize = s->cur_pic.f->linesize; in put_dc()
155 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
168 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
183 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
196 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
213 if (IS_INTER(s->cur_pic.mb_type[mb_index])) in guess_dc()
255 …int left_intra = IS_INTRA(s->cur_pic.mb_type[( b_x >> is_luma) + (b_y >> is_luma) * s->mb_s… in h_block_filter()
256 …int right_intra = IS_INTRA(s->cur_pic.mb_type[((b_x + 1) >> is_luma) + (b_y >> is_luma) * s->mb_s… in h_block_filter()
260 int16_t *left_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * b_x]; in h_block_filter()
261 int16_t *right_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * (b_x + 1)]; in h_block_filter()
[all …]
Dsvq3.c93 SVQ3Frame *cur_pic; member
435 int linesize = s->cur_pic->f->linesize[0]; in svq3_mc_dir_part()
436 int uvlinesize = s->cur_pic->f->linesize[1]; in svq3_mc_dir_part()
449 dest = s->cur_pic->f->data[0] + x + y * linesize; in svq3_mc_dir_part()
476 dest = s->cur_pic->f->data[i] + (x >> 1) + (y >> 1) * uvlinesize; in svq3_mc_dir_part()
606 fill_rectangle(s->cur_pic->motion_val[dir][b_xy], in svq3_mc_dir()
668 const int mb_type = s->cur_pic->mb_type[mb_xy]; in hl_decode_mb()
675 linesize = s->cur_pic->f->linesize[0]; in hl_decode_mb()
676 uvlinesize = s->cur_pic->f->linesize[1]; in hl_decode_mb()
678 dest_y = s->cur_pic->f->data[0] + (mb_x + mb_y * linesize) * 16; in hl_decode_mb()
[all …]
Dh264_mvpred.h261 int8_t *ref = h->cur_pic.ref_index[0]; in pred_pskip_motion()
262 int16_t(*mv)[2] = h->cur_pic.motion_val[0]; in pred_pskip_motion()
378 const int left_mb_field_flag = IS_INTERLACED(h->cur_pic.mb_type[mb_xy - 1]); in fill_decode_neighbors()
396 topleft_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy - 1] >> 7) & 1) - 1); in fill_decode_neighbors()
397 topright_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy + 1] >> 7) & 1) - 1); in fill_decode_neighbors()
398 top_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy] >> 7) & 1) - 1); in fill_decode_neighbors()
418 sl->topleft_type = h->cur_pic.mb_type[topleft_xy]; in fill_decode_neighbors()
419 sl->top_type = h->cur_pic.mb_type[top_xy]; in fill_decode_neighbors()
420 sl->topright_type = h->cur_pic.mb_type[topright_xy]; in fill_decode_neighbors()
421 sl->left_type[LTOP] = h->cur_pic.mb_type[left_xy[LTOP]]; in fill_decode_neighbors()
[all …]
Dh264_loopfilter.c256 int mb_type = h->cur_pic.mb_type[mb_xy]; in h264_filter_mb_fast_internal()
257 int qp = h->cur_pic.qscale_table[mb_xy]; in h264_filter_mb_fast_internal()
258 int qp0 = h->cur_pic.qscale_table[mb_xy - 1]; in h264_filter_mb_fast_internal()
259 int qp1 = h->cur_pic.qscale_table[sl->top_mb_xy]; in h264_filter_mb_fast_internal()
509 if (IS_INTRA(mb_type | h->cur_pic.mb_type[mbn_xy])) { in filter_mb_dir()
512 if (!CABAC(h) && IS_8x8DCT(h->cur_pic.mb_type[mbn_xy])) { in filter_mb_dir()
527 qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbn_xy] + 1) >> 1; in filter_mb_dir()
531 …chroma_qp_avg[0] = (sl->chroma_qp[0] + get_chroma_qp(h->ps.pps, 0, h->cur_pic.qscale_table[mbn_xy]… in filter_mb_dir()
532 …chroma_qp_avg[1] = (sl->chroma_qp[1] + get_chroma_qp(h->ps.pps, 1, h->cur_pic.qscale_table[mbn_xy]… in filter_mb_dir()
592 qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbm_xy] + 1) >> 1; in filter_mb_dir()
[all …]
Dh264_slice.c399 ret = ff_h264_replace_picture(h, &h->cur_pic, &h1->cur_pic); in ff_h264_update_thread_context()
538 ff_h264_unref_picture(h, &h->cur_pic); in h264_frame_start()
540 ff_h264_set_erpic(&h->er.cur_pic, NULL); in h264_frame_start()
543 if ((ret = ff_h264_ref_picture(h, &h->cur_pic, h->cur_pic_ptr)) < 0) in h264_frame_start()
2346 AV_COPY128(mv_dst - 1 * 8, h->cur_pic.motion_val[list][b_xy + 0]); in fill_filter_caches_inter()
2348 ref_cache[1 - 1 * 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 0]]; in fill_filter_caches_inter()
2350 ref_cache[3 - 1 * 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 1]]; in fill_filter_caches_inter()
2361 AV_COPY32(mv_dst - 1 + 0, h->cur_pic.motion_val[list][b_xy + b_stride * 0]); in fill_filter_caches_inter()
2362 AV_COPY32(mv_dst - 1 + 8, h->cur_pic.motion_val[list][b_xy + b_stride * 1]); in fill_filter_caches_inter()
2363 AV_COPY32(mv_dst - 1 + 16, h->cur_pic.motion_val[list][b_xy + b_stride * 2]); in fill_filter_caches_inter()
[all …]
Dh264_mb_template.c46 const int mb_type = h->cur_pic.mb_type[mb_xy]; in FUNC()
56 dest_y = h->cur_pic.f->data[0] + ((mb_x << PIXEL_SHIFT) + mb_y * sl->linesize) * 16; in FUNC()
57 dest_cb = h->cur_pic.f->data[1] + (mb_x << PIXEL_SHIFT) * 8 + mb_y * sl->uvlinesize * block_h; in FUNC()
58 dest_cr = h->cur_pic.f->data[2] + (mb_x << PIXEL_SHIFT) * 8 + mb_y * sl->uvlinesize * block_h; in FUNC()
261 const int mb_type = h->cur_pic.mb_type[mb_xy]; in FUNC()
270 dest[p] = h->cur_pic.f->data[p] + in FUNC()
Dh264dec.h341 H264Picture cur_pic; member
713 int16_t(*mv_dst)[2] = &h->cur_pic.motion_val[list][b_xy]; in write_back_motion_list()
734 int8_t *ref_index = &h->cur_pic.ref_index[list][b8_xy]; in write_back_motion_list()
754 fill_rectangle(&h->cur_pic.ref_index[0][b8_xy], in write_back_motion()
Dh264_cabac.c1299 ctx += (h->cur_pic.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == sl->slice_num); in decode_cabac_field_decoding_flag()
1347 && MB_FIELD(sl) == !!IS_INTERLACED( h->cur_pic.mb_type[mba_xy] ) ) in decode_cabac_mb_skip()
1353 && IS_INTERLACED( h->cur_pic.mb_type[mbb_xy] ) ) in decode_cabac_mb_skip()
1363 if( h->slice_table[mba_xy] == sl->slice_num && !IS_SKIP(h->cur_pic.mb_type[mba_xy] )) in decode_cabac_mb_skip()
1365 if( h->slice_table[mbb_xy] == sl->slice_num && !IS_SKIP(h->cur_pic.mb_type[mbb_xy] )) in decode_cabac_mb_skip()
1942 h->cur_pic.mb_type[mb_xy] = MB_TYPE_SKIP; in ff_h264_decode_mb_cabac()
2064 h->cur_pic.qscale_table[mb_xy] = 0; in ff_h264_decode_mb_cabac()
2067 h->cur_pic.mb_type[mb_xy] = mb_type; in ff_h264_decode_mb_cabac()
2392 h->cur_pic.mb_type[mb_xy] = mb_type; in ff_h264_decode_mb_cabac()
2495 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in ff_h264_decode_mb_cabac()
Drv34.c554 Picture *cur_pic = s->current_picture_ptr; in rv34_pred_mv_b() local
556 int type = cur_pic->mb_type[mb_pos]; in rv34_pred_mv_b()
559 A[0] = cur_pic->motion_val[dir][mv_pos - 1][0]; in rv34_pred_mv_b()
560 A[1] = cur_pic->motion_val[dir][mv_pos - 1][1]; in rv34_pred_mv_b()
564 B[0] = cur_pic->motion_val[dir][mv_pos - s->b8_stride][0]; in rv34_pred_mv_b()
565 B[1] = cur_pic->motion_val[dir][mv_pos - s->b8_stride][1]; in rv34_pred_mv_b()
569 C[0] = cur_pic->motion_val[dir][mv_pos - s->b8_stride + 2][0]; in rv34_pred_mv_b()
570 C[1] = cur_pic->motion_val[dir][mv_pos - s->b8_stride + 2][1]; in rv34_pred_mv_b()
573 C[0] = cur_pic->motion_val[dir][mv_pos - s->b8_stride - 1][0]; in rv34_pred_mv_b()
574 C[1] = cur_pic->motion_val[dir][mv_pos - s->b8_stride - 1][1]; in rv34_pred_mv_b()
[all …]
Dh264dec.c89 fill_rectangle(&h->cur_pic.ref_index[0][4 * sl->mb_xy], in h264_er_decode_mb()
103 const AVFrame *src = h->cur_pic.f; in ff_h264_draw_horiz_band()
320 if ((ret = h264_init_pic(&h->cur_pic)) < 0) in h264_init_context()
362 h264_free_pic(h, &h->cur_pic); in h264_decode_end()
483 ff_h264_unref_picture(h, &h->cur_pic); in h264_decode_flush()
767 ff_h264_set_erpic(&h->er.cur_pic, h->cur_pic_ptr); in decode_nal_units()
Derror_resilience.h74 ERPicture cur_pic; member
Dh264_mb.c68 if (ref->parent->tf.progress->data != h->cur_pic.tf.progress->data || in get_lowest_part_y()
81 if (ref->parent->tf.progress->data != h->cur_pic.tf.progress->data || in get_lowest_part_y()
99 const int mb_type = h->cur_pic.mb_type[mb_xy]; in await_references()
802 const int mb_type = h->cur_pic.mb_type[mb_xy]; in ff_h264_hl_decode_mb()
Dh264_cavlc.c785 h->cur_pic.qscale_table[mb_xy] = 0; in ff_h264_decode_mb_cavlc()
789 h->cur_pic.mb_type[mb_xy] = mb_type; in ff_h264_decode_mb_cavlc()
1094 h->cur_pic.mb_type[mb_xy] = mb_type; in ff_h264_decode_mb_cavlc()
1176 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in ff_h264_decode_mb_cavlc()
Dmpeg_er.c50 set_erpic(&er->cur_pic, s->current_picture_ptr); in ff_mpeg_er_frame_start()
Dh264_mc_template.c75 const int mb_type = h->cur_pic.mb_type[mb_xy]; in MCFUNC()
/third_party/ffmpeg/doc/
DAPIchanges3294 AVFilterLink.cur_pic -> AVFilterLink.cur_buf