Remove dependencies on the decoder internals in unit test for the common library
This commit is contained in:
parent
4f237b51ef
commit
e4a278620b
2
Makefile
2
Makefile
@ -125,7 +125,7 @@ DECODER_UNITTEST_INCLUDES += $(CODEC_UNITTEST_INCLUDES) $(DECODER_INCLUDES)
|
||||
ENCODER_UNITTEST_INCLUDES += $(CODEC_UNITTEST_INCLUDES) $(ENCODER_INCLUDES)
|
||||
PROCESSING_UNITTEST_INCLUDES += $(CODEC_UNITTEST_INCLUDES) $(PROCESSING_INCLUDES)
|
||||
API_TEST_INCLUDES += $(CODEC_UNITTEST_INCLUDES)
|
||||
COMMON_UNITTEST_INCLUDES += $(CODEC_UNITTEST_INCLUDES) $(DECODER_INCLUDES)
|
||||
COMMON_UNITTEST_INCLUDES += $(CODEC_UNITTEST_INCLUDES)
|
||||
MODULE_INCLUDES += -I$(SRC_PATH)gmp-api
|
||||
|
||||
DECODER_UNITTEST_CFLAGS += $(CODEC_UNITTEST_CFLAGS)
|
||||
|
@ -2,14 +2,16 @@
|
||||
#include "codec_def.h"
|
||||
#include "expand_pic.h"
|
||||
#include "memory_align.h"
|
||||
#include "decoder_context.h"
|
||||
#include "cpu.h"
|
||||
#include "cpu_core.h"
|
||||
#include "macros.h"
|
||||
#include "wels_const_common.h"
|
||||
|
||||
#define EXPAND_PIC_TEST_NUM 10
|
||||
#define H264_PADDING_LENGTH_LUMA (PADDING_LENGTH)
|
||||
#define H264_PADDING_LENGTH_CHROMA (PADDING_LENGTH>>1)
|
||||
|
||||
using namespace WelsDec;
|
||||
using namespace WelsCommon;
|
||||
|
||||
void H264ExpandPictureLumaAnchor_c (uint8_t* pDst, int32_t iStride, int32_t iPicWidth, int32_t iPicHeight) {
|
||||
uint8_t* pTmp = pDst;
|
||||
|
Loading…
x
Reference in New Issue
Block a user