Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Derror_resilience.c62 int *linesize = s->cur_pic.f->linesize; in put_dc()
156 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
169 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
184 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
197 int intra_j = IS_INTRA(s->cur_pic.mb_type[mb_index_j]); in guess_dc()
214 if (IS_INTER(s->cur_pic.mb_type[mb_index])) in guess_dc()
256 …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()
257 …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()
261 int16_t *left_mv = s->cur_pic.motion_val[0][mvy_stride * b_y + mvx_stride * b_x]; in h_block_filter()
262 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.c89 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()
673 const int mb_type = s->cur_pic->mb_type[mb_xy]; in hl_decode_mb()
680 linesize = s->cur_pic->f->linesize[0]; in hl_decode_mb()
681 uvlinesize = s->cur_pic->f->linesize[1]; in hl_decode_mb()
683 dest_y = s->cur_pic->f->data[0] + (mb_x + mb_y * linesize) * 16; in hl_decode_mb()
[all …]
Dh264_mvpred.h263 int8_t *ref = h->cur_pic.ref_index[0]; in pred_pskip_motion()
264 int16_t(*mv)[2] = h->cur_pic.motion_val[0]; in pred_pskip_motion()
380 const int left_mb_field_flag = IS_INTERLACED(h->cur_pic.mb_type[mb_xy - 1]); in fill_decode_neighbors()
398 topleft_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy - 1] >> 7) & 1) - 1); in fill_decode_neighbors()
399 topright_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy + 1] >> 7) & 1) - 1); in fill_decode_neighbors()
400 top_xy += h->mb_stride & (((h->cur_pic.mb_type[top_xy] >> 7) & 1) - 1); in fill_decode_neighbors()
420 sl->topleft_type = h->cur_pic.mb_type[topleft_xy]; in fill_decode_neighbors()
421 sl->top_type = h->cur_pic.mb_type[top_xy]; in fill_decode_neighbors()
422 sl->topright_type = h->cur_pic.mb_type[topright_xy]; in fill_decode_neighbors()
423 sl->left_type[LTOP] = h->cur_pic.mb_type[left_xy[LTOP]]; in fill_decode_neighbors()
[all …]
Dh264_loopfilter.c259 int mb_type = h->cur_pic.mb_type[mb_xy]; in h264_filter_mb_fast_internal()
260 int qp = h->cur_pic.qscale_table[mb_xy]; in h264_filter_mb_fast_internal()
261 int qp0 = h->cur_pic.qscale_table[mb_xy - 1]; in h264_filter_mb_fast_internal()
262 int qp1 = h->cur_pic.qscale_table[sl->top_mb_xy]; in h264_filter_mb_fast_internal()
512 if (IS_INTRA(mb_type | h->cur_pic.mb_type[mbn_xy])) { in filter_mb_dir()
515 if (!CABAC(h) && IS_8x8DCT(h->cur_pic.mb_type[mbn_xy])) { in filter_mb_dir()
530 qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbn_xy] + 1) >> 1; in filter_mb_dir()
534 …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()
535 …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()
595 qp = (h->cur_pic.qscale_table[mb_xy] + h->cur_pic.qscale_table[mbm_xy] + 1) >> 1; in filter_mb_dir()
[all …]
Dh264_slice.c388 ff_h264_unref_picture(h, &h->cur_pic); in ff_h264_update_thread_context()
389 if (h1->cur_pic.f->buf[0]) { in ff_h264_update_thread_context()
390 ret = ff_h264_ref_picture(h, &h->cur_pic, &h1->cur_pic); in ff_h264_update_thread_context()
514 ff_h264_unref_picture(h, &h->cur_pic); in h264_frame_start()
516 ff_h264_set_erpic(&h->slice_ctx[0].er.cur_pic, NULL); in h264_frame_start()
519 if ((ret = ff_h264_ref_picture(h, &h->cur_pic, h->cur_pic_ptr)) < 0) in h264_frame_start()
2250 AV_COPY128(mv_dst - 1 * 8, h->cur_pic.motion_val[list][b_xy + 0]); in fill_filter_caches_inter()
2252 ref_cache[1 - 1 * 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 0]]; in fill_filter_caches_inter()
2254 ref_cache[3 - 1 * 8] = ref2frm[h->cur_pic.ref_index[list][b8_xy + 1]]; in fill_filter_caches_inter()
2265 AV_COPY32(mv_dst - 1 + 0, h->cur_pic.motion_val[list][b_xy + b_stride * 0]); 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.c93 fill_rectangle(&h->cur_pic.ref_index[0][4 * sl->mb_xy], in h264_er_decode_mb()
107 const AVFrame *src = h->cur_pic.f; in ff_h264_draw_horiz_band()
316 h->cur_pic.f = av_frame_alloc(); in h264_init_context()
317 if (!h->cur_pic.f) in h264_init_context()
354 ff_h264_unref_picture(h, &h->cur_pic); in h264_decode_end()
355 av_frame_free(&h->cur_pic.f); in h264_decode_end()
477 ff_h264_unref_picture(h, &h->cur_pic); in h264_decode_flush()
745 ff_h264_set_erpic(&sl->er.cur_pic, h->cur_pic_ptr); in decode_nal_units()
Dh264dec.h354 H264Picture cur_pic; member
754 int16_t(*mv_dst)[2] = &h->cur_pic.motion_val[list][b_xy]; in write_back_motion_list()
775 int8_t *ref_index = &h->cur_pic.ref_index[list][b8_xy]; in write_back_motion_list()
795 fill_rectangle(&h->cur_pic.ref_index[0][b8_xy], in write_back_motion()
Dh264_cabac.c1290 ctx += (h->cur_pic.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == sl->slice_num); in decode_cabac_field_decoding_flag()
1338 && MB_FIELD(sl) == !!IS_INTERLACED( h->cur_pic.mb_type[mba_xy] ) ) in decode_cabac_mb_skip()
1344 && IS_INTERLACED( h->cur_pic.mb_type[mbb_xy] ) ) in decode_cabac_mb_skip()
1354 if( h->slice_table[mba_xy] == sl->slice_num && !IS_SKIP(h->cur_pic.mb_type[mba_xy] )) in decode_cabac_mb_skip()
1356 if( h->slice_table[mbb_xy] == sl->slice_num && !IS_SKIP(h->cur_pic.mb_type[mbb_xy] )) in decode_cabac_mb_skip()
1933 h->cur_pic.mb_type[mb_xy] = MB_TYPE_SKIP; in ff_h264_decode_mb_cabac()
2055 h->cur_pic.qscale_table[mb_xy] = 0; in ff_h264_decode_mb_cabac()
2058 h->cur_pic.mb_type[mb_xy] = mb_type; in ff_h264_decode_mb_cabac()
2383 h->cur_pic.mb_type[mb_xy] = mb_type; in ff_h264_decode_mb_cabac()
2486 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in ff_h264_decode_mb_cabac()
Drv34.c552 Picture *cur_pic = s->current_picture_ptr; in rv34_pred_mv_b() local
554 int type = cur_pic->mb_type[mb_pos]; in rv34_pred_mv_b()
557 A[0] = cur_pic->motion_val[dir][mv_pos - 1][0]; in rv34_pred_mv_b()
558 A[1] = cur_pic->motion_val[dir][mv_pos - 1][1]; in rv34_pred_mv_b()
562 B[0] = cur_pic->motion_val[dir][mv_pos - s->b8_stride][0]; in rv34_pred_mv_b()
563 B[1] = cur_pic->motion_val[dir][mv_pos - s->b8_stride][1]; in rv34_pred_mv_b()
567 C[0] = cur_pic->motion_val[dir][mv_pos - s->b8_stride + 2][0]; in rv34_pred_mv_b()
568 C[1] = cur_pic->motion_val[dir][mv_pos - s->b8_stride + 2][1]; in rv34_pred_mv_b()
571 C[0] = cur_pic->motion_val[dir][mv_pos - s->b8_stride - 1][0]; in rv34_pred_mv_b()
572 C[1] = cur_pic->motion_val[dir][mv_pos - s->b8_stride - 1][1]; in rv34_pred_mv_b()
[all …]
Derror_resilience.h73 ERPicture cur_pic; member
Dmpeg_er.c50 set_erpic(&er->cur_pic, s->current_picture_ptr); in ff_mpeg_er_frame_start()
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.c787 h->cur_pic.qscale_table[mb_xy] = 0; in ff_h264_decode_mb_cavlc()
791 h->cur_pic.mb_type[mb_xy] = mb_type; in ff_h264_decode_mb_cavlc()
1096 h->cur_pic.mb_type[mb_xy] = mb_type; in ff_h264_decode_mb_cavlc()
1178 h->cur_pic.qscale_table[mb_xy] = sl->qscale; in ff_h264_decode_mb_cavlc()
Dh264_mc_template.c75 const int mb_type = h->cur_pic.mb_type[mb_xy]; in MCFUNC()
/third_party/ffmpeg/libavfilter/
Dvf_scale.c626 static int scale_slice(AVFilterLink *link, AVFrame *out_buf, AVFrame *cur_pic, struct SwsContext *s… in scale_slice() argument
636 in_stride[i] = cur_pic->linesize[i] * mul; in scale_slice()
638 in[i] = FF_PTR_ADD(cur_pic->data[i], ((y>>vsub)+field) * cur_pic->linesize[i]); in scale_slice()
642 in[1] = cur_pic->data[1]; in scale_slice()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvah265dec.c334 _fill_ref_pic_list (GstH265Decoder * decoder, GstH265Picture * cur_pic, in _fill_ref_pic_list() argument
/third_party/ffmpeg/doc/
DAPIchanges3015 AVFilterLink.cur_pic -> AVFilterLink.cur_buf