• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching defs:mb_xy

388         const int mb_xy = s->mb_index2xy[i];
390 int error = s->error_status_table[mb_xy];
392 if (IS_INTRA(s->cur_pic.mb_type[mb_xy]))
397 fixed[mb_xy] = f;
401 const int mb_y= mb_xy / s->mb_stride;
402 const int mb_x= mb_xy % s->mb_stride;
406 s->cur_pic.ref_index[0][4*mb_xy] = s->last_pic.ref_index[0][4*mb_xy];
414 const int mb_xy = mb_x + mb_y * s->mb_stride;
417 if (IS_INTRA(s->cur_pic.mb_type[mb_xy]))
419 if (!(s->error_status_table[mb_xy] & ER_MV_ERROR))
443 const int mb_xy = mb_x + mb_y * s->mb_stride;
456 if (fixed[mb_xy] == MV_FROZEN)
458 av_assert1(!IS_INTRA(s->cur_pic.mb_type[mb_xy]));
462 if (mb_x > 0 && fixed[mb_xy - 1] == MV_FROZEN)
464 if (mb_x + 1 < mb_width && fixed[mb_xy + 1] == MV_FROZEN)
466 if (mb_y > 0 && fixed[mb_xy - mb_stride] == MV_FROZEN)
468 if (mb_y + 1 < mb_height && fixed[mb_xy + mb_stride] == MV_FROZEN)
474 if (mb_x > 0 && fixed[mb_xy - 1 ] == MV_CHANGED)
476 if (mb_x + 1 < mb_width && fixed[mb_xy + 1 ] == MV_CHANGED)
478 if (mb_y > 0 && fixed[mb_xy - mb_stride] == MV_CHANGED)
480 if (mb_y + 1 < mb_height && fixed[mb_xy + mb_stride] == MV_CHANGED)
487 if (mb_x > 0 && fixed[mb_xy - 1]) {
493 s->cur_pic.ref_index[0][4 * (mb_xy - 1)];
496 if (mb_x + 1 < mb_width && fixed[mb_xy + 1]) {
502 s->cur_pic.ref_index[0][4 * (mb_xy + 1)];
505 if (mb_y > 0 && fixed[mb_xy - mb_stride]) {
511 s->cur_pic.ref_index[0][4 * (mb_xy - s->mb_stride)];
514 if (mb_y + 1<mb_height && fixed[mb_xy + mb_stride]) {
520 s->cur_pic.ref_index[0][4 * (mb_xy + s->mb_stride)];
574 if (!fixed[mb_xy] && 0) {
586 prev_ref = s->last_pic.ref_index[0][4 * mb_xy];
590 prev_ref = s->cur_pic.ref_index[0][4 * mb_xy];
619 if (mb_x > 0 && fixed[mb_xy - 1]) {
625 if (mb_x + 1 < mb_width && fixed[mb_xy + 1]) {
631 if (mb_y > 0 && fixed[mb_xy - mb_stride]) {
636 if (mb_y + 1 < mb_height && fixed[mb_xy + mb_stride]) {
663 fixed[mb_xy] = MV_CHANGED;
666 fixed[mb_xy] = MV_UNCHANGED;
675 int mb_xy = s->mb_index2xy[i];
676 if (fixed[mb_xy])
677 fixed[mb_xy] = MV_FROZEN;
694 const int mb_xy = s->mb_index2xy[i];
695 const int error = s->error_status_table[mb_xy];
719 const int mb_xy = mb_x + mb_y * s->mb_stride;
721 error = s->error_status_table[mb_xy];
749 if (IS_INTRA(s->cur_pic.mb_type[mb_xy]))
949 const int mb_xy = s->mb_index2xy[i];
950 int error = s->error_status_table[mb_xy];
958 s->error_status_table[mb_xy] |= 1 << error_type;
971 const int mb_xy = s->mb_index2xy[i];
972 int error = s->error_status_table[mb_xy];
982 s->error_status_table[mb_xy]|= ER_AC_ERROR;
995 const int mb_xy = s->mb_index2xy[i];
996 int error1 = s->error_status_table[mb_xy];
1011 s->error_status_table[mb_xy] |= ER_MB_ERROR;
1020 const int mb_xy = s->mb_index2xy[i];
1021 int error = s->error_status_table[mb_xy];
1023 if (!s->mbskip_table[mb_xy]) // FIXME partition specific
1030 s->error_status_table[mb_xy] |= 1 << error_type;
1033 s->error_status_table[mb_xy] |= 1 << error_type;
1045 const int mb_xy = s->mb_index2xy[i];
1046 int old_error = s->error_status_table[mb_xy];
1052 s->error_status_table[mb_xy] |= error;
1059 const int mb_xy = s->mb_index2xy[i];
1060 error = s->error_status_table[mb_xy];
1063 s->error_status_table[mb_xy] = error;
1070 const int mb_xy = s->mb_index2xy[i];
1071 error = s->error_status_table[mb_xy];
1086 const int mb_xy = s->mb_index2xy[i];
1087 error = s->error_status_table[mb_xy];
1092 s->cur_pic.mb_type[mb_xy] = MB_TYPE_INTRA4x4;
1094 s->cur_pic.mb_type[mb_xy] = MB_TYPE_16x16 | MB_TYPE_L0;
1101 const int mb_xy = s->mb_index2xy[i];
1102 if (!IS_INTRA(s->cur_pic.mb_type[mb_xy]))
1103 s->cur_pic.mb_type[mb_xy] = MB_TYPE_INTRA4x4;
1109 const int mb_xy = mb_x + mb_y * s->mb_stride;
1110 const int mb_type = s->cur_pic.mb_type[mb_xy];
1115 error = s->error_status_table[mb_xy];
1148 const int mb_xy = mb_x + mb_y * s->mb_stride;
1149 const int mb_type = s->cur_pic.mb_type[mb_xy];
1152 error = s->error_status_table[mb_xy];
1200 const int mb_xy = mb_x + mb_y * s->mb_stride;
1201 const int mb_type = s->cur_pic.mb_type[mb_xy];
1203 error = s->error_status_table[mb_xy];
1253 const int mb_xy = mb_x + mb_y * s->mb_stride;
1254 const int mb_type = s->cur_pic.mb_type[mb_xy];
1256 error = s->error_status_table[mb_xy];
1293 const int mb_xy = s->mb_index2xy[i];
1294 int error = s->error_status_table[mb_xy];
1298 s->mbskip_table[mb_xy] = 0;
1300 s->mbintra_table[mb_xy] = 1;