mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-10-19 18:03:17 +00:00
avcodec/mpegutils.h: Move DELAYED_PIC_REF macro to h264dec.h
It is only used by the H.264 decoder (as well as the dirac decoder, which already uses a local copy). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
629259bdb5
commit
32ce3b7168
2 changed files with 5 additions and 6 deletions
|
@ -138,6 +138,11 @@ typedef struct H264Picture {
|
||||||
int mbaff; ///< 1 -> MBAFF frame 0-> not MBAFF
|
int mbaff; ///< 1 -> MBAFF frame 0-> not MBAFF
|
||||||
int field_picture; ///< whether or not picture was encoded in separate fields
|
int field_picture; ///< whether or not picture was encoded in separate fields
|
||||||
|
|
||||||
|
/**
|
||||||
|
* H264Picture.reference has this flag set,
|
||||||
|
* when the picture is held for delayed output.
|
||||||
|
*/
|
||||||
|
#define DELAYED_PIC_REF (1 << 2)
|
||||||
int reference;
|
int reference;
|
||||||
int recovered; ///< picture at IDR or recovery point + recovery count
|
int recovered; ///< picture at IDR or recovery point + recovery count
|
||||||
int invalid_gap;
|
int invalid_gap;
|
||||||
|
|
|
@ -37,12 +37,6 @@
|
||||||
#define PICT_BOTTOM_FIELD 2
|
#define PICT_BOTTOM_FIELD 2
|
||||||
#define PICT_FRAME 3
|
#define PICT_FRAME 3
|
||||||
|
|
||||||
/**
|
|
||||||
* Value of Picture.reference when Picture is not a reference picture, but
|
|
||||||
* is held for delayed output.
|
|
||||||
*/
|
|
||||||
#define DELAYED_PIC_REF 4
|
|
||||||
|
|
||||||
#define MAX_MB_BYTES (30 * 16 * 16 * 3 / 8 + 120)
|
#define MAX_MB_BYTES (30 * 16 * 16 * 3 / 8 + 120)
|
||||||
#define MAX_FCODE 7
|
#define MAX_FCODE 7
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue