lavc/svq3: stop including h264dec.h

The only thing that is actually used directly from there is the
PART_NOT_AVAILABLE constant, which can be moved to h264pred.h.

Otherwise it only depends on other indirectly included headers.
This commit is contained in:
Anton Khirnov 2022-01-24 18:00:14 +01:00 committed by Andreas Rheinhardt
parent 359912f0df
commit d0f0d61392
3 changed files with 6 additions and 2 deletions

View File

@ -387,7 +387,6 @@ typedef struct H264Context {
uint8_t (*non_zero_count)[48]; uint8_t (*non_zero_count)[48];
#define LIST_NOT_USED -1 // FIXME rename? #define LIST_NOT_USED -1 // FIXME rename?
#define PART_NOT_AVAILABLE -2
/** /**
* block_offset[ 0..23] for frame macroblocks * block_offset[ 0..23] for frame macroblocks

View File

@ -86,6 +86,8 @@
#define DC_129_PRED8x8 8 #define DC_129_PRED8x8 8
//@} //@}
#define PART_NOT_AVAILABLE -2
/** /**
* Context for storing H.264 prediction functions * Context for storing H.264 prediction functions
*/ */

View File

@ -49,13 +49,16 @@
#include "internal.h" #include "internal.h"
#include "avcodec.h" #include "avcodec.h"
#include "mpegutils.h" #include "mpegutils.h"
#include "h264dec.h"
#include "h264data.h" #include "h264data.h"
#include "h264dsp.h"
#include "h264pred.h"
#include "h264_parse.h"
#include "golomb.h" #include "golomb.h"
#include "hpeldsp.h" #include "hpeldsp.h"
#include "mathops.h" #include "mathops.h"
#include "rectangle.h" #include "rectangle.h"
#include "tpeldsp.h" #include "tpeldsp.h"
#include "videodsp.h"
#if CONFIG_ZLIB #if CONFIG_ZLIB
#include <zlib.h> #include <zlib.h>