forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media-libs/kvazaar: backport upstream patch to fix build on ppc, bug …
…#589688 Package-Manager: portage-2.3.0
- Loading branch information
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
commit 99e37ec23532a247b9e306ef87e9879385c625d8 | ||
Author: Ari Lemmetti <[email protected]> | ||
Date: Sat Jan 30 19:33:09 2016 +0200 | ||
|
||
Update old pixel type to the current one | ||
|
||
diff --git a/src/strategies/altivec/picture-altivec.c b/src/strategies/altivec/picture-altivec.c | ||
index 7c9d1fb..28e86e8 100644 | ||
--- a/src/strategies/altivec/picture-altivec.c | ||
+++ b/src/strategies/altivec/picture-altivec.c | ||
@@ -28,7 +28,7 @@ | ||
#include <stdlib.h> | ||
|
||
|
||
-static unsigned reg_sad_altivec(const pixel * const data1, const pixel * const data2, | ||
+static unsigned reg_sad_altivec(const kvz_pixel * const data1, const kvz_pixel * const data2, | ||
const int width, const int height, const unsigned stride1, const unsigned stride2) | ||
{ | ||
vector unsigned int vsad = {0,0,0,0}, vzero = {0,0,0,0}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters