shithub: openh264

ref: bb21b62cbddca3598dadb68344677f557c22ea89
dir: /test/decoder/DecUT_MotionCompensation.cpp/

View raw version
#include <gtest/gtest.h>
#include "codec_def.h"
#include "mc.h"
#include "cpu.h"
using namespace WelsDec;

#define LUMA_FUNC sMcFunc.pMcLumaFunc

#define CHROMA_FUNC sMcFunc.pMcChromaFunc

#include "mc_test_common.h"

DEF_MCCOPYTEST (, 2, 2)
DEF_MCCOPYTEST (, 2, 4)
DEF_MCCOPYTEST (, 4, 2)
DEF_MCCOPYTEST (, 4, 4)
DEF_MCCOPYTEST (, 4, 8)
DEF_MCCOPYTEST (, 8, 4)
DEF_MCCOPYTEST (, 8, 8)
DEF_MCCOPYTEST (, 16, 8)
DEF_MCCOPYTEST (, 8, 16)
DEF_MCCOPYTEST (, 16, 16)

DEF_LUMA_MCTEST (, 4, 4)
DEF_LUMA_MCTEST (, 4, 8)
DEF_LUMA_MCTEST (, 8, 4)
DEF_LUMA_MCTEST (, 8, 8)
DEF_LUMA_MCTEST (, 16, 8)
DEF_LUMA_MCTEST (, 8, 16)
DEF_LUMA_MCTEST (, 16, 16)

DEF_CHROMA_MCTEST (, 2, 2)
DEF_CHROMA_MCTEST (, 2, 4)
DEF_CHROMA_MCTEST (, 4, 2)
DEF_CHROMA_MCTEST (, 4, 4)
DEF_CHROMA_MCTEST (, 4, 8)
DEF_CHROMA_MCTEST (, 8, 4)
DEF_CHROMA_MCTEST (, 8, 8)