| 99 | } |
| 100 | |
| 101 | bool CompareImage (uint8_t* pSrc0, uint8_t* pSrc1, int32_t iSize) { |
| 102 | for (int32_t n = 0; n < iSize; n++) { |
| 103 | if (pSrc0[n] != pSrc1[n]) { |
| 104 | return false; |
| 105 | } |
| 106 | |
| 107 | } |
| 108 | return true; |
| 109 | } |
| 110 | |
| 111 | TEST (ExpandPicture, ExpandPictureLuma) { |
| 112 | SExpandPicFunc sExpandPicFunc; |