summaryrefslogtreecommitdiff
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorJeff Downs <heydowns@borg.com>2007-10-06 05:59:14 +0000
committerAndreas Ă–man <andreas@lonelycoder.com>2007-10-06 05:59:14 +0000
commitf3e53d9fcd4016d1d8d220464c4262e5f4cb79a5 (patch)
treeab0e54d71298009094e082420417011de9acb4b8 /libavcodec/h264.h
parent949da388de0a349d194197cefce2492d89550576 (diff)
Modifies macroblock addressing and current macroblock y-position for field decoding.
Adds convenience definition for pictures that are field or mbaff based. Part of PAFF implementation. patch by Jeff Downs, heydowns a borg d com original thread: Subject: [FFmpeg-devel] [PATCH] Implement PAFF in H.264 Date: 18/09/07 20:30 Originally committed as revision 10672 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 1c9d4e4c1e..43c356760f 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -68,6 +68,7 @@
#undef IS_INTERLACED
#define IS_INTERLACED(mb_type) 0
#endif
+#define FIELD_OR_MBAFF_PICTURE (FRAME_MBAFF || FIELD_PICTURE)
/**
* Sequence parameter set