| 8 | using namespace WelsEnc; |
| 9 | |
| 10 | TEST (GetIntraPredictorTest, TestGetI4x4LumaPredV) { |
| 11 | uint8_t* pPred = new uint8_t[64]; |
| 12 | uint8_t* pRef = new uint8_t[64]; |
| 13 | for (int i = 0; i < 64; i++) |
| 14 | pRef[i] = rand() % 256; |
| 15 | |
| 16 | const int32_t kkiStride = 0; |
| 17 | WelsI4x4LumaPredV_c (pPred, pRef, kkiStride); |
| 18 | |
| 19 | for (int i = 0; i < 4; i++) |
| 20 | EXPECT_EQ (LD32 (&pPred[4 * i]), LD32 (&pRef[-kkiStride])); |
| 21 | |
| 22 | delete []pRef; |
| 23 | delete []pPred; |
| 24 | } |
| 25 | |
| 26 | TEST (GetIntraPredictorTest, TestGetI4x4LumaPredH) { |
| 27 | const int32_t kiStride = rand() % 256 + 16; |
no test coverage detected