Lines Matching refs:current_picture_ptr
355 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA16x16; in rv34_decode_intra_mb_header()
365 s->current_picture_ptr->mb_type[mb_pos] = MB_TYPE_INTRA; in rv34_decode_intra_mb_header()
391 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type]; in rv34_decode_inter_mb_header()
399 r->is16 = !!IS_INTRA16x16(s->current_picture_ptr->mb_type[mb_pos]); in rv34_decode_inter_mb_header()
409 if(IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_mb_header()
474 A[0] = s->current_picture_ptr->motion_val[0][mv_pos-1][0]; in rv34_pred_mv()
475 A[1] = s->current_picture_ptr->motion_val[0][mv_pos-1][1]; in rv34_pred_mv()
478 B[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][0]; in rv34_pred_mv()
479 B[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride][1]; in rv34_pred_mv()
486 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][0]; in rv34_pred_mv()
487 C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride-1][1]; in rv34_pred_mv()
493 C[0] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+c_off][0]; in rv34_pred_mv()
494 C[1] = s->current_picture_ptr->motion_val[0][mv_pos-s->b8_stride+c_off][1]; in rv34_pred_mv()
502 s->current_picture_ptr->motion_val[0][mv_pos + i + j*s->b8_stride][0] = mx; in rv34_pred_mv()
503 s->current_picture_ptr->motion_val[0][mv_pos + i + j*s->b8_stride][1] = my; in rv34_pred_mv()
552 Picture *cur_pic = s->current_picture_ptr; in rv34_pred_mv_b()
605 A[0] = s->current_picture_ptr->motion_val[0][mv_pos - 1][0]; in rv34_pred_mv_rv3()
606 A[1] = s->current_picture_ptr->motion_val[0][mv_pos - 1][1]; in rv34_pred_mv_rv3()
609 B[0] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride][0]; in rv34_pred_mv_rv3()
610 B[1] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride][1]; in rv34_pred_mv_rv3()
617 C[0] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride - 1][0]; in rv34_pred_mv_rv3()
618 C[1] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride - 1][1]; in rv34_pred_mv_rv3()
624 C[0] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride + 2][0]; in rv34_pred_mv_rv3()
625 C[1] = s->current_picture_ptr->motion_val[0][mv_pos - s->b8_stride + 2][1]; in rv34_pred_mv_rv3()
634 s->current_picture_ptr->motion_val[k][mv_pos + i + j*s->b8_stride][0] = mx; in rv34_pred_mv_rv3()
635 s->current_picture_ptr->motion_val[k][mv_pos + i + j*s->b8_stride][1] = my; in rv34_pred_mv_rv3()
674 mx = (s->current_picture_ptr->motion_val[dir][mv_pos][0] + (3 << 24)) / 3 - (1 << 24); in rv34_mc()
675 my = (s->current_picture_ptr->motion_val[dir][mv_pos][1] + (3 << 24)) / 3 - (1 << 24); in rv34_mc()
676 lx = (s->current_picture_ptr->motion_val[dir][mv_pos][0] + (3 << 24)) % 3; in rv34_mc()
677 ly = (s->current_picture_ptr->motion_val[dir][mv_pos][1] + (3 << 24)) % 3; in rv34_mc()
678 chroma_mx = s->current_picture_ptr->motion_val[dir][mv_pos][0] / 2; in rv34_mc()
679 chroma_my = s->current_picture_ptr->motion_val[dir][mv_pos][1] / 2; in rv34_mc()
686 mx = s->current_picture_ptr->motion_val[dir][mv_pos][0] >> 2; in rv34_mc()
687 my = s->current_picture_ptr->motion_val[dir][mv_pos][1] >> 2; in rv34_mc()
688 lx = s->current_picture_ptr->motion_val[dir][mv_pos][0] & 3; in rv34_mc()
689 ly = s->current_picture_ptr->motion_val[dir][mv_pos][1] & 3; in rv34_mc()
690 cx = s->current_picture_ptr->motion_val[dir][mv_pos][0] / 2; in rv34_mc()
691 cy = s->current_picture_ptr->motion_val[dir][mv_pos][1] / 2; in rv34_mc()
872 …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()
876 …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()
888 …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()
889 …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()
895 …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()
900 …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()
1168 int16_t (*motion_val)[2] = &s->current_picture_ptr->motion_val[0][midx]; in rv34_set_deblock_coef()
1211 r->avail_cache[9] = s->current_picture_ptr->mb_type[mb_pos - 1]; in rv34_decode_inter_macroblock()
1214 r->avail_cache[3] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride]; in rv34_decode_inter_macroblock()
1216 r->avail_cache[4] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride + 1]; in rv34_decode_inter_macroblock()
1218 r->avail_cache[1] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride - 1]; in rv34_decode_inter_macroblock()
1225 s->current_picture_ptr->qscale_table[mb_pos] = s->qscale; in rv34_decode_inter_macroblock()
1230 if (IS_INTRA(s->current_picture_ptr->mb_type[mb_pos])){ in rv34_decode_inter_macroblock()
1313 r->avail_cache[9] = s->current_picture_ptr->mb_type[mb_pos - 1]; in rv34_decode_intra_macroblock()
1316 r->avail_cache[3] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride]; in rv34_decode_intra_macroblock()
1318 r->avail_cache[4] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride + 1]; in rv34_decode_intra_macroblock()
1320 r->avail_cache[1] = s->current_picture_ptr->mb_type[mb_pos - s->mb_stride - 1]; in rv34_decode_intra_macroblock()
1327 s->current_picture_ptr->qscale_table[mb_pos] = s->qscale; in rv34_decode_intra_macroblock()
1468 ff_thread_report_progress(&s->current_picture_ptr->tf, in rv34_decode_slice()
1577 ff_thread_report_progress(&s->current_picture_ptr->tf, INT_MAX, 0); in finish_frame()
1580 if ((ret = av_frame_ref(pict, s->current_picture_ptr->f)) < 0) in finish_frame()
1582 ff_print_debug_info(s, s->current_picture_ptr, pict); in finish_frame()
1583 ff_mpv_export_qp_table(s, pict, s->current_picture_ptr, FF_QSCALE_TYPE_MPEG1); in finish_frame()
1668 if (s->mb_num_left > 0 && s->current_picture_ptr) { in ff_rv34_decode_frame()
1791 if (s->current_picture_ptr) { in ff_rv34_decode_frame()
1808 ff_thread_report_progress(&s->current_picture_ptr->tf, INT_MAX, 0); in ff_rv34_decode_frame()