diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2019-03-24 12:23:38 +0100 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2019-03-24 12:23:38 +0100 |
commit | cc07a449bd92fe67283a166cf55d3c645e89ccd9 (patch) | |
tree | 6f768e084e116c9cc43a21b0364db094366aa2c4 /media-video/projectx/files/projectx-0.91.0.10-idctfast.patch | |
parent | media-video/projectx: Revision bump to projectx-0.91.0.10-r2. (diff) | |
download | gentoo-cc07a449bd92fe67283a166cf55d3c645e89ccd9.tar.gz gentoo-cc07a449bd92fe67283a166cf55d3c645e89ccd9.tar.bz2 gentoo-cc07a449bd92fe67283a166cf55d3c645e89ccd9.zip |
media-video/projectx: Add missing patches.
Signed-off-by: Daniel Pielmeier <billie@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
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++) |