Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dmpeg12enc.c804 (s->pict_type == AV_PICTURE_TYPE_B && s->mv_dir == s->last_mv_dir && in mpeg1_encode_mb_internal()
805 (((s->mv_dir & MV_DIR_FORWARD) in mpeg1_encode_mb_internal()
808 ((s->mv_dir & MV_DIR_BACKWARD) in mpeg1_encode_mb_internal()
947 if (s->mv_dir == MV_DIR_FORWARD) in mpeg1_encode_mb_internal()
950 put_mb_modes(s, 8 - s->mv_dir, 2, 1, 0); in mpeg1_encode_mb_internal()
953 put_mb_modes(s, 5 - s->mv_dir, 3, 1, 0); in mpeg1_encode_mb_internal()
956 put_bits(&s->pb, 5 - s->mv_dir, 2); in mpeg1_encode_mb_internal()
962 if (s->mv_dir & MV_DIR_FORWARD) { in mpeg1_encode_mb_internal()
974 if (s->mv_dir & MV_DIR_BACKWARD) { in mpeg1_encode_mb_internal()
991 if (s->mv_dir == MV_DIR_FORWARD) in mpeg1_encode_mb_internal()
[all …]
Dmpeg_er.c62 static void mpeg_er_decode_mb(void *opaque, int ref, int mv_dir, int mv_type, in mpeg_er_decode_mb() argument
68 s->mv_dir = mv_dir; in mpeg_er_decode_mb()
Dmpegvideo_enc.c2063 if (s->dquant & 1 || s->mv_dir & MV_DIRECT) in encode_mb_internal()
2175 if (s->mv_dir & MV_DIR_FORWARD) { in encode_mb_internal()
2182 if (s->mv_dir & MV_DIR_BACKWARD) { in encode_mb_internal()
2473 d->mv_dir= s->mv_dir; in copy_context_after_encode()
2976 s->mv_dir = MV_DIR_FORWARD; in encode_thread()
2985 s->mv_dir = MV_DIR_FORWARD; in encode_thread()
2997 s->mv_dir = MV_DIR_FORWARD; in encode_thread()
3006 s->mv_dir = MV_DIR_FORWARD; in encode_thread()
3017 s->mv_dir = MV_DIR_FORWARD; in encode_thread()
3026 s->mv_dir = MV_DIR_BACKWARD; in encode_thread()
[all …]
Dmpeg4videoenc.c498 int mb_type = mb_type_table[s->mv_dir]; in ff_mpeg4_encode_mb()
519 s->mv_dir = MV_DIR_FORWARD; // doesn't matter in ff_mpeg4_encode_mb()
567 av_assert2(s->mv_dir & MV_DIRECT); in ff_mpeg4_encode_mb()
572 if (s->mv_dir & MV_DIR_FORWARD) { in ff_mpeg4_encode_mb()
582 if (s->mv_dir & MV_DIR_BACKWARD) { in ff_mpeg4_encode_mb()
593 if (s->mv_dir & MV_DIR_FORWARD) { in ff_mpeg4_encode_mb()
597 if (s->mv_dir & MV_DIR_BACKWARD) { in ff_mpeg4_encode_mb()
601 if (s->mv_dir & MV_DIR_FORWARD) { in ff_mpeg4_encode_mb()
611 if (s->mv_dir & MV_DIR_BACKWARD) { in ff_mpeg4_encode_mb()
Derror_resilience.h86 void (*decode_mb)(void *opaque, int ref, int mv_dir, int mv_type,
Dmpegvideo_xvmc.c218 if (s->mv_dir & MV_DIR_FORWARD) { in ff_xvmc_decode_mb()
226 if (s->mv_dir & MV_DIR_BACKWARD) { in ff_xvmc_decode_mb()
Derror_resilience.c443 … int mv_dir = (s->last_pic.f && s->last_pic.f->data[0]) ? MV_DIR_FORWARD : MV_DIR_BACKWARD; in guess_mv() local
452 s->decode_mb(s->opaque, 0, mv_dir, MV_TYPE_16X16, &s->mv, in guess_mv()
1149 const int mv_dir = dir ? MV_DIR_BACKWARD : MV_DIR_FORWARD; in ff_er_frame_end() local
1176 mv_dir, mv_type, &s->mv, mb_x, mb_y, 0, 0); in ff_er_frame_end()
1187 int mv_dir = MV_DIR_FORWARD | MV_DIR_BACKWARD; in ff_er_frame_end() local
1199 mv_dir &= ~MV_DIR_FORWARD; in ff_er_frame_end()
1201 mv_dir &= ~MV_DIR_BACKWARD; in ff_er_frame_end()
1221 s->decode_mb(s->opaque, 0, mv_dir, MV_TYPE_16X16, &s->mv, in ff_er_frame_end()
Dituh263dec.c803 s->mv_dir = MV_DIR_FORWARD; in ff_h263_decode_mb()
841 s->mv_dir = MV_DIR_FORWARD; in ff_h263_decode_mb()
946 s->mv_dir = MV_DIR_FORWARD | MV_DIR_BACKWARD | MV_DIRECT; in ff_h263_decode_mb()
949 s->mv_dir = 0; in ff_h263_decode_mb()
955 s->mv_dir = MV_DIR_FORWARD; in ff_h263_decode_mb()
982 s->mv_dir |= MV_DIR_BACKWARD; in ff_h263_decode_mb()
Dmsmpeg4dec.c120 s->mv_dir = MV_DIR_FORWARD; in msmpeg4v12_decode_mb()
170 s->mv_dir = MV_DIR_FORWARD; in msmpeg4v12_decode_mb()
225 s->mv_dir = MV_DIR_FORWARD; in msmpeg4v34_decode_mb()
265 s->mv_dir = MV_DIR_FORWARD; in msmpeg4v34_decode_mb()
Dh261dec.c222 s->mv_dir = MV_DIR_FORWARD; in h261_decode_mb_skipped()
454 s->mv_dir = MV_DIR_FORWARD; in h261_decode_mb()
Dmpeg4videodec.c1412 s->mv_dir = MV_DIR_FORWARD; in mpeg4_decode_partitioned_mb()
1427 s->mv_dir = MV_DIR_FORWARD; in mpeg4_decode_partitioned_mb()
1490 s->mv_dir = MV_DIR_FORWARD; in mpeg4_decode_mb()
1546 s->mv_dir = MV_DIR_FORWARD; in mpeg4_decode_mb()
1644 s->mv_dir = MV_DIR_FORWARD; in mpeg4_decode_mb()
1700 s->mv_dir = 0; in mpeg4_decode_mb()
1705 s->mv_dir = MV_DIR_FORWARD; in mpeg4_decode_mb()
1718 s->mv_dir |= MV_DIR_BACKWARD; in mpeg4_decode_mb()
1733 s->mv_dir = MV_DIR_FORWARD; in mpeg4_decode_mb()
1745 s->mv_dir |= MV_DIR_BACKWARD; in mpeg4_decode_mb()
[all …]
Dmpegvideo.c1482 if (s->mv_dir & MV_DIR_FORWARD) { in mpv_reconstruct_mb_internal()
1487 if (s->mv_dir & MV_DIR_BACKWARD) { in mpv_reconstruct_mb_internal()
1497 if (s->mv_dir & MV_DIR_FORWARD) { in mpv_reconstruct_mb_internal()
1501 if (s->mv_dir & MV_DIR_BACKWARD) { in mpv_reconstruct_mb_internal()
1511 if (s->mv_dir & MV_DIR_FORWARD) { in mpv_reconstruct_mb_internal()
1516 if (s->mv_dir & MV_DIR_BACKWARD) { in mpv_reconstruct_mb_internal()
Dwmv2dec.c464 s->mv_dir = MV_DIR_FORWARD; in ff_wmv2_decode_mb()
519 s->mv_dir = MV_DIR_FORWARD; in ff_wmv2_decode_mb()
Dmpegvideo.h241 int mv_dir; member
Drv10.c537 s->mv_dir = MV_DIR_FORWARD; in rv10_decode_packet()
Dh263dec.c268 s->mv_dir = MV_DIR_FORWARD; in decode_slice()
Dmpeg12dec.c799 s->mv_dir = MV_DIR_FORWARD; in mpeg_decode_mb()
836 s->mv_dir = (mb_type >> 13) & 3; in mpeg_decode_mb()
1933 s->mv_dir = MV_DIR_FORWARD; in mpeg_decode_slice()
Dh264dec.c63 static void h264_er_decode_mb(void *opaque, int ref, int mv_dir, int mv_type, in h264_er_decode_mb() argument