• 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 refs:mb_type

488 static int svq3_decode_mb(SVQ3Context *s, unsigned int mb_type)
502 if (mb_type == 0) { /* SKIP */
504 s->next_pic->mb_type[mb_xy] == -1) {
512 mb_type = MB_TYPE_SKIP;
514 mb_type = FFMIN(s->next_pic->mb_type[mb_xy], 6);
515 if (svq3_mc_dir(s, mb_type, PREDICT_MODE, 0, 0) < 0)
517 if (svq3_mc_dir(s, mb_type, PREDICT_MODE, 1, 1) < 0)
520 mb_type = MB_TYPE_16x16;
522 } else if (mb_type < 8) { /* INTER */
581 if (svq3_mc_dir(s, mb_type - 1, mode, 0, 0) < 0)
584 if (mb_type != 2) {
592 if (mb_type != 1) {
593 if (svq3_mc_dir(s, 0, mode, 1, mb_type == 3) < 0)
602 mb_type = MB_TYPE_16x16;
603 } else if (mb_type == 8 || mb_type == 33) { /* INTRA4x4 */
606 if (mb_type == 8) {
644 } else { /* mb_type == 33, DC_128_PRED block type */
651 if (mb_type == 8) {
664 mb_type = MB_TYPE_INTRA4x4;
666 dir = i_mb_type_info[mb_type - 8].pred_mode;
674 cbp = i_mb_type_info[mb_type - 8].cbp;
675 mb_type = MB_TYPE_INTRA16x16;
678 if (!IS_INTER(mb_type) && h->pict_type != AV_PICTURE_TYPE_I) {
688 if (!IS_INTRA4x4(mb_type)) {
691 if (!IS_SKIP(mb_type) || h->pict_type == AV_PICTURE_TYPE_B) {
695 if (!IS_INTRA16x16(mb_type) &&
696 (!IS_SKIP(mb_type) || h->pict_type == AV_PICTURE_TYPE_B)) {
702 cbp = IS_INTRA(mb_type) ? golomb_to_intra4x4_cbp[vlc]
705 if (IS_INTRA16x16(mb_type) ||
714 if (IS_INTRA16x16(mb_type)) {
725 const int index = IS_INTRA16x16(mb_type) ? 1 : 0;
726 const int type = ((h->qscale < 24 && IS_INTRA4x4(mb_type)) ? 2 : 1);
770 h->cur_pic.mb_type[mb_xy] = mb_type;
772 if (IS_INTRA(mb_type))
1087 pic->mb_type = (uint32_t*)pic->mb_type_buf->data + 2 * h->mb_stride + 1;
1274 unsigned mb_type;
1289 mb_type = svq3_get_ue_golomb(&h->gb);
1292 mb_type += 8;
1293 else if (h->pict_type == AV_PICTURE_TYPE_B && mb_type >= 4)
1294 mb_type += 4;
1295 if (mb_type > 33 || svq3_decode_mb(s, mb_type)) {
1301 if (mb_type != 0 || h->cbp)
1305 h->cur_pic.mb_type[h->mb_x + h->mb_y * h->mb_stride] =
1306 (h->pict_type == AV_PICTURE_TYPE_P && mb_type < 8) ? (mb_type - 1) : -1;