History

Change pfSampleAveraging to be a single function with internal width handling

This makes it match the behaviour of pMcLumaFunc and pMcChromaFunc.

Martin Storsjö committed 11 years ago

Commit 9a9fc4c1 parent 1127aa74 files · +52 −23Browse files

Showing the changes to test/encoder/EncUT_MotionCompensation.cpp (1 of 4 files). Show all

Unified · Split

test/encoder/EncUT_MotionCompensation.cpp+2−2
@@ -40,8 +40,8 @@ TEST (EncMcAvg, PixelAvg) { · 39 unmodified lines
4040 }
4141 PixelAvgAnchor (uDstAnchor[0], MC_BUFF_DST_STRIDE, uSrc1[0], MC_BUFF_SRC_STRIDE, uSrc2[0], MC_BUFF_SRC_STRIDE, width,
4242 height);
43− sMcFunc.pfSampleAveraging[w] (uDstTest[0], MC_BUFF_DST_STRIDE, uSrc1[0], MC_BUFF_SRC_STRIDE, uSrc2[0],
44− MC_BUFF_SRC_STRIDE, height);
43+ sMcFunc.pfSampleAveraging (uDstTest[0], MC_BUFF_DST_STRIDE, uSrc1[0], MC_BUFF_SRC_STRIDE, uSrc2[0],
44+ MC_BUFF_SRC_STRIDE, width, height);
4545 for (int32_t j = 0; j < height; j++) {
4646 for (int32_t i = 0; i < width; i++) {
4747 ASSERT_EQ (uDstAnchor[j][i], uDstTest[j][i]);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t