Lines Matching refs:current_picture_ptr
357 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header()
367 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA; in rv34_decode_intra_mb_header()
393 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header()
401 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->mb_type[mb_pos]); in rv34_decode_inter_mb_header()
411 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header()
476 A[0] = s->current_picture_ptr->motion_val[0][mv_pos-1][0]; in rv34_pred_mv()
477 A[1] = s->current_picture_ptr->motion_val[0][mv_pos-1][1]; in rv34_pred_mv()
480 B[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][0]; in rv34_pred_mv()
481 B[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][1]; in rv34_pred_mv()
488 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][0]; in rv34_pred_mv()
489 C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][1]; in rv34_pred_mv()
495 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+c_off][0]; in rv34_pred_mv()
496 C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+c_off][1]; in rv34_pred_mv()
504 s->current_picture_ptr->motion_val[0][mv_pos + i + j*s->b8_stride][0] = mx; in rv34_pred_mv()
505 s->current_picture_ptr->motion_val[0][mv_pos + i + j*s->b8_stride][1] = my; in rv34_pred_mv()
554 Picture *cur_pic = s->current_picture_ptr; in rv34_pred_mv_b()
607 A[0] = s->current_picture_ptr->motion_val[0][mv_pos - 1][0]; in rv34_pred_mv_rv3()
608 A[1] = s->current_picture_ptr->motion_val[0][mv_pos - 1][1]; in rv34_pred_mv_rv3()
611 B[0] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride][0]; in rv34_pred_mv_rv3()
612 B[1] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride][1]; in rv34_pred_mv_rv3()
619 C[0] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride - 1][0]; in rv34_pred_mv_rv3()
620 C[1] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride - 1][1]; in rv34_pred_mv_rv3()
626 C[0] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride + 2][0]; in rv34_pred_mv_rv3()
627 C[1] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride + 2][1]; in rv34_pred_mv_rv3()
636 s->current_picture_ptr->motion_val[k][mv_pos + i + j*s->b8_stride][0] = mx; in rv34_pred_mv_rv3()
637 s->current_picture_ptr->motion_val[k][mv_pos + i + j*s->b8_stride][1] = my; in rv34_pred_mv_rv3()
676 mx = (s->current_picture_ptr->motion_val[dir][mv_pos][0] + (3 << 24)) / 3 - (1 << 24); in rv34_mc()
677 my = (s->current_picture_ptr->motion_val[dir][mv_pos][1] + (3 << 24)) / 3 - (1 << 24); in rv34_mc()
678 lx = (s->current_picture_ptr->motion_val[dir][mv_pos][0] + (3 << 24)) % 3; in rv34_mc()
679 ly = (s->current_picture_ptr->motion_val[dir][mv_pos][1] + (3 << 24)) % 3; in rv34_mc()
680 chroma_mx = s->current_picture_ptr->motion_val[dir][mv_pos][0] / 2; in rv34_mc()
681 chroma_my = s->current_picture_ptr->motion_val[dir][mv_pos][1] / 2; in rv34_mc()
688 mx = s->current_picture_ptr->motion_val[dir][mv_pos][0] >> 2; in rv34_mc()
689 my = s->current_picture_ptr->motion_val[dir][mv_pos][1] >> 2; in rv34_mc()
690 lx = s->current_picture_ptr->motion_val[dir][mv_pos][0] & 3; in rv34_mc()
691 ly = s->current_picture_ptr->motion_val[dir][mv_pos][1] & 3; in rv34_mc()
692 cx = s->current_picture_ptr->motion_val[dir][mv_pos][0] / 2; in rv34_mc()
693 cy = s->current_picture_ptr->motion_val[dir][mv_pos][1] / 2; in rv34_mc()
874 …ZERO8x2(s->current_picture_ptr->motion_val[0][s->mb_x * 2 + s->mb_y * 2 * s->b8_stride], s->b8_str… in rv34_decode_mv()
878 …ZERO8x2(s->current_picture_ptr->motion_val[0][s->mb_x * 2 + s->mb_y * 2 * s->b8_stride], s->b8_str… in rv34_decode_mv()
890 …ZERO8x2(s->current_picture_ptr->motion_val[0][s->mb_x * 2 + s->mb_y * 2 * s->b8_stride], s->b8_str… in rv34_decode_mv()
891 …ZERO8x2(s->current_picture_ptr->motion_val[1][s->mb_x * 2 + s->mb_y * 2 * s->b8_stride], s->b8_str… in rv34_decode_mv()
897 …s->current_picture_ptr->motion_val[l][mv_pos + i + j*s->b8_stride][k] = calc_add_mv(r, l, s->next_… in rv34_decode_mv()
902 …ZERO8x2(s->current_picture_ptr->motion_val[0][s->mb_x * 2 + s->mb_y * 2 * s->b8_stride], s->b8_str… in rv34_decode_mv()
1170 int16_t (*motion_val)[2] = &s->current_picture_ptr->motion_val[0][midx]; in rv34_set_deblock_coef()
1213 r->avail_cache[9] = s->current_picture_ptr->mb_type[mb_pos - 1]; in rv34_decode_inter_macroblock()
1216 r->avail_cache[3] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride]; in rv34_decode_inter_macroblock()
1218 r->avail_cache[4] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride + 1]; in rv34_decode_inter_macroblock()
1220 r->avail_cache[1] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride - 1]; in rv34_decode_inter_macroblock()
1227 s->current_picture_ptr->qscale_table[mb_pos] = s->qscale; in rv34_decode_inter_macroblock()
1232 if (IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_macroblock()
1315 r->avail_cache[9] = s->current_picture_ptr->mb_type[mb_pos - 1]; in rv34_decode_intra_macroblock()
1318 r->avail_cache[3] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride]; in rv34_decode_intra_macroblock()
1320 r->avail_cache[4] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride + 1]; in rv34_decode_intra_macroblock()
1322 r->avail_cache[1] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride - 1]; in rv34_decode_intra_macroblock()
1329 s->current_picture_ptr->qscale_table[mb_pos] = s->qscale; in rv34_decode_intra_macroblock()
1470 ff_thread_report_progress(&s->current_picture_ptr->tf, in rv34_decode_slice()
1570 ff_thread_report_progress(&s->current_picture_ptr->tf, INT_MAX, 0); in finish_frame()
1573 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in finish_frame()
1575 ff_print_debug_info(s, s->current_picture_ptr, pict); in finish_frame()
1576 ff_mpv_export_qp_table(s, pict, s->current_picture_ptr, FF_MPV_QSCALE_TYPE_MPEG1); in finish_frame()
1659 if (s->mb_num_left > 0 && s->current_picture_ptr) { in ff_rv34_decode_frame()
1782 if (s->current_picture_ptr) { in ff_rv34_decode_frame()
1799 ff_thread_report_progress(&s->current_picture_ptr->tf, INT_MAX, 0); in ff_rv34_decode_frame()