lavc/h264dec.h: Move MMCOOpcode to h264_parse.h

Both parser and decoder use it, so h264_parse is the proper place
for it.
This commit is contained in:
Anton Khirnov 2022-01-24 18:00:04 +01:00 committed by Andreas Rheinhardt
parent b05cebe602
commit 5484c502db
2 changed files with 13 additions and 13 deletions

View File

@ -27,6 +27,19 @@
#include "get_bits.h"
#include "h264_ps.h"
/**
* Memory management control operation opcode.
*/
typedef enum MMCOOpcode {
MMCO_END = 0,
MMCO_SHORT2UNUSED,
MMCO_LONG2UNUSED,
MMCO_SHORT2LONG,
MMCO_SET_MAX_LONG,
MMCO_RESET,
MMCO_LONG,
} MMCOOpcode;
typedef struct H264PredWeightTable {
int use_weight;
int use_weight_chroma;

View File

@ -102,19 +102,6 @@
#define IS_REF0(a) ((a) & MB_TYPE_REF0)
#define IS_8x8DCT(a) ((a) & MB_TYPE_8x8DCT)
/**
* Memory management control operation opcode.
*/
typedef enum MMCOOpcode {
MMCO_END = 0,
MMCO_SHORT2UNUSED,
MMCO_LONG2UNUSED,
MMCO_SHORT2LONG,
MMCO_SET_MAX_LONG,
MMCO_RESET,
MMCO_LONG,
} MMCOOpcode;
/**
* Memory management control operation.
*/