diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
commit | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch) | |
tree | c85d72f6f31f21f178069c9d41d41a7c1ff4b362 /media-video/projectx/files/projectx-0.91.0.10-idctfast.patch | |
parent | 0706fc6986773f4e4d391deff4ad5143c464ea4e (diff) |
gentoo resync : 05.04.2019
Diffstat (limited to 'media-video/projectx/files/projectx-0.91.0.10-idctfast.patch')
-rw-r--r-- | media-video/projectx/files/projectx-0.91.0.10-idctfast.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-video/projectx/files/projectx-0.91.0.10-idctfast.patch b/media-video/projectx/files/projectx-0.91.0.10-idctfast.patch new file mode 100644 index 000000000000..84b7893c835f --- /dev/null +++ b/media-video/projectx/files/projectx-0.91.0.10-idctfast.patch @@ -0,0 +1,37 @@ +--- Project-X/src/net/sourceforge/dvb/projectx/video/MpvDecoder.java 2009-12-31 15:24:13.000000000 +0100 ++++ Project-X/src/net/sourceforge/dvb/projectx/video/MpvDecoder.java 2010-07-31 14:32:19.945223425 +0200 +@@ -72,7 +72,7 @@ + + public class MpvDecoder extends Object { + +- private IDCTRefNative idct; ++ private IDCTFast idct; + private IDCTSseNative idctsse; + + private int preview_horizontal_size = 512; +@@ -134,13 +134,13 @@ + { + Arrays.fill(pixels2, 0xFF505050); + +- idct = new IDCTRefNative(); ++ idct = new IDCTFast(); + idctsse = new IDCTSseNative(); + +- if (IDCTRefNative.isLibraryLoaded()) ++ if (IDCTFast.isLibraryLoaded()) + idct.init(); + +- if (IDCTRefNative.isLibraryLoaded() || IDCTSseNative.isLibraryLoaded()) ++ if (IDCTFast.isLibraryLoaded() || IDCTSseNative.isLibraryLoaded()) + acceleration = true; + } + +@@ -2407,7 +2407,7 @@ + } + } + +- else if (IDCTRefNative.isLibraryLoaded() && isAccelerated()) ++ else if (IDCTFast.isLibraryLoaded() && isAccelerated()) + { + /* copy or add block data into picture */ + for (comp=0; comp<block_count; comp++) |