/third_party/ffmpeg/libavcodec/ |
D | mpeg12enc.c | 804 (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 …]
|
D | mpeg_er.c | 62 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()
|
D | mpegvideo_enc.c | 2063 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 …]
|
D | mpeg4videoenc.c | 498 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()
|
D | error_resilience.h | 86 void (*decode_mb)(void *opaque, int ref, int mv_dir, int mv_type,
|
D | mpegvideo_xvmc.c | 218 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()
|
D | error_resilience.c | 443 … 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()
|
D | ituh263dec.c | 803 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()
|
D | msmpeg4dec.c | 120 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()
|
D | h261dec.c | 222 s->mv_dir = MV_DIR_FORWARD; in h261_decode_mb_skipped() 454 s->mv_dir = MV_DIR_FORWARD; in h261_decode_mb()
|
D | mpeg4videodec.c | 1412 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 …]
|
D | mpegvideo.c | 1482 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()
|
D | wmv2dec.c | 464 s->mv_dir = MV_DIR_FORWARD; in ff_wmv2_decode_mb() 519 s->mv_dir = MV_DIR_FORWARD; in ff_wmv2_decode_mb()
|
D | mpegvideo.h | 241 int mv_dir; member
|
D | rv10.c | 537 s->mv_dir = MV_DIR_FORWARD; in rv10_decode_packet()
|
D | h263dec.c | 268 s->mv_dir = MV_DIR_FORWARD; in decode_slice()
|
D | mpeg12dec.c | 799 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()
|
D | h264dec.c | 63 static void h264_er_decode_mb(void *opaque, int ref, int mv_dir, int mv_type, in h264_er_decode_mb() argument
|